Files
kumomta/mkdocs-base.yml
T
Wez Furlong a3d4c49ef1 docs: avoid copying $ prefixes from console code blocks
Rather than using `bash` for the mix of shell and output,
use `console`. That will cause the text to be marked up so
that the `$` prompt stuff won't get selected by dragging.

Enable copy button to copy the whole block, and add some
js to filter out the the $ and # prefixes from that content.
2023-03-14 10:17:55 -07:00

85 lines
1.9 KiB
YAML

copyright: Copyright © 2023 Kumo Corp
site_name: KumoMTA Docs
site_url: https://docs.kumomta.com
site_description: Documentation for KumoMTA
repo_url: https://github.com/kumomta/kumomta
edit_uri: edit/main/docs/
docs_dir: docs
site_dir: gh_pages
theme:
name: material
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: orange
accent: deep purple
toggle:
icon: material/weather-sunny
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: orange
accent: purple
toggle:
icon: material/weather-night
name: Switch to light mode
features:
- content.action.edit
- content.action.view
- content.code.copy
- content.tabs.link
- navigation.footer
- navigation.indexes
- navigation.tabs
- navigation.top
- search.highlight
- search.share
- search.suggest
- toc.follow
plugins:
- search
- social:
cards: !ENV [CARDS, false]
- git-revision-date-localized:
enable_creation_date: true
type: timeago
- exclude:
glob:
- "**/_index.md"
- "generate_toc.py"
- "build.sh"
- "SUMMARY.md"
- "book.toml"
extra_css:
- style.css
extra_javascript:
- javascript/fix-codeblock-console-copy-button.js
markdown_extensions:
- admonition
- pymdownx.details
- def_list
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/kumomta/kumomta