Repository navigation
v0.8.0
What's New
Move pages to correct parent on publish
When a page already exists in Confluence (via confluence-page-id marker or title match), publishOrSkip now detects if the current parent differs from the desired one and moves the page using the Confluence v1 Move API.
This fixes an issue where pages published from docs/ would end up as siblings of their directory page instead of children.
Changes:
- Added
MovePagemethod to Confluence client (v1 API:PUT /content/{id}/move/append/{targetId}) - Added
ParentIDfield to page response for parent detection - Added
moveIfNeededhelper integrated in both existing-page paths ofpublishOrSkip - No-op when parent is already correct; logs "Would move" in dry-run mode