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
I have multiple mdbooks now that are all independent, is there a way for mdbook to support a navigation (on the top or somewhere) that I can have(or host) multiple books co-exist in one site?
something like the attached screenshot:
The text was updated successfully, but these errors were encountered:
You can edit theme/index.hbs and add whatever you like within the <body> tag. Adding new content before the <nav> tag will result in something being added to the top of the generated HTML pages.
Of course this means when you upgrade mdbook, you may have to upgrade your book's custom theme/index.hbs file as well. The original file is formatted very nicely, so it should be fairly simple to flag your changes within the file, so you can make the same changes when the new version's index.hbs file comes out. As an example, see this file lines 108-119.
Also, be careful about whether your new content should be included or not when the book is printed.
I have multiple mdbooks now that are all independent, is there a way for mdbook to support a navigation (on the top or somewhere) that I can have(or host) multiple books co-exist in one site?
something like the attached screenshot:
The text was updated successfully, but these errors were encountered: