Open aliceinwire opened 2 days ago
Hi. Was this working before 0.11.0?
sorry, I have no idea as this is my first time using hugo and docsy. maybe I can try downgrading it
looks same on 0.10.0
tested with docsy 0.11.0 0.10.0 hugo version is 0.137.1 font-awesome 6.7.0 bootstrap v5.3.3
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
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. 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 https://github.com/kernelci/kernelci-project/pull/487
Welcome then, if this is the first time using Hugo and Docsy!
Thanks :)
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