Skip to content

Commit c5b894c

Browse files
committed
Enhance MkDocs configuration with new site details and theme options
- Added site URL and repository URL for better project visibility. - Enabled directory URLs for cleaner navigation. - Updated theme palette to support light and dark modes with toggle options. - Included git-committers plugin for tracking contributions. - Integrated Google Analytics for improved site performance tracking.
1 parent ade6931 commit c5b894c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

mkdocs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
site_name: System Design Primer Update
2+
site_url: https://ido777.github.io/system-design-primer-update/en/study_guide/
3+
4+
repo_url: https://github.com/ido777/system-design-primer-update
5+
6+
7+
use_directory_urls: true
28
theme:
39
name: material
410
language: en
@@ -9,8 +15,20 @@ theme:
915
- navigation.sections
1016
- navigation.tabs
1117
- navigation.top
18+
- navigation.footer
1219
- search.highlight
1320
- search.suggest
21+
palette:
22+
- media: "(prefers-color-scheme: light)"
23+
scheme: default
24+
toggle:
25+
icon: material/brightness-7
26+
name: Switch to dark mode
27+
- media: "(prefers-color-scheme: dark)"
28+
scheme: slate
29+
toggle:
30+
icon: material/brightness-4
31+
name: Switch to light mode
1432

1533
plugins:
1634
- i18n:
@@ -24,10 +42,22 @@ plugins:
2442
enable_creation_date: true
2543
exclude:
2644
- index.md
45+
- git-committers:
46+
repository: ido777/system-design-primer-update
47+
branch: main
48+
- meta
49+
2750
# - htmlproofer
2851

2952

53+
54+
55+
56+
3057
extra:
58+
analytics:
59+
provider: google
60+
property: UA-210436000-1
3161
giscus:
3262
repo: ido777/system-design-primer-update
3363
repo_id: R_kgDOORdCfw

0 commit comments

Comments
 (0)