iamjackg / md2cf

Convert and upload Markdown documents to Confluence
MIT License
91 stars 49 forks source link

Add support for adding a prefix to a title to avoid title conflicts #126

Open jeffmercerVG opened 6 months ago

jeffmercerVG commented 6 months ago

I have a doc structure where every folder has a page in it with the same title. For example:

FolderA/Overview.md FolderB/Overview.md

The upload to Confluence doesn't like this because it would try to create two pages called "Overview". I have a code change I can contribute where a folder can opt into using the parent page's title as a prefix. In Confluence, it would end up uploading two pages:

FolderA - Overview FolderB - Overview

If this concept is acceptable, where should I PR into? the develop branch?