forked from j178/prek
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
144 lines (136 loc) · 3.79 KB
/
mkdocs.yml
File metadata and controls
144 lines (136 loc) · 3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
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.webp
favicon: assets/favicon.ico
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
- llmstxt:
markdown_description: |
prek is a drop-in replacement for pre-commit, fully compatible with existing
`.pre-commit-config.yaml` files. It runs the same hooks faster, with better
toolchain management.
Key differences from pre-commit:
- Single binary, no Python runtime required
- Parallel hook execution by priority
- Built-in workspace/monorepo support
- Automatic toolchain installation (Python, Node, Go, Rust, Ruby)
- Integration with uv for Python environments
When fetching documentation, use explicit `index.md` paths for directories, e.g.,
`https://prek.j178.dev/configuration/index.md`. This returns clean markdown
instead of rendered HTML.
full_output: llms-full.txt
sections:
Getting Started:
- index.md
- installation.md
- quickstart.md
Usage:
- configuration.md
- languages.md
- cli.md
- builtin.md
- workspace.md
- integrations.md
- authoring-hooks.md
Help:
- debugging.md
- faq.md
About:
- compatibility.md
- diff.md
- benchmark.md
- changelog.md
nav:
- Getting Started:
- Introduction: index.md
- Installation: installation.md
- Quickstart: quickstart.md
- Usage:
- Configuration: configuration.md
- Language Support: languages.md
- Commands: cli.md
- Built-in Hooks: builtin.md
- Workspace Mode: workspace.md
- Integrations: integrations.md
- Authoring Hooks: authoring-hooks.md
- Help:
- Debugging: debugging.md
- FAQ: faq.md
- About:
- Compatibility: compatibility.md
- Differences: diff.md
- Benchmark: benchmark.md
- Changelog: changelog.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