mkdocs-semiliterate/mkdocs.yml
Glen Whitney 0b0c458011
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing
refactor: Build on top of released mkdocs-simple-plugin v0.4.0 (#8)
Includes documentation updates, particularly for installation.
  Removes a now-duplicate parameter.
  Adds project metadata.
  Should be ready for release.

  Resolves #7.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #8
Co-Authored-By: Glen Whitney <glen@nobody@nowhere.net>
Co-Committed-By: Glen Whitney <glen@nobody@nowhere.net>
2021-02-09 06:26:39 +00:00

37 lines
1.0 KiB
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, semiliterate]
include_extensions: [LICENSE]
extract_standard_markdown:
extract:
replace: [['^(.*)<!-- repo: -->.*<!-- site:(.*?) -->(.*\s*)$', '\1\2\3']]
semiliterate:
- pattern: '\.py$'
extract: {start: '"""\smd', stop: '"""'}
- pattern: '.drone.yml'
destination: 'drone_develop.md'
extract:
start: '### develop'
stop: '^\s*###'
replace: ['^# (.*\s*)$', '^\s*-(.*\s*)$']
- pattern: '.drone.yml'
destination: 'drone_install.md'
extract:
start: '### install'
stop: '^\s*###'
replace: ['^# (.*\s*)$', '^\s*-(.*\s*)$']
markdown_extensions:
- abbr
- def_list
theme:
name: readthedocs
docs_dir: mkdocs_semiliterate # dummy