Skip to content

Commit 31bfdfc

Browse files
committed
feat(docs): enhance MkDocs with dark mode, search, and feedback features
- Add light/dark mode toggle with system preference detection - Enable navigation tabs, sections, and instant loading - Add search suggestions and highlighting - Enable code copy buttons and annotations - Add page feedback system - Configure Roboto fonts for better readability
1 parent 9178e69 commit 31bfdfc

File tree

1 file changed

+62
-3
lines changed

1 file changed

+62
-3
lines changed

mkdocs.yml

Lines changed: 62 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,79 @@ repo_name: jonmatum/git-metrics-mcp-server
77
theme:
88
name: material
99
palette:
10-
primary: indigo
11-
accent: indigo
10+
# Light mode
11+
- media: "(prefers-color-scheme: light)"
12+
scheme: default
13+
primary: black
14+
accent: cyan
15+
toggle:
16+
icon: material/brightness-7
17+
name: Switch to dark mode
18+
19+
# Dark mode
20+
- media: "(prefers-color-scheme: dark)"
21+
scheme: slate
22+
primary: black
23+
accent: cyan
24+
toggle:
25+
icon: material/brightness-4
26+
name: Switch to light mode
27+
28+
font:
29+
text: Roboto
30+
code: Roboto Mono
1231
features:
32+
- navigation.tabs
33+
- navigation.sections
34+
- navigation.expand
35+
- navigation.top
1336
- navigation.instant
1437
- navigation.tracking
38+
- navigation.indexes
39+
- search.suggest
40+
- search.highlight
41+
- search.share
42+
- content.code.copy
43+
- content.code.annotate
44+
- content.tabs.link
45+
- toc.follow
1546
- toc.integrate
1647

1748
nav:
1849
- Home: index.md
1950
- Philosophy: intent.md
2051
- Analysis Prompt: git-metrics-analysis-prompt.md
2152

53+
plugins:
54+
- search:
55+
lang: en
56+
- tags
57+
58+
extra:
59+
social:
60+
- icon: fontawesome/brands/github
61+
link: https://github.com/jonmatum/git-metrics-mcp-server
62+
analytics:
63+
feedback:
64+
title: Was this page helpful?
65+
ratings:
66+
- icon: material/thumb-up-outline
67+
name: This page was helpful
68+
data: 1
69+
note: Thanks for your feedback!
70+
- icon: material/thumb-down-outline
71+
name: This page could be improved
72+
data: 0
73+
note: Thanks for your feedback!
74+
2275
markdown_extensions:
76+
- pymdownx.highlight:
77+
anchor_linenums: true
78+
- pymdownx.superfences
79+
- pymdownx.tabbed:
80+
alternate_style: true
2381
- admonition
24-
- codehilite
82+
- pymdownx.details
83+
- tables
2584
- toc:
2685
permalink: true

0 commit comments

Comments
 (0)