Book-links in secondary navigation #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: GLAREAN-Doku/mkdocs-library#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is not much use for having links to the subbooks in the primary navigation because that's essentially the same structure you can have with one MkDocs book. However, it can be useful for dependent customized styling, somewhat cleaner coding of the navigation structure (not inside a main
mkdocs.ymlfile), and the possibility of splitting work in separate repositories (contributor privileges).However, not having the sibling books linked at all (having to go through the main book page to access the other subbooks is not practical and - more important - somewhat confusing.
One solution that makes sense when Material's (?)
tabsoption is used is to add the sibling links to the secondary navigation (the left column), like so:I'd say this should be done by modifying the
link_to_siblingsoption by understanding more options:falsetop(current behaviour: insert as top-level navigation)secondary_firstsecondary_last