Make CI error if a function has no documentation#12938
Merged
alamb merged 1 commit intoapache:mainfrom Oct 25, 2024
Merged
Conversation
Contributor
Author
c8244ac to
a8b4d38
Compare
This was referenced Oct 24, 2024
comphead
reviewed
Oct 25, 2024
| }; | ||
| }?; | ||
|
|
||
| println!("{docs}"); |
Contributor
There was a problem hiding this comment.
Yes. This is how the shell script that builds the .md files retrieves the text. see https://github.com/apache/datafusion/blob/main/dev/update_function_docs.sh for impl.
comphead
approved these changes
Oct 25, 2024
Contributor
Author
|
Bam ! Thank you for the reviews @comphead @Omega359 and @timsaucer -- We are so close to getting the docs all migrated over |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft until we have completely migrated all function documentation. The CI will fail until all currently existing functions are documented
Which issue does this PR close?
Closes #12872
Rationale for this change
The idea here is to ensure that all functions are documented, and ensure this is the case via a CI test.
What changes are included in this PR?
Changes:
make the ./dev/update_function_docs.sh script error if there are undocumented functions
Here is an example failure:
Are these changes tested?
Yes, I tested it manually and here is an example of it failing
Are there any user-facing changes?