-
I'm trying to use mkdocs to display a body of Markdown documentation that already exists. Unfortunately, some of the pages are I tried to solve it by installing the caseinsensitive plugin (https://github.com/TheMythologist/mkdocs-caseinsensitive-plugin), but when I try I've tried a fresh build, but I can't get it to work. I've looked for other solutions, and found #212, but it's not clear from that what I should actually do or whether it will solve my specific problem. Do you have any suggestions? Thanks for any help you can give. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I'm getting the same error. The next step here is to either ask on their repository why this doesn't work, or investigate ourselves. The documentation in their README might be wrong/outdated. I actually don't see any entry for a MkDocs plugin in their project metadata: https://github.com/TheMythologist/mkdocs-caseinsensitive-plugin/blob/main/pyproject.toml. About #212, I'd recommend the solution mentioned by @waylan, see #212 (comment), with the slugify function provided by pymdownx, see for the complete solution: https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#+toc.slugify (maybe do not set |
Beta Was this translation helpful? Give feedback.
-
@kamilkrzyskow , thank you for looking into @pawamoy, thank you as well. The links and hints were enough to get things working. For posterity, the
I found the syntax on https://facelessuser.github.io/pymdown-extensions/faq/#function-references-in-yaml, which was linked from your suggested page of https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/#+toc.slugify I'm not sure I'll stick with Thank you both very much. |
Beta Was this translation helpful? Give feedback.
@kamilkrzyskow , thank you for looking into
caseinsensitiveplugin
; that got the site to build but it did some odd things with links (changed[PageTitle](relative link)
to just the absolute link as plain text in the file). But it builds!@pawamoy, thank you as well. The links and hints were enough to get things working. For posterity, the
mkdocs.yml
that builds contains:I found the syntax on https://facelessuser.github.io/pymdown-extensions/faq/#function-references-in-yaml, which was linked from your suggested page of https://squidfunk.github.io/mkdocs-material/setup/extensions…