Skip to content

docs: require docs on all public APIs#2588

Merged
davidhewitt merged 1 commit intoPyO3:mainfrom
davidhewitt:require-docs
Sep 7, 2022
Merged

docs: require docs on all public APIs#2588
davidhewitt merged 1 commit intoPyO3:mainfrom
davidhewitt:require-docs

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

Adds #![warn(missing_docs)] to PyO3's lib.rs which is sufficient to warn during development and block during CI (thanks to --deny=warnings.

After #2587 merges there's only about 20 or so public APIs which need documentation, so I'll finish this off once that merges.

Closes #306

@davidhewitt davidhewitt force-pushed the require-docs branch 3 times, most recently from 3c2533b to b419fb0 Compare September 6, 2022 18:39
@davidhewitt davidhewitt merged commit 58596ac into PyO3:main Sep 7, 2022
@davidhewitt davidhewitt deleted the require-docs branch September 7, 2022 07:24
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.

Ensure all APIs are documented (#![deny(missing_docs)])

1 participant