2.0.0a1
Pre-release
Pre-release
Release Summary
Pre-release of new major 2.0.0 release.
Major Changes
- Change pyproject build backend from
poetry-core
tohatchling
.pip install antsibull-docs
works exactly the same as before, but some users may be affected depending on how they build/install the project (#115).
Minor Changes
- Allow to use the currently installed ansible-core version for the
devel
andstable
subcommands (#121). - Ansibull-docs now no longer depends directly on
sh
(#122). - Now depends antsibull-core 2.0.0 or newer; antsibull-core 1.x.y is no longer supported (#122).
- Remove residual compatability code for Python 3.6 and 3.7 (https://github.com/ansible-community/antsibull-docs/pulls/70).
- Support a per-collection docs config file
docs/docsite/config.yml
. It is also linted by thelint-collection-docs
subcommand (#134). - The antsibull-docs requirement in the
requirements.txt
file created by the sphinx-init subcommand now has version range>= 2.0.0, < 3.0.0
(#126). - The dependency
antsibull-docs-parser <https://github.com/ansible-community/antsibull-docs-parser>
__ has been added and is used for processing Ansible markup (#124).
Breaking Changes / Porting Guide
- Disable flatmapping for all collections except community.general < 6.0.0 and community.network < 5.0.0. You can enable flatmapping for your collection by setting
flatmap: true
indocs/docsite/config.yml
(#134). - Drop support for Python 3.6, 3.7, and 3.8 (#115)."
- No longer removes
PYTHONPATH
from the environment when callingansible
,ansible-galaxy
, oransible-doc
outside a self-created venv (#121). - No longer supports Ansible 2.9, ansible-base 2.10, and ansible-core 2.11 and 2.12. The minimum required ansible-core version is 2.13. This allows for simpler and more efficient docs parsing and information retrieval (#120).
- The
ansible-doc
andansible-internal
values fordoc_parsing_backend
in the configuration file have been removed. Change the value toauto
for best compatibility (#120).
Bugfixes
- Use
doc_parsing_backend
from the application context instead of the library context. This prevents removal ofdoc_parsing_backend
from the antsibull-core library context (#125).