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

feat(docs): add validation of xrefs to docfx command #6658

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bshaffer
Copy link
Contributor

@bshaffer bshaffer commented Sep 25, 2023

Adds a validate method to the docs generation, which throws an error when it encounters broken or invalid xref references.

The check will fail for any improperly formatted references, and if it can't find the class, it will fail for handwritten classes and GAPIC clients, but only output warnings for broken references in protobuf messages. This is because there are too many broken references in protobuf for us to even begin to fix them all. We will want to fix these in the protos themselves eventually (or at least file bugs for the API teams to fix them)

Also updates to the latest phpdoc.

@bshaffer bshaffer marked this pull request as ready for review May 3, 2024 20:31
@bshaffer bshaffer requested review from a team as code owners May 3, 2024 20:31
@bshaffer bshaffer added the next release PRs to be included in the next release label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next release PRs to be included in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant