tabbed/alternate broken on mkdocs-material #1552
-
Descriptionmkdocs-material>=8.1.3 broke #1417 tab linking & scrolling ( Minimal Reproductionmkdocs config (extra JS & CSS from the docs at https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#linked-tabs & https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/#alternate-style): extra_javascript: [js/extra.js]
extra_css: [css/extra.css]
theme:
name: material
custom_dir: ../../custom_theme/
markdown_extensions:
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true Version(s) & System Info
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Unfortunately, I cannot update the docs so that the generalized example will always work with Material (or any other theme for that matter). Material seems to have a very specific way in which they want to handle their content tabs. I provide some general examples that go in a different direction. When Material doubles down in its approach between releases, it may make it harder for the generalized approach I have outlined to keep working. I am aware that Material changed its style recently and have issued a number of changes in recent commits ensuring this project's approach continues to work, but I have no plans to document as the general working case a hacked up Material specific example. With that said, these are some of the changes I had to make to work around Material's new animated indicator. You are free to take a look. I am happy to discuss such cases in the discussion channel, but I do not consider this a bug in our documentation as the examples are sound and are working, but they cannot account for conflicts in various themes that may approach the tab styling differently. Moved to discussion channel. |
Beta Was this translation helpful? Give feedback.
Unfortunately, I cannot update the docs so that the generalized example will always work with Material (or any other theme for that matter). Material seems to have a very specific way in which they want to handle their content tabs. I provide some general examples that go in a different direction. When Material doubles down in its approach between releases, it may make it harder for the generalized approach I have outlined to keep working.
I am aware that Material changed its style recently and have issued a number of changes in recent commits ensuring this project's approach continues to work, but I have no plans to document as the general working case a hacked up Material specific example.