-
Notifications
You must be signed in to change notification settings - Fork 344
[DOCS] Added --skiplinkcheck parameter #261
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
Conversation
I'd pull the push out of the nolinkcheck if/else, other than that LGTM. |
Good suggestion, @debadair, done! |
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.
Two niggles, otherwise LGTM
build_docs.pl
Outdated
check_links($build_dir); | ||
} | ||
push_changes($build_dir) | ||
if $Opts->{push}; |
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.
niggle - indent the if
line
build_docs.pl
Outdated
@@ -51,7 +51,7 @@ BEGIN | |||
$Opts, # | |||
'all', 'push', 'update!', # | |||
'single', 'pdf', 'doc=s', 'out=s', 'toc', 'chunk=i', | |||
'open', 'staging', 'procs=i', 'user=s', 'lang=s', | |||
'open', 'nolinkcheck', 'staging', 'procs=i', 'user=s', 'lang=s', |
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.
let's call it skiplinkcheck
instead of nolinkcheck
Related to #249
This PR adds the --nolinkcheck parameter, which skips the step that checks links at the end of a --all build. For example, you can use it as follows:
This is required for when a broken link is preventing us from successfully publishing the documentation in a time-critical situation.
The expectation is that any broken links would be fixed as soon as possible and link checking would be resumed immediately thereafter.