Skip to content

Commit

Permalink
Update Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vicvalentim committed Oct 30, 2024
1 parent 6342408 commit 09b36c0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: 3.x

- name: Install dependencies
run: pip install mkdocs-dracula-theme mkdocs-static-i18n[material] mkdocs-material
run: pip install mkdocs-material

- name: Build website
run: mkdocs build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
python-version: 3.x

- name: Install dependencies
run: pip install mkdocs-dracula-theme mkdocs-static-i18n[material] mkdocs-material
run: pip install mkdocs-material

- name: Build website
if: github.event.action != 'closed'
Expand Down
35 changes: 24 additions & 11 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@

site_name: ziviDomeLive - Library Documentation
site_url: "https://vicvalentim.github.io/ziviDomeLive/"

theme:
name: material
language: en
palette:

# Palette toggle for light mode
- scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode

# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode

extra:
alternate:
- name: English
link: /en/
lang: en
- name: Português (Brasil)
link: /pt-br/
lang: pt-BR

features:
- search.suggest
- search.highlight
Expand All @@ -20,16 +43,6 @@ copyright: MIT Licence.
plugins:
- search
- offline
- - i18n:
docs_structure: suffix
languages:
- locale: en
default: true
name: English
build: true
- locale: pt-br
name: Português (Brasil)
build: true

extra_css:
- assets/extra.css
Expand Down

0 comments on commit 09b36c0

Please sign in to comment.