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

expand Docs.undocumented_names to include all public symbols #52743

Merged
merged 6 commits into from
Jan 4, 2024

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Jan 4, 2024

Expands the semantics of Docs.undocumented_names to include all public symbols, as described in #52413 (comment)

cc @jariji, @LilithHafner

@stevengj stevengj added the docsystem The documentation building system label Jan 4, 2024
Copy link
Member

@LilithHafner LilithHafner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

base/docs/Docs.jl Outdated Show resolved Hide resolved
stevengj and others added 2 commits January 4, 2024 11:38
Co-authored-by: Lilith Orion Hafner <lilithhafner@gmail.com>
@stevengj stevengj added the status:merge me PR is reviewed. Merge when all tests are passing label Jan 4, 2024
@stevengj
Copy link
Member Author

stevengj commented Jan 4, 2024

Should be good to merge once tests are passing.

@jariji
Copy link
Contributor

jariji commented Jan 4, 2024

Yep

@LilithHafner LilithHafner merged commit 38b8156 into master Jan 4, 2024
5 of 8 checks passed
@LilithHafner LilithHafner deleted the undoc_public branch January 4, 2024 21:44
@LilithHafner LilithHafner removed the status:merge me PR is reviewed. Merge when all tests are passing label Jan 4, 2024
stevengj added a commit that referenced this pull request Jan 14, 2024
Following #52413 by @jariji and the discussion in #51174, this adds
tests to ensure that there are no undocumented *(= lacking docstrings)*
public symbols in any documented module.

Many of the tests are broken — we have a lot of undocumented exports. In
such cases I added both a `@test_broken` and a `@test` to ensure that
there are no additional regressions added in the future.

~~(This PR may have to be updated when
#52413 (comment) is
fixed, i.e. when ~~#52727~~ #52743 is merged.)~~ Has been updated.

---------

Co-authored-by: Lilith Orion Hafner <lilithhafner@gmail.com>
@stevengj stevengj mentioned this pull request Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docsystem The documentation building system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants