-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Docs: check that exports are documented, with check for regression/improvement #55267
base: master
Are you sure you want to change the base?
Conversation
e604ebf
to
955006b
Compare
X-ref: JuliaDocs/Documenter.jl#1506 |
Documenter reports all of these for
|
Tracking issue #19529 |
Reopening with |
8defce8
to
b3d7f06
Compare
Now checks if the number increases or reduces with appropriate messages for each |
b3d7f06
to
c5aa86a
Compare
eebe2b9
to
7a59bd7
Compare
|
||
# Check that we're not regressing in missing docs, but only check on PRs so that master builds can still pass | ||
# Only check on Linux 64-bit because the number is platform-dependent | ||
if !in("deploy", ARGS) && Sys.islinux() && Sys.WORD_SIZE == 64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe only check the online manual build?
if !in("deploy", ARGS) && Sys.islinux() && Sys.WORD_SIZE == 64 | |
if in("deploy", ARGS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then PRs would be green and master commits red, and the docs not deployed. We want the opposite
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also run the doctest
CI job on PRs though?
You're right about it breaking the deployment on master though. Is there maybe a Buildkite env variable we can check to see if it's a PR or not?
@mortenpi and I were talking about
checkdocs = :public
being the right option, but that does not exist yet.