Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

twardoch
Copy link

@twardoch twardoch commented Jan 7, 2017

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.

pfossati and others added 21 commits February 27, 2016 12:00
Allow mkdocs-pandoc to support structured pages. For example, the following pages structure

```yaml
pages:
  - Section 1: section-1.md
  - Section 2:
    - Section 2.1: section-2/section-2-1.md
    - Section 2.2: section-2/section-2-2.md
```

will become

> # Section 1
>
> section-1.md content ...
>
> # Section 2
>
> # Section 2.1
>
> section-2/section-2-1.md content
>
> # Section 2.2
>
> section-2/section-2-2.md content
Remove extra added header # symbol
Allow mkdocs-pandoc to support structured pages
Added a filter to convert mathematical expressions
@twardoch
Copy link
Author

twardoch commented Jan 7, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants