Skip to content

Commit

Permalink
docs: add dark-mode
Browse files Browse the repository at this point in the history
Signed-off-by: devopstales <42894256+devopstales@users.noreply.github.com>
  • Loading branch information
devopstales committed Jun 5, 2023
1 parent 321b66e commit 6d89749
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ nav:
- Functions:
- Features: functions/features.md
- Authentication: functions/authentication.md
- User Management: functions/users.md
- Setting up Kubernetes Clusters in KubeDash: functions/k8s-api.md
- Edit Kubernetes Roles and Role bindings: functions/rbac.md
- Management Users: functions/users.md
- Management User Roles: functions/rbac.md
- Connect a Kubernetes Cluster: functions/k8s-api.md
- Integrations:
- docker-registry: integrations/docker-registry.md
- trivy-operator: integrations/trivy-operator.md
Expand All @@ -26,10 +26,25 @@ nav:
- FAQ:
- technical: faq/technical.md

# Documentation and theme
theme:
name: material
language: "en"
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/weather-night
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/weather-sunny
name: Switch to light mode
features:
- navigation.expand

# Extensions
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
Expand All @@ -50,3 +65,4 @@ extra:
plugins:
- search
- macros
- glightbox

0 comments on commit 6d89749

Please sign in to comment.