build_docs: fix incorrect arguments for linkcheck

This commit is contained in:
Marius Vikhammer
2020-07-23 18:42:55 +08:00
parent 4c32c71db9
commit c54e9d9d5c
2 changed files with 3 additions and 2 deletions

View File

@@ -384,12 +384,12 @@ def check_docs(language, target, log_file, known_warnings_file, out_sanitized_lo
def action_linkcheck(args): def action_linkcheck(args):
args.builders = "linkcheck"
return parallel_call(args, call_linkcheck) return parallel_call(args, call_linkcheck)
def call_linkcheck(entry): def call_linkcheck(entry):
# Remove the last entry which the buildername, since the linkcheck builder is not supplied through the builder list argument return sphinx_call(*entry)
return sphinx_call(*entry[:4], buildername="linkcheck")
# https://github.com/espressif/esp-idf/tree/ # https://github.com/espressif/esp-idf/tree/

View File

@@ -10,6 +10,7 @@
when: always when: always
paths: paths:
- docs/_build/*/*/*.txt - docs/_build/*/*/*.txt
- docs/_build/*/*/linkcheck/*.txt
expire_in: 1 week expire_in: 1 week
allow_failure: true allow_failure: true
dependencies: [] dependencies: []