We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MkDocs-Nature seems to support section-index natively. Example: https://pawamoy.github.io/markdown/sitemap.html, built from https://github.com/pawamoy/markdown/tree/api-docs. It would be nice if it was detected as a supported theme, to get rid of the warning.
Possible solution (tested, seems to work fine) in rewrites.py:
rewrites.py
if path.endswith("/mkdocs/templates/sitemap.xml"): src = _transform_mkdocs_sitemap_template(src) elif path.endswith("/nature/base.html"): self.found_supported_theme = True return src, filename, uptodate else: ...
Let me know if I should open a PR 🙂
A way to disable the warning would be fine too.
The text was updated successfully, but these errors were encountered:
😯 how did it happen that it supports that?
Sorry, something went wrong.
Great stuff! 👍 That's the way to go when writing a theme
We'll list it for sure
0ee7339
Release in a day probably
No branches or pull requests
MkDocs-Nature seems to support section-index natively. Example: https://pawamoy.github.io/markdown/sitemap.html, built from https://github.com/pawamoy/markdown/tree/api-docs. It would be nice if it was detected as a supported theme, to get rid of the warning.
Possible solution (tested, seems to work fine) in
rewrites.py
:Let me know if I should open a PR 🙂
A way to disable the warning would be fine too.
The text was updated successfully, but these errors were encountered: