Glen Whitney
2235af160c
Also includes installation and development documentation, and updates to the latest development version of mkdocs-simple-plugin. Resolves #3.
36 lines
978 B
YAML
36 lines
978 B
YAML
site_name: MkDocs semiliterate plugin
|
|
nav:
|
|
- Overview: README.md
|
|
- Installation: drone_install.md
|
|
- Usage: mkdocs_semiliterate/plugin.md
|
|
- Developing: drone_develop.md
|
|
plugins:
|
|
- search
|
|
- semiliterate:
|
|
merge_docs_dir: false
|
|
ignore_folders: [build, dist, tests]
|
|
include_extensions: [LICENSE]
|
|
semiliterate:
|
|
- pattern: '(\.md)$'
|
|
start: '^(.*\s*)'
|
|
replace: [['^(.*)<!-- repo: -->.*<!-- site:(.*?) -->(.*\s*)$', '\1\2\3']]
|
|
- pattern: '(\.py)$'
|
|
start: '"""\smd'
|
|
stop: '"""'
|
|
- pattern: '.drone.yml'
|
|
destination: 'drone_develop.md'
|
|
start: '### develop'
|
|
stop: '^\s*###'
|
|
replace: ['^# (.*\s*)$', '^\s*-(.*\s*)$']
|
|
- pattern: '.drone.yml'
|
|
destination: 'drone_install.md'
|
|
start: '### install'
|
|
stop: '^\s*###'
|
|
replace: ['^# (.*\s*)$', '^\s*-(.*\s*)$']
|
|
markdown_extensions:
|
|
- abbr
|
|
- def_list
|
|
theme:
|
|
name: readthedocs
|
|
docs_dir: mkdocs_semiliterate # dummy
|