ansible-community / antsibull-docs

Tooling for building Ansible documentation
https://ansible.readthedocs.io/projects/antsibull-docs/
GNU General Public License v3.0
29 stars 17 forks source link

Add `--cleanup` option; get rid of `rsync` in `sphinx-init` subcommand #315

Closed felixfontein closed 3 months ago

felixfontein commented 3 months ago

Adds a --cleanup option that allows to delete files and directories in the destination directory that were not generated by antsibull-docs. This is then used by the sphinx-init subcommand to generate a build script that doesn't need rsync.

Fixes #306. Closes #307.