markdown-confluence / markdown-confluence

Publish your Markdown Files to Confluence

Home Page:https://markdown-confluence.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't grasp the logic with README.md file

cirpo opened this issue · comments

Hi, I couldn't properly understand the logic for README.md files

Example:

README.md

# readmeFileTitle

## intro

bla bla bla

Scenario 1

Folder structure:

docs/
         README.md

running npx @markdown-confluence/cli I get a readmeFileTitle page in Confluence as expected

Scenario 2

Folder structure:

docs/
         fooFolder/
             foo.md
         README.md      

running npx @markdown-confluence/cli:

  • the README.md file is ignored and readmeFileTitle page in Confluence is missing
  • the foo.md file is parsed and foo page in Confluence is there as expected

If I rename the README.md file to bar.md, the readmeFileTitle page in Confluence gets created

what am I missing? thanks for the support