8000 Fix: Decrase anchor validation treeprocessor prioriy by joapuiib · Pull Request #3945 · mkdocs/mkdocs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix: Decrase anchor validation treeprocessor prioriy #3945

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

joapuiib
Copy link

Resolves #3690

(...) the suggested solution is to decrease the treeprocessor processor priority to 3.9:

md.treeprocessors.register(self, "mkdocs_extract_anchors", priority=5) # Same as 'toc'.

Copy link
Collaborator
@pawamoy pawamoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! More than just tests passing, we should also look out for regressions by building a few projects with this change, asserting there's no issue. I'll do that myself anyway, but you can also do it.

Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>
@joapuiib < 8000 /div>
Copy link
Author

I've tested it with one of my sites that was giving the anchor validation false positive, and it seems that it works with no issues.

However, it might be better if you test it as well, just in case 😅

@byrnereese
Copy link

Nudge. I would love to see this fix get merged. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Anchor validation false positives after upgrading to 1.6
3 participants
0