mkdocs-semiliterate/mkdocs.yml

24 lines
561 B
YAML
Raw Normal View History

site_name: MkDocs semiliterate plugin
nav:
- Overview: README.md
- Usage: mkdocs_semiliterate/plugin.md
plugins:
- search
- semiliterate:
merge_docs_dir: false
ignore_folders: [dist, build]
include_extensions: [LICENSE]
semiliterate:
- pattern: '(\.md)$'
start: '^(.*\s*)'
replace: [['^(.*)<!-- repo: -->.*<!-- site:(.*?) -->(.*\s*)$', '\1\2\3']]
- pattern: '(\.py)$'
start: '"""\smd'
stop: '"""'
markdown_extensions:
- abbr
- def_list
theme:
name: readthedocs
docs_dir: mkdocs_semiliterate # dummy