-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Maximum of 20 tabs in annotator docs #1729
Comments
@SkalskiP I also investigate this issue, in mkdocs-material and it is indeed 20 tab is hard limit Related issue: squidfunk/mkdocs-material#6665 He clearly indicate that 20 is limit and show codes too. And for passing this limit it require custom build and of course patch those numbers and build it. For fixing this issue, we can split annotators tab ("Content Tab" is name of the tab in mkdocs-material) or we can think something else as well. Reference Document: https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#content-tabs |
@onuralpszr, it looks like we won't be able to do anything about it? |
I don't know else we can do, that's all come to my mind. |
I was browsing through this issue and given that the constraints in squidfunk/mkdocs-material#6665 are external and beyond the degree of control of It could be a good idea to look at breaking this into categories and use nested tabs. It will require enabling the SuperFences extension, if not already enabled. To illustrate what I mean, the current tabs could be categorized in the below fashion. There could be lesser top level categories too – I just went semantically more exhaustive.
|
Search before asking
Bug
I recently discovered that when you have more than 20 tabs in our docs, it doesn't render the content beyond the 20th. The tab icon is visible, yet the content is not.
At present this is only relevant in the annotators page where the code and preview image is displayed at the top.
The bug is currently visible on the latest docs page - the
BackgroundColor
tab shows no contents. I have thoroughly tested it while adding theComparisonAnnotator
(#001f85ad), and in that case, the last 2 annotator content blocks don't show up. Lastly, if I reorder the tabs, once again - the final two don't show up.I skimmed our code and the code of https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#syntax-tab-1, but couldn't find an issue. At this point, I'm not sure where it could be.
Environment
pip freeze
:Minimal Reproducible Example
Additional
Docs can be run after installing the repo with
poetry install --with-dev
and runningmkdocs serve
.Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: