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
fharper opened this issue
Aug 12, 2024
· 2 comments
Labels
P2 - NeedIt's needed, but not require for using our product. Great to have for a better user experience.wrongSome information in the documentation is wrong
In all documentation page where there is a GitHub/GitLab tab with the same header (the content structure of those are usually the same), Docusaurus display the two headers on the right side of the page, and not the one only visible. That wouldn't be such an issue if Docusaurus was able to display the right tab if you click on the header of the unfocussed one (we could have giving them specific name), but it's not. So it doesn't look good, and it's not totally functionnal.
tabs-output.mp4
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
fharper
added
wrong
Some information in the documentation is wrong
P2 - Need
It's needed, but not require for using our product. Great to have for a better user experience.
labels
Aug 19, 2024
So there is no way to prevent this as Docusaurus isn't dynamically creating the TOC at runtime. The "solution" is to either
remove the headers from tabs (which would go against why we use them—to deduplicate content),
use HTML tags for headers inside the tabs so Docusaurus won't use them in the TOC.
remove the right side TOC entirely.
Option one is going against why we use tabs, which is to minimize duplicated content. Option two make the TOC working differently depending on the situation, so not ideal: it will also be a PITA to remember to use HTML element vs Markdown for headers when inside a tab. Option three is the most clean in terms of keeping the same experience everywhere, but it will remove a TOC that may be useful for the users to find the content, so really not the best option here.
It's not that critical as an issue, but it doesn't look professional as the TOC is something that should be quite simple to manage. In addition to that, the TOC item only work for the content displayed in the actual select tabs. Let's say I selected the GitHub tab, like in the screenshot from the initial issue comment, if I click on the first Application the browser will move to the proper anchor. If I click on the second Application, which is the one from the GitLab tab, if GitHub is selected, it will do nothing, caused the header is not visible. So it become non-useful.
Really not sure what to do here (option #2 seem the most "appropriate"), so thinking out loud if anyone has any ideas or preferences.
P2 - NeedIt's needed, but not require for using our product. Great to have for a better user experience.wrongSome information in the documentation is wrong
What type of suggestions?
Something's not working
What page is concerned?
https://docs.kubefirst.io/aws/overview
What version of the docs?
2.4+
What is the issue?
In all documentation page where there is a GitHub/GitLab tab with the same header (the content structure of those are usually the same), Docusaurus display the two headers on the right side of the page, and not the one only visible. That wouldn't be such an issue if Docusaurus was able to display the right tab if you click on the header of the unfocussed one (we could have giving them specific name), but it's not. So it doesn't look good, and it's not totally functionnal.
tabs-output.mp4
Code of Conduct
The text was updated successfully, but these errors were encountered: