jgrassler / mkdocs-pandoc

[unmaintained] mkdocs -> pandoc converter: use this fork https://github.com/twardoch/mkdocs-combine
Apache License 2.0
107 stars 39 forks source link

Added support for pages without titles specified in mkdocs.yml #20

Open twardoch opened 7 years ago

twardoch commented 7 years ago

MkDocs accepts the site structure without explicit page titles, with just filenames, as in:

pages:
- index.md
- Release-Notes.md
- Table-of-Contents.md
- Basic Concepts:
    - Font.md
    - Font-families.md
    - Font-formats.md
    - Font-Project.md

MkDocs will then infer the page title from the filename using mkdocs.utils.filename_to_title(page). This PR adds support for the same handling into mkdocs2pandoc.

twardoch commented 7 years ago

Sorry, looks like I've messed up a bit with this PR, and it actually also includes changes from: