Glen Whitney
b6ab0fb7ee
Reviewed-on: #25 Co-authored-by: Glen Whitney <glen@studioinfinity.org> Co-committed-by: Glen Whitney <glen@studioinfinity.org>
38 lines
970 B
YAML
38 lines
970 B
YAML
site_name: MkDocs semiliterate plugin
|
|
nav:
|
|
- Overview: README.md
|
|
- Usage: mkdocs_semiliterate/plugin.md
|
|
- Developing: drone_develop.md
|
|
plugins:
|
|
- search
|
|
- semiliterate:
|
|
merge_docs_dir: false
|
|
ignore: [build, dist, tests, semiliterate, .venv]
|
|
include: [LICENSE, '.png']
|
|
copy: true
|
|
extract_standard_markdown:
|
|
extract:
|
|
replace: [['^(.*)<!-- repo: -->.*<!-- site:(.*?) -->(.*\s*)$', '\1\2\3']]
|
|
ensurelines: false
|
|
semiliterate:
|
|
- pattern: '\.py$'
|
|
extract:
|
|
- start: '"""\smd'
|
|
stop: '"""'
|
|
- start: '#\sstart-md'
|
|
stop: '#\send-md'
|
|
replace: ['^# (.*\s*)$']
|
|
- pattern: '.drone.yml'
|
|
destination: 'drone_develop.md'
|
|
extract:
|
|
start: '### develop'
|
|
stop: '^\s*###'
|
|
replace: ['^# (.*\s*)$', '^\s*-(.*\s*)$']
|
|
markdown_extensions:
|
|
- abbr
|
|
- def_list
|
|
- smarty
|
|
theme:
|
|
name: readthedocs
|
|
docs_dir: mkdocs_semiliterate # dummy
|