Docs: Clarify supported header style

Only atx-style headers are supported for page titles,
not Setext styles.

Fixes #1837
This commit is contained in:
Dan
2019-08-13 15:08:16 +02:00
committed by Waylan Limberg
parent a84b5a27df
commit b967d0184d

View File

@@ -365,11 +365,14 @@ specific page. The following keys are supported:
1. A title defined in the [nav] configuration setting for a document.
2. A title defined in the `title` meta-data key of a document.
3. A level 1 Markdown header on the first line of the document body.
Please note that [Setext-style] headers are not supported.
4. The filename of a document.
Upon finding a title for a page, MkDoc does not continue checking any
additional sources in the above list.
[Setext-style]: https://daringfireball.net/projects/markdown/syntax#header
#### YAML Style Meta-Data
YAML style meta-data consists of [YAML] key/value pairs wrapped in YAML style