Closed d0ugal closed 4 years ago
My proposed changed in https://github.com/mkdocs/mkdocs-bootswatch/issues/21 automatically fixes this, since they sync bootswatch with the upstream mkdocs theme.
This issue still exists in the PyPi released version. The last version is 0.4.0, released on 2016-03-02, prior to any referenced fixes.
This should be fixed on master, though I'm not totally sure which commit fixed it. Possibly the update to Bootstrap 4?
Oddly, I still have the issue. I'm at bootswatch 1.1 but this page's TOC runs off to the bottom, and the lowest items can only be seen if the page is scrolled at the very bottom. I use the Lumen theme but this works for other Bootswatch themes too. Disabling external JavaScript files doesn't seem to help:
theme:
name: lumen
navigation_depth: 3
hljs_languages:
- scheme
# ...
markdown_extensions:
- toc:
permalink: True
baselevel: 1
- pymdownx.arithmatex:
generic: true
- markdown_del_ins:
Oddly, I still have the issue. I'm at bootswatch 1.1 but this page's TOC runs off to the bottom, and the lowest items can only be seen if the page is scrolled at the very bottom.
That's the "fix"; it's obviously not ideal, but it matches the default mkdocs
theme (I think). Assuming that's correct, it would probably be best to file an issue on the mkdocs repo first, and then port any necessary changes to this one.
Originally reported against MkDocs. https://github.com/mkdocs/mkdocs/issues/204