mkdocs-pandoc icon indicating copy to clipboard operation
mkdocs-pandoc copied to clipboard

Added support for pages without titles specified in mkdocs.yml

Open twardoch opened this issue 8 years ago • 1 comments

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 avatar Jan 07 '17 13:01 twardoch

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

  • https://github.com/jgrassler/mkdocs-pandoc/pull/14
  • https://github.com/jgrassler/mkdocs-pandoc/pull/15
  • https://github.com/jgrassler/mkdocs-pandoc/pull/21 I'm still learning. But I think these commits are all good and useful.

twardoch avatar Jan 07 '17 14:01 twardoch