Add API documentation linting to docgen step by cgranade · Pull Request #1045 · microsoft/qsharp-compiler · GitHub
Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Add API documentation linting to docgen step#1045

Draft
cgranade wants to merge 8 commits into
mainfrom
cgranade/doc-linting-rules
Draft

Add API documentation linting to docgen step#1045
cgranade wants to merge 8 commits into
mainfrom
cgranade/doc-linting-rules

Conversation

@cgranade

Copy link
Copy Markdown
Contributor

This draft PR adds new functionality to the docgen step to check for common documentation errors and to expose them to the user. Each linting rule can be turned off, to warning level, or promoted to errors by setting the new <QSharpDocsLintingRules> MSBuild property. My goal with this would be to use the new rules to help improve API documentation in the libraries and runtime repos, with an eventual aim of promoting all docs linting rules to errors.

There's still a lot of code quality things left to be done (esp. adding API documentation to new types in this PR), but I wanted to open this up for early feedback and see if this could be a reasonable direction to help improve our API docs. Thanks!

@cgranade cgranade requested review from bamarsha and bettinaheim May 27, 2021 02:24
@bamarsha

Copy link
Copy Markdown
Contributor

@cgranade

Copy link
Copy Markdown
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants