-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix option links in mkdocs rule pages
In 28c9263 I introduced automatic linkification of option references in rule documentation, which automatically converted the following: ## Options * `namespace-packages` to: ## Options * [`namespace-packages`] [`namespace-packages`]: ../../settings#namespace-packages While the above is a correct CommonMark[1] link definition, what I was missing was that we used mkdocs for our documentation generation, which as it turns out uses a non-CommonMark-compliant Markdown parser, namely Python-Markdown, which contrary to CommonMark doesn't support link definitions containing code tags. This commit fixes the broken links via a regex hack. [1]: https://commonmark.org/
- Loading branch information
1 parent
8609931
commit a77b456
Showing
3 changed files
with
56 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters