hunyadi / md2conf

Publish Markdown files to Confluence wiki
MIT License
52 stars 27 forks source link

Error: unable to find matching page for URL #70

Open srinin01 opened 1 day ago

srinin01 commented 1 day ago

I exported all 5 variables. then I ran this command: python3 -m md2conf one.md -r 2654210 Here 2654210 is the parent folder ID in the Confluence.

I get this error: md2conf.converter.DocumentError: unable to find matching page for URL: local-doc.html

hunyadi commented 22 hours ago

md2conf has two modes of operation:

It appears as if you were trying to use a mixture of these modes. I will update the parameter parser to emit a more informative error message when this happens.

Instead, run md2conf on a directory where both one.md and local-doc.md are found:

python3 -m md2conf -r 2654210 /path/to/dir