Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Aug 24, 2024

Conversation

felixfontein
Copy link
Collaborator

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.

Note that usually this isn't necessary, due to Python's GIL.
The GIL is an implementation detail though, so we shouldn't
rely on it.
@felixfontein felixfontein merged commit eb5f5f9 into ansible-community:main Aug 24, 2024
12 checks passed
@felixfontein felixfontein deleted the cleanup branch August 24, 2024 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use of rsync inside generated build.sh prevents usage with readthedocs
1 participant