-
Notifications
You must be signed in to change notification settings - Fork 911
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
navbar hide text on docsy 0.11.0 #2130
Comments
Hi. Was this working before 0.11.0? |
sorry, I have no idea as this is my first time using hugo and docsy. |
looks same on 0.10.0 |
tested with docsy 0.11.0 0.10.0 |
removing "position:fixed" theoretically fix this currently fixed like this hope you can suggest a better solution |
Welcome then, if this is the first time using Hugo and Docsy! 👋🏻 No need to downgrade :), I was just wondering if the issue had arisen only in 0.11.0. It is probably because of the "only-docs" use case you have. I'll take another look as soon as I can, but that might not be for a while. I'm glad that you've found a fix 🙌🏻 |
The "only-docs" use case is caused by the main https://docs.kernelci.org repository that is also using docsy and it will link to my docs only folder with the KernelCI own layout. |
Thanks :) |
You can work around this issue by adding a file
which overrides the default behaviour. But then again, only use this if you're exclusively using single page content. If you're using Also see my issue #2139 which is apparently a duplicate of this one. Edit: Also keep in mind this does not work well with |
The least 'hacky' solution I can think of is to define a new layout, e.g.
->
and to add This does not break other pages that use the |
docsy by default hide text on the current content with the navbar on version 0.11.0
https://aliceinwire.github.io/kci-dev/
my current solution is to add
tags, but the markdown content under docs/ is actually used for the main KernelCI website.
There is a way for doing the same thing under the hugo.toml settings or better a more elegant solution changing only the hugo.toml settings ?
The code is here:
https://github.com/kernelci/kci-dev/blob/main/hugo.toml
https://github.com/kernelci/kci-dev/blob/main/.github/workflows/docs.yml
https://github.com/kernelci/kci-dev/tree/main/docs
thanks
The text was updated successfully, but these errors were encountered: