-
Notifications
You must be signed in to change notification settings - Fork 98
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
Bug: Pushing change to extant pages with build
folder present causes deletion of all but affected pages
#834
Comments
Edit: This comment is outdated; please see the next comment. I wonder if this is a combination of having purging enabled with the new "only update new pages" introduced in v2.1. Haven't had time to test that is the case, but a possible workaround is to set the following option for the project's configuration:
This will force publication of all pages relevant to the project, but should not purge any documents in the configured root. |
To start off, a workaround for this use case would be to specify an ignore-environment argument when building Confluence documentation. This does trigger local rebuilds of sources, but will ensure all documents are published/updates on the target Confluence instance:
This issue is a combination of little/incorrect environment processing performed by this extension.
What this extension should do is most likely rewrite its
And in theory, for any stale/undesired out-of-date publishing scenarios that could occur for corner cases when using the above, users could always apply the |
Changes have been introduced (#843) to prevent the removal of up-to-date pages on rebuilds. This extension should now have better support when dealing with cached environments of Sphinx (both managing re-publish events and triggering rebuilds of outdated documents from configuration changes). These changes will be made available next release (v2.3), and can be tested now by using the development version. Feel free to try it out ahead of time any report any issues you may have. |
v2.3 is now available on PyPI -- marking as closed. |
Setup:
make confluence
locallymake confluence
againChanging setting s does not appear to affect the outcome. I have changed all of them aside from the Auth ones. Only deleting the previous build artifacts works
The text was updated successfully, but these errors were encountered: