Files
textual/mkdocs.yml
Will McGugan d1235e0d97 docs plugin
2022-05-23 15:47:55 +01:00

61 lines
1.2 KiB
YAML

site_name: Textual
site_url: https://www.textualize.io/
markdown_extensions:
- admonition
- meta
- toc:
permalink: true
- pymdownx.keys
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.superfences:
custom_fences:
- name: textual
class: textual
format: !!python/name:textual._doc.format_svg
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.snippets
- pymdownx.tabbed:
alternate_style: true
- pymdownx.snippets
- markdown.extensions.attr_list
theme:
name: material
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
accent: purple
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
toggle:
icon: material/weather-night
name: Switch to light mode
plugins:
- search:
- mkdocstrings:
default_handler: python
handlers:
python:
rendering:
show_source: false
selection:
filters:
- "!^_"
- "^__init__$"
- "!^can_replace$"
watch:
- src/textual
extra_css:
- stylesheets/custom.css