-
-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the sidebar navigation definition for the website to this repo #717
Comments
@ghys can i help you with this somehow already? |
@ghys (after a cleanup of the docs repo) why is a element-wise list needed? Can't you just import he whole repo... |
Actually I indended to do it while building the "preview" VuePress site we talked about, and put that into the resulting ".vuepress" folder - basically it's just a matter of copying https://github.com/openhab/website/blob/743f0b867e4d26a5a6a3116a12f6344295ef25d6/.vuepress/config.js#L177-L307 into a .js file and
Ordering the sidebar links and controlling the title of certain entries which might differ from the title of the pages themselves - and generally staying in control :). This config is only for building the sidebar, basically it's the equivalent of https://github.com/openhab/openhab-docs/blob/gh-pages/_includes/user-menu.html |
I see. |
Hey @ghys if i am right this issue should have been solved by you some time ago correct? We could close it then. |
yep! |
Instead of having to modify the website's config when e.g. a new page is added to the navigation, define it in a file in this repo and import it in the config during the website's build (like it's done for the add-ons except the file isn't generated but copied).
The text was updated successfully, but these errors were encountered: