Skip to content

Commit

Permalink
docs: creating custom theme
Browse files Browse the repository at this point in the history
  • Loading branch information
201st-Luka committed Sep 5, 2023
1 parent be27d02 commit 0cb0dc8
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[![Discord][discord_shield]][discord_url] ![Last commit][last_commit_shield]

![PyClasher](../.github/PyClasher.png)

# PyClasher

PyClasher is the name of the asynchronous ClashOfClans API. It is
Expand Down
32 changes: 31 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,34 @@ site_name: PyClasher
site_url: https://201st-Luka.github.io/pyclasher/

nav:
- Home: index.md
- Home: index.md

theme:
name: material
features:
- navigation.tabs
- navigation.sections
- toc.integrate
- navigation.top
- search.suggest
- search.highlight
- content.tabs.link
- content.code.annotation
- content.code.copy
language: en
palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
name: Switch to dark mode
primary: indigo
accent: orange
- scheme: slate
toggle:
icon: material/toggle-switch
name: Switch to light mode
primary: indigo
accent: orange

plugins:
- search
3 changes: 2 additions & 1 deletion requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
mkdocs
mkdocs
mkdocs-material

0 comments on commit 0cb0dc8

Please sign in to comment.