From c54e9d9d5cfccf6c0af2c9aeb4e4e119eb9ba7e7 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Thu, 23 Jul 2020 18:42:55 +0800 Subject: [PATCH] build_docs: fix incorrect arguments for linkcheck --- docs/build_docs.py | 4 ++-- tools/ci/config/post_deploy.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/build_docs.py b/docs/build_docs.py index 2a449ae38a..cdab828a71 100755 --- a/docs/build_docs.py +++ b/docs/build_docs.py @@ -384,12 +384,12 @@ def check_docs(language, target, log_file, known_warnings_file, out_sanitized_lo def action_linkcheck(args): + args.builders = "linkcheck" return parallel_call(args, call_linkcheck) 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[:4], buildername="linkcheck") + return sphinx_call(*entry) # https://github.com/espressif/esp-idf/tree/ diff --git a/tools/ci/config/post_deploy.yml b/tools/ci/config/post_deploy.yml index 782be335d1..e35c823c1d 100644 --- a/tools/ci/config/post_deploy.yml +++ b/tools/ci/config/post_deploy.yml @@ -10,6 +10,7 @@ when: always paths: - docs/_build/*/*/*.txt + - docs/_build/*/*/linkcheck/*.txt expire_in: 1 week allow_failure: true dependencies: []