telerik / docs-seed

Telerik Documentation Infrastructure
https://docs.telerik.com
Apache License 2.0
7 stars 21 forks source link

All Breadcumb "Component" links go to AutoComplete component #92

Open marin-bratanov opened 4 years ago

marin-bratanov commented 4 years ago

Describe the bug

In the Blazor docs, the breadcumb "Component" links always go to the AutoComplete component instead of the current component or to the introduction article.

To Reproduce

Steps to reproduce the behavior:

  1. Go to any docs page, such as https://docs.telerik.com/blazor-ui/components/grid/editing/inline
  2. Click on "Component" in the breadcumb (or at least hover it)

Actual: We go to the AutoComplete component

Expected behavior

Either we go to the Introduction article, or nowhere, or to the Overview of the current component.

Screenshots

autocomplete-link-from-component-in-breadcumb

Desktop (please complete the following information):

Smartphone (please complete the following information):

imtodor commented 4 years ago

The idea is that the link leads to the first article under that section. E.g. when you click on the TabStrip -the behavior is the same. This is caused, because the parent items (in the treeview) haven't content, but only children.

marin-bratanov commented 4 years ago

If I understand you correclty, we must add an "overview" article in the "Components" folder so this works? We don't have that anywhere in the docs, all such folders usually contain only folders.

Would it work out if I add a "List" article after the folders and put there the component list https://github.com/telerik/blazor-docs/blob/master/introduction.md#list-of-components