mirror of
https://github.com/j178/prek.git
synced 2026-03-13 09:04:03 +02:00
99 lines
2.3 KiB
YAML
99 lines
2.3 KiB
YAML
site_name: prek
|
|
site_description: Better `pre-commit` alternative, re-engineered in Rust
|
|
site_author: j178
|
|
site_url: https://prek.j178.dev/
|
|
|
|
repo_name: j178/prek
|
|
repo_url: https://github.com/j178/prek
|
|
|
|
copyright: Copyright © 2025 j178
|
|
|
|
theme:
|
|
name: material
|
|
logo: assets/logo_512.webp
|
|
palette:
|
|
- media: "(prefers-color-scheme)"
|
|
toggle:
|
|
icon: material/brightness-auto
|
|
name: Switch to light mode
|
|
- media: "(prefers-color-scheme: light)"
|
|
scheme: default
|
|
primary: indigo
|
|
accent: blue
|
|
toggle:
|
|
icon: material/brightness-7
|
|
name: Switch to dark mode
|
|
- media: "(prefers-color-scheme: dark)"
|
|
scheme: slate
|
|
primary: indigo
|
|
accent: blue
|
|
toggle:
|
|
icon: material/brightness-4
|
|
name: Switch to system preference
|
|
features:
|
|
- navigation.side
|
|
- navigation.sections
|
|
- navigation.expand
|
|
- navigation.path
|
|
- navigation.indexes
|
|
- navigation.instant
|
|
- navigation.instant.prefetch
|
|
- navigation.instant.progress
|
|
- navigation.tracking
|
|
- navigation.footer
|
|
- navigation.top
|
|
- content.code.copy
|
|
- content.code.annotate
|
|
- content.tabs.link
|
|
- search.suggest
|
|
- search.highlight
|
|
- search.share
|
|
|
|
plugins:
|
|
- search
|
|
- minify:
|
|
minify_html: true
|
|
- include-markdown
|
|
|
|
nav:
|
|
- Introduction: index.md
|
|
- Installation: installation.md
|
|
- Workspace Mode: workspace.md
|
|
- Configuration: configuration.md
|
|
- Commands: cli.md
|
|
- Differences: diff.md
|
|
- Benchmark: benchmark.md
|
|
- Built-in Hooks: builtin.md
|
|
- TODO: todo.md
|
|
- Debugging: debugging.md
|
|
|
|
markdown_extensions:
|
|
- pymdownx.highlight:
|
|
anchor_linenums: true
|
|
line_spans: __span
|
|
pygments_lang_class: true
|
|
- pymdownx.inlinehilite
|
|
- pymdownx.snippets
|
|
- pymdownx.superfences
|
|
- pymdownx.tabbed:
|
|
alternate_style: true
|
|
combine_header_slug: true
|
|
slugify: !!python/object/apply:pymdownx.slugs.slugify
|
|
kwds:
|
|
case: lower
|
|
- pymdownx.details
|
|
- pymdownx.emoji:
|
|
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
|
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
|
- admonition
|
|
- attr_list
|
|
- footnotes
|
|
- md_in_html
|
|
- meta
|
|
- tables
|
|
- toc:
|
|
permalink: true
|
|
|
|
hooks:
|
|
- docs/hooks.py
|