mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
change theme_dir to custom_dir
This commit is contained in:
committed by
Waylan Limberg
parent
ab0b5824d0
commit
8d4a883d89
@@ -20,7 +20,7 @@ and their usage.
|
||||
## Creating a custom theme
|
||||
|
||||
The bare minimum required for a custom theme is a `main.html` [Jinja2 template]
|
||||
file. This should be placed in a directory which will be the `theme_dir` and it
|
||||
file. This should be placed in a directory which will be the `custom_dir` and it
|
||||
should be created next to the `mkdocs.yml` configuration file. Within
|
||||
`mkdocs.yml`, specify the theme `custom_dir` option and set it to the name of
|
||||
the directory containing `main.html`. For example, given this example project
|
||||
|
||||
Reference in New Issue
Block a user