Skip to content

Fix skiplinkcheck #638

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

Merged
merged 1 commit into from
Feb 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions build_docs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,8 @@ sub check_args {
die('--rely_on_ssh_auth not compatible with --doc') if $Opts->{rely_on_ssh_auth};
die('--rebuild not compatible with --doc') if $Opts->{rebuild};
die('--no_fetch not compatible with --doc') if $Opts->{no_fetch};
die('--skiplinkcheck not compatible with --doc') if $Opts->{skiplinkcheck};
die('--linkcheckonly not compatible with --doc') if $Opts->{linkcheckonly};
} else {
die('--single not compatible with --all') if $Opts->{single};
die('--pdf not compatible with --all') if $Opts->{pdf};
Expand All @@ -718,8 +720,6 @@ sub check_args {
die('--lenient not compatible with --all') if $Opts->{lenient};
# Lang will be 'en' even if it isn't specified so we don't check it.
die('--resource not compatible with --all') if $Opts->{resource};
die('--skiplinkcheck not compatible with --all') if $Opts->{skiplinkcheck};
die('--linkcheckonly not compatible with --all') if $Opts->{linkcheckonly};
die('--asciidoctor not compatible with --all') if $Opts->{asciidoctor};
}
}
Expand All @@ -744,8 +744,6 @@ sub usage {
--lenient Ignore linking errors
--lang Defaults to 'en'
--resource Path to image dir - may be repeated
--skiplinkcheck Omit the step that checks for broken links
--linkcheckonly Skips the documentation builds. Checks links only.
--asciidoctor Use asciidoctor instead of asciidoc.

WARNING: Anything in the `out` dir will be deleted!
Expand All @@ -759,6 +757,8 @@ sub usage {
--push Commit the updated docs and push to origin
--user Specify which GitHub user to use, if not your own
--reference Directory of `--mirror` clones to use as a local cache
--skiplinkcheck Omit the step that checks for broken links
--linkcheckonly Skips the documentation builds. Checks links only.
--rely_on_ssh_auth
noop
--rebuild Rebuild all branches of every book regardless of what has changed
Expand Down