2021-01-08 06:39:40 +00:00
|
|
|
site_name: MkDocs semiliterate plugin
|
|
|
|
nav:
|
|
|
|
- Overview: README.md
|
|
|
|
- Usage: mkdocs_semiliterate/plugin.md
|
2021-01-09 16:11:30 +00:00
|
|
|
- Developing: drone_develop.md
|
2021-01-08 06:39:40 +00:00
|
|
|
plugins:
|
|
|
|
- search
|
|
|
|
- semiliterate:
|
|
|
|
merge_docs_dir: false
|
2021-01-10 04:13:01 +00:00
|
|
|
ignore_folders: [build, dist, tests, semiliterate]
|
2021-01-08 06:39:40 +00:00
|
|
|
include_extensions: [LICENSE]
|
2021-01-09 18:17:34 +00:00
|
|
|
extract_standard_markdown:
|
2021-01-15 17:44:25 +00:00
|
|
|
extract:
|
2021-01-08 18:40:06 +00:00
|
|
|
replace: [['^(.*)<!-- repo: -->.*<!-- site:(.*?) -->(.*\s*)$', '\1\2\3']]
|
2021-01-09 18:17:34 +00:00
|
|
|
semiliterate:
|
2021-01-15 17:44:25 +00:00
|
|
|
- pattern: '\.py$'
|
|
|
|
extract: {start: '"""\smd', stop: '"""'}
|
2021-01-09 16:11:30 +00:00
|
|
|
- pattern: '.drone.yml'
|
|
|
|
destination: 'drone_develop.md'
|
2021-01-15 17:44:25 +00:00
|
|
|
extract:
|
|
|
|
start: '### develop'
|
|
|
|
stop: '^\s*###'
|
|
|
|
replace: ['^# (.*\s*)$', '^\s*-(.*\s*)$']
|
2021-01-08 06:39:40 +00:00
|
|
|
markdown_extensions:
|
|
|
|
- abbr
|
2021-01-08 18:40:06 +00:00
|
|
|
- def_list
|
2021-02-09 17:13:51 +00:00
|
|
|
- smarty
|
2021-01-08 06:39:40 +00:00
|
|
|
theme:
|
|
|
|
name: readthedocs
|
|
|
|
docs_dir: mkdocs_semiliterate # dummy
|