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

doc(FAQ): How to lint? #792

Open
buhtz opened this issue May 7, 2024 · 1 comment
Open

doc(FAQ): How to lint? #792

buhtz opened this issue May 7, 2024 · 1 comment
Milestone

Comments

@buhtz
Copy link
Contributor

buhtz commented May 7, 2024

I am a bit confused about all the different documentation styles. Beside "google" and "epydoc", etc there is also PEP257.

I wonder if you can recommend a doc-style linter and if it matters which one of the pydoctor-supported docu formats I am using. e.g. I decided to use "google" style.

@tristanlatr
Copy link
Contributor

tristanlatr commented May 7, 2024

The state of python docstrings standard is pretty bad: no one agrees on a standard.
I believe pydoctor should have a lint mode integrated to the CLI. When activated, it won't produce any HTML, only parse all docstrings and generate docstrings stans to warn on link not founds errors and other parsing errors.

@tristanlatr tristanlatr added this to the 2024 cleanup milestone Sep 11, 2024
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

No branches or pull requests

2 participants