Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ansible/ansible.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2020-08-03 21:15:25 +0300
committerToshio Kuratomi <a.badger@gmail.com>2020-08-14 23:01:29 +0300
commit22d2c97b81ff7243be8290868d2df5bf400f9bfb (patch)
tree5476e10811fb29b893b8d97bd507db8eabfc0c06 /hacking
parente507c127e58791755d207b46f6c829dacd7ad55c (diff)
Updates to docs build for new antsibull CLI
* --ansible-base-cache renamed to --ansible-base-source * _acd_version in the .deps file has been renamed to _ansible_version
Diffstat (limited to 'hacking')
-rw-r--r--hacking/build_library/build_ansible/command_plugins/docs_build.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/hacking/build_library/build_ansible/command_plugins/docs_build.py b/hacking/build_library/build_ansible/command_plugins/docs_build.py
index 355f8cbf273..21b09b03963 100644
--- a/hacking/build_library/build_ansible/command_plugins/docs_build.py
+++ b/hacking/build_library/build_ansible/command_plugins/docs_build.py
@@ -44,8 +44,8 @@ def generate_base_docs(args):
#
modified_deps_file = os.path.join(tmp_dir, 'ansible.deps')
- # The _acd_version doesn't matter
- deps_file_contents = {'_acd_version': ansible_base__version__,
+ # The _ansible_version doesn't matter since we're only building docs for base
+ deps_file_contents = {'_ansible_version': ansible_base__version__,
'_ansible_base_version': ansible_base__version__}
with open(modified_deps_file, 'w') as f:
@@ -53,7 +53,7 @@ def generate_base_docs(args):
# Generate the plugin rst
return antsibull_docs.run(['antsibull-docs', 'stable', '--deps-file', modified_deps_file,
- '--ansible-base-cache', str(args.top_dir),
+ '--ansible-base-source', str(args.top_dir),
'--dest-dir', args.output_dir])
# If we make this more than just a driver for antsibull:
@@ -112,7 +112,7 @@ def generate_full_docs(args):
# Generate the plugin rst
return antsibull_docs.run(['antsibull-docs', 'stable', '--deps-file', modified_deps_file,
- '--ansible-base-cache', str(args.top_dir),
+ '--ansible-base-source', str(args.top_dir),
'--dest-dir', args.output_dir])
# If we make this more than just a driver for antsibull: