pawelsikora / mkdocs-with-confluence

MkDocs plugin for uploading markdown documentation to Confluence via Confluence REST API
MIT License
71 stars 33 forks source link

Handle the case when nav section is missing in mkdocs.yml #4

Closed pawelsikora closed 2 years ago

pawelsikora commented 2 years ago

Add handling of missing (may be on purpose) navigation section (nav) in mkdocs.yml config file.

If pages are missing in nav, plugin will create the required pages from the filesystem structure, e.g.

parent1/parent2/.../your_page.md:

My Page

...

In the following manner: Confluence Space:

Main Parent:
    Parent1:
        Parent2:
        ...:
            My Page

Fixes #2