You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if you open a sub-document (example: API Gateways), it is not found and highlighted on the menu as expected:
The problem is solved if I add all sub-documents to the menu. However, I don't want to it for three reasons;
It will make filtering the items hard on the "Filter by title" area. Many unrelated items will be found.
It will make the nav tree unnecessarily big, which may cause performance
It has no meaning when I look at the menu manually, because for that kind of documents, details are only important after I open the main document, and it has sub-documents only because it is long.
So, I offer to introduce a new feature to the documentation system: Lazy expandable.
I will give the usage example with the book store tutorial since it has already sub-items on the menu.
I want to change the related part of docs-nav.json file as shown below:
I just added isLazyExpandable to the root document of the tutorial. As a result on the UI, I am expecting the followings:
Do not render sub-items (including the overall) normally.
When I click to the root item (Web Application Development for this example), go to the defined path (tutorials/book-store in this example).
When we are showing a page under that lazy item, render all the sub-times and highlight the matching item on the UI.
Notice that I also added path to the root item, otherwise, you can not make it clickable and we can not know where to go. It is a kind of duplication, yes.
Please consider a lazy item can have items which have sub-items. In that case, visiting a 3-rd level sub-item's page should expand 2-levels up lazy item.
Please consider scenarios where we define lazy items under another lazy item (some kind of recursion).
After doing the feature and updating the abp.io website, please also modify the docs-nav.json to make these lazy:
I don't think this issue will fix the below situation or not, but when somebody finds a doc on google he can not go to the parent of this doc, and cannot see it on the navigation menu.
I didn't add sub-documents of the microservice startup template document to the navigation menu.
If you go to the microservice startup template document document, you can see it is highlighted, but there is no item under it on the menu:
However, if you open a sub-document (example: API Gateways), it is not found and highlighted on the menu as expected:
The problem is solved if I add all sub-documents to the menu. However, I don't want to it for three reasons;
So, I offer to introduce a new feature to the documentation system: Lazy expandable.
I will give the usage example with the book store tutorial since it has already sub-items on the menu.
I want to change the related part of
docs-nav.json
file as shown below:I just added
isLazyExpandable
to the root document of the tutorial. As a result on the UI, I am expecting the followings:Web Application Development
for this example), go to the definedpath
(tutorials/book-store
in this example).path
to the root item, otherwise, you can not make it clickable and we can not know where to go. It is a kind of duplication, yes.The text was updated successfully, but these errors were encountered: