Skip to content

Commit b18d0c9

Browse files
committed
chore: Change main branch
1 parent 2d0c3f5 commit b18d0c9

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

mkdocs.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ nav:
1515
- Home:
1616
- Overview: index.md
1717
- Get Started: home/get-started.md
18-
1918
- API:
2019
- Overview: api/index.md
2120
- Endpoints:
@@ -44,6 +43,7 @@ theme:
4443
name: material
4544
logo: assets/img/logo.png
4645
favicon: assets/favicons/favicon.ico
46+
custom_dir: overrides
4747
palette:
4848
# Palette toggle for automatic mode
4949
- media: "(prefers-color-scheme)"
@@ -53,14 +53,18 @@ theme:
5353

5454
# Palette toggle for light mode
5555
- media: "(prefers-color-scheme: light)"
56-
scheme: amber
56+
scheme: pink
57+
primary: pink
58+
accent: pink
5759
toggle:
5860
icon: material/brightness-7
5961
name: Switch to dark mode
6062

6163
# Palette toggle for dark mode
6264
- media: "(prefers-color-scheme: dark)"
6365
scheme: slate
66+
primary: pink
67+
accent: pink
6468
toggle:
6569
icon: material/brightness-4
6670
name: Switch to system preference
@@ -72,9 +76,11 @@ theme:
7276
- navigation.expand
7377
- navigation.footer
7478
- toc.follow
79+
- toc.integrates
7580
- content.tooltips
7681
- search.suggest
7782
- search.highlight
83+
- announce.dismiss
7884
extra_css:
7985
- stylesheets/extra.css
8086

@@ -105,8 +111,8 @@ extra:
105111
make our documentation better.
106112
social:
107113
- icon: fontawesome/brands/github
108-
link: https://github.com/omegion
109-
name: Github Profile of Omegion
114+
link: https://github.com/counterapi
115+
name: Official CounterAPI GitHub Page
110116
markdown_extensions:
111117
- attr_list
112118
- md_in_html

overrides/main.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% extends "base.html" %}
2+
3+
{% block announce %}
4+
💬 Have questions or want to discuss topics? Join our <a href="https://community.counterapi.dev" target="_blank"><strong>Community</strong></a>!
5+
{% endblock %}

0 commit comments

Comments
 (0)