Skip to content

initial/limited inlined comment check support #1099

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

Merged
merged 1 commit into from
Mar 16, 2025

Conversation

jdknight
Copy link
Member

Provides a crude check to warn if a page update will result in the lost of inlined comments on a page. Users can fail a publish attempt in these situations using --fail-on-warning [1], if desired.

This commit also adds the confluence_publish_skip_commented_pages option, to allow skipping page updates on inlined commented pages (instead of overwriting the page).

Note that resolved comments are still considered a flagged state for inlined comment. So, a page update will warn even if all comments are resolved.

[1]: https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-W

Provides a crude check to warn if a page update will result in the lost
of inlined comments on a page. Users can fail a publish attempt in these
situations using `--fail-on-warning` [1], if desired.

This commit also adds the `confluence_publish_skip_commented_pages`
option, to allow skipping page updates on inlined commented pages
(instead of overwriting the page).

Note that resolved comments are still considered a flagged state for
inlined comment. So, a page update will warn even if all comments are
resolved.

[1]: https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-W

Signed-off-by: James Knight <[email protected]>
@jdknight jdknight merged commit 20a2073 into main Mar 16, 2025
28 checks passed
@jdknight jdknight deleted the limited-inline-comment-check branch March 16, 2025 20:19
@jdknight
Copy link
Member Author

For #698.

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.

1 participant