Skip to content
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

Open
aliceinwire opened this issue Nov 20, 2024 · 8 comments
Open

navbar hide text on docsy 0.11.0 #2130

aliceinwire opened this issue Nov 20, 2024 · 8 comments
Labels
bug Something isn't working needs-triage

Comments

@aliceinwire
Copy link

aliceinwire commented Nov 20, 2024

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

@aliceinwire aliceinwire added bug Something isn't working needs-triage labels Nov 20, 2024
@chalin
Copy link
Collaborator

chalin commented Nov 20, 2024

Hi. Was this working before 0.11.0?

@aliceinwire
Copy link
Author

sorry, I have no idea as this is my first time using hugo and docsy.
maybe I can try downgrading it

@aliceinwire
Copy link
Author

looks same on 0.10.0

@aliceinwire
Copy link
Author

tested with docsy 0.11.0 0.10.0
hugo version is 0.137.1
font-awesome 6.7.0
bootstrap v5.3.3

@aliceinwire aliceinwire changed the title havbar hide text on docsy 0.11.0 navbar hide text on docsy 0.11.0 Nov 20, 2024
@aliceinwire
Copy link
Author

aliceinwire commented Nov 20, 2024

removing "position:fixed" theoretically fix this
not sure of how to do it without changing the layout files
would be nice to have it working out of the box or in alternative configurable by hugo.toml

currently fixed like this
https://github.com/aliceinwire/kci-dev/blob/51122eaf0b245baf989f663e213615086a8e3429/.github/workflows/docs.yml#L51

hope you can suggest a better solution

@chalin
Copy link
Collaborator

chalin commented Nov 21, 2024

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 🙌🏻

@aliceinwire
Copy link
Author

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.
What I'm doing, is trying to rendering it also standalone from the kci-dev repository.
That is making the docs/ md files on the kci-dev repository, loaded by both the kci-dev docsy/hugo and the kernelci.org docsy/hugo system, added as a submodule.
by this PR kernelci/kernelci-project#487

@aliceinwire
Copy link
Author

Welcome then, if this is the first time using Hugo and Docsy!

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants