Replace antsibull with antsibull-docs (#77504)

pull/77619/head
Felix Fontein 3 years ago committed by GitHub
parent d06d99cbb6
commit 841bdb74eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@
# test/sanity/code-smell/docs-build.requirements.txt
# test/sanity/code-smell/rstcheck.requirements.txt
antsibull == 0.42.0
antsibull-docs == 1.0.0
# sphinx 4.2.0 requires docutils < 0.18
docutils == 0.17.1
jinja2 == 3.0.3

@ -3,7 +3,7 @@
# if you want known good versions of these dependencies
# use known_good_reqs.txt instead
antsibull >= 0.42.0
antsibull-docs >= 1.0.0, < 2.0.0
docutils
jinja2
pygments >= 2.10.0

@ -13,7 +13,7 @@ import pathlib
import yaml
from ansible.module_utils.six import string_types
from ansible.module_utils._text import to_bytes
from antsibull.jinja2.environment import doc_environment
from antsibull_docs.jinja2.environment import doc_environment
# Pylint doesn't understand Python3 namespace modules.
from ..change_detection import update_file_if_different # pylint: disable=relative-beyond-top-level

@ -102,7 +102,7 @@ def find_latest_deps_file(build_data_working, ansible_version):
def generate_base_docs(args):
"""Regenerate the documentation for all plugins listed in the plugin_to_collection_file."""
# imports here so that they don't cause unnecessary deps for all of the plugins
from antsibull.cli import antsibull_docs
from antsibull_docs.cli import antsibull_docs
with TemporaryDirectory() as tmp_dir:
#
@ -135,7 +135,7 @@ def generate_full_docs(args):
"""Regenerate the documentation for all plugins listed in the plugin_to_collection_file."""
# imports here so that they don't cause unnecessary deps for all of the plugins
import sh
from antsibull.cli import antsibull_docs
from antsibull_docs.cli import antsibull_docs
with TemporaryDirectory() as tmp_dir:
sh.git(['clone', 'https://github.com/ansible-community/ansible-build-data'], _cwd=tmp_dir)

@ -5,4 +5,4 @@ sphinx == 4.2.0
sphinx-notfound-page
sphinx-ansible-theme
straight.plugin
antsibull
antsibull-docs

@ -4,8 +4,8 @@ aiohttp==3.8.0
aiosignal==1.2.0
alabaster==0.7.12
ansible-pygments==0.1.0
antsibull==0.42.0
antsibull-changelog==0.14.0
antsibull-core==1.0.0
antsibull-docs==1.0.0
async-timeout==4.0.1
asyncio-pool==0.5.2
attrs==21.2.0

Loading…
Cancel
Save