Przeglądaj źródła

build_docs: fix incorrect arguments for linkcheck

Marius Vikhammer 5 lat temu
rodzic
commit
c54e9d9d5c
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 2 2
      docs/build_docs.py
  2. 1 0
      tools/ci/config/post_deploy.yml

+ 2 - 2
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/

+ 1 - 0
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: []