Skip to content
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

Use Sphinx config to discover directives #1

Open
JulienPalard opened this issue Feb 2, 2022 · 1 comment · May be fixed by #26
Open

Use Sphinx config to discover directives #1

JulienPalard opened this issue Feb 2, 2022 · 1 comment · May be fixed by #26

Comments

@JulienPalard
Copy link
Collaborator

An idea of @jean-abou-samra, see: sphinx-doc/sphinx#10143 (comment)

I like the idea: it should lead to less false positives, which is very important. It could even help spot typos in directive names!

As long as it's still fast to check a single file, so it can be used as a linter in an editor, I don't want rstlint to become slower than make suspicious from cpython, on my machine, for a full cpython/Doc/ check:

  • sphinx-lint takes 5.7s
  • make suspicious takes from 36s to 1m22s (depends on the cache)
@jeanas
Copy link
Contributor

jeanas commented Feb 3, 2022

Not sure if I'll have the time soon, but I'm basically interested in working on this.

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 a pull request may close this issue.

2 participants