Skip to content

Do not validate that all parameters have documentation#2963

Merged
bnbarham merged 1 commit intoswiftlang:mainfrom
ahoppen:disable-parameter-validation
Feb 18, 2025
Merged

Do not validate that all parameters have documentation#2963
bnbarham merged 1 commit intoswiftlang:mainfrom
ahoppen:disable-parameter-validation

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented Feb 10, 2025

In particular, not all members of syntax nodes have documentation and it is not realistic to add meaningful documentation to all of them in the near future.

Fixes #2961

@ahoppen ahoppen requested a review from bnbarham as a code owner February 10, 2025 17:09
@ahoppen
Copy link
Member Author

ahoppen commented Feb 10, 2025

@swift-ci Please test

In particular, not all members of syntax nodes have documentation and it is not realistic to add meaningful documentation to all of them in the near future.
@ahoppen ahoppen force-pushed the disable-parameter-validation branch from 69c7abe to f7644b5 Compare February 10, 2025 22:01
@ahoppen
Copy link
Member Author

ahoppen commented Feb 10, 2025

@swift-ci Please test

@bnbarham bnbarham merged commit 3eedb6d into swiftlang:main Feb 18, 2025
1 of 2 checks passed
ahoppen added a commit to ahoppen/github-workflows that referenced this pull request Mar 6, 2025
We need to pass `--disable-parameters-and-returns-validation` to docc validation for swift-syntax because we don’t want to add documentation for all parameters either (see swiftlang/swift-syntax#2963).
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.

Error: An error was encountered while compiling documentation

2 participants