You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's correct, I've come across this issue before. Since that's a hard limitation from Confluence, there isn't really a way to change that behavior.
A workaround is to make it easier to ensure that each page title is unique to the space.
Looking at a similar tool, the confluencebuilder plugin for Sphinx in Python, there is a configuration option that allows you to add a postfix (or prefix) to a page title. Of particular note is the hash value that's available, which is a deterministic hash of the space, parent "path", and page title together. That guarantees that even if two pages have the same title before being uploaded, as long as they have different parent "paths" the appended hash value will be different.
I've opened #509 with a similar implementation that could help avoid this issue.
pwlandoll
added a commit
to pwlandoll/mark
that referenced
this issue
Oct 8, 2024
What happened?
Imagine the following pages:
When syncing to Confluence, what happens is that the 2. page does not show up on confluence, and Page 1 is actually Page 2.
What did you expect to happen?
I expect to be able to have pages with the same Title under different Parents.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
Further Information (please complete the following information)
mark --version
): 9.11.1--drop-h1
,--title-from-h1
Logs or other output
I can not provide logs as they might contain sensitive information as it logs the output of our pages. Let me know if interested in anything specific.
Logs does not show any errors produced, and mark exits with error code 0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: