-
Couldn't load subscription status.
- Fork 20
mkdocs: Fix numbered code annotations #684
New issue
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: Fix numbered code annotations #684
Conversation
|
Sadly, it seems like numbered annotations are not officially supported anymore, so let's see how this evolve. If they break again I guess we are better off avoid its use, unless we can have a CSS guru to look into it. |
There was a regression introduced in `mkdocs-material` that broke how numbered annotations were rendered. See this issue for details: squidfunk/mkdocs-material#6042 This commit adds a style to make them look reasonably well again. Signed-off-by: Leandro Lucarella <[email protected]>
Now that scripts were moved to `docs/_scripts` the `labeler.yml` file must be updated too. Signed-off-by: Leandro Lucarella <[email protected]>
d6195b9
ae518cb to
d6195b9
Compare
|
I updated the PR to have all this in the CSS comment, so if future us see this breaks, we would have more context to decide what to do. |
There was a regression introduced in
mkdocs-materialthat broke how numbered annotations were rendered. See this issue for details:This commit adds a style to make them look reasonably well again.
This also fix the labeler configuration to properly label scripts in the
docs/directory.