Skip to content

Commit

Permalink
Apply Ansible theme to mkdocs and remove duplicated assets (#4074)
Browse files Browse the repository at this point in the history
Co-authored-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
cristianonicolai and ssbarnea authored Oct 24, 2023
1 parent 1e72077 commit f231d6a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .config/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mkdocs-ansible[lock]>=0.1.4
mkdocs-ansible[lock]>=0.2.0
pipdeptree>=2.4.0
linkchecker==10.2.1
Binary file removed docs/images/favicon.ico
Binary file not shown.
Binary file removed docs/images/logo.png
Binary file not shown.
7 changes: 0 additions & 7 deletions docs/images/logo.svg

This file was deleted.

21 changes: 2 additions & 19 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ copyright: Copyright © 2023 Red Hat, Inc.
strict: true

theme:
name: "material"
logo: images/logo.svg
favicon: images/favicon.ico
name: ansible
features:
- content.code.copy
- content.action.edit
Expand All @@ -19,21 +17,6 @@ theme:
- navigation.indexes
- navigation.tracking
- toc.integrate
palette:
- media: "(prefers-color-scheme: light)"
primary: teal
accent: blue
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: teal
accent: blue
toggle:
icon: material/brightness-4
name: Switch to light mode
extra:
social:
- icon: fontawesome/brands/python
Expand Down Expand Up @@ -99,7 +82,7 @@ nav:
plugins:
- autorefs
- search
- social
- material/social

- mkdocstrings:
enable_inventory: true
Expand Down

0 comments on commit f231d6a

Please sign in to comment.