Skip to content

Commit

Permalink
Use the official Python logo
Browse files Browse the repository at this point in the history
Use a custom logo for the theme's logo and favicon as documented in the
[Material for MkDocs documentation]. This replaces the theme's default
logo in the navbar and the favicon. The included logo is from the
[Python Developer's Guide], but other versions are available.

[Material for MkDocs documentation]: https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/#logo
[Python Developer's Guide]: https://devguide.python.org/
  • Loading branch information
jonafato committed Oct 29, 2024
1 parent 69f316b commit 90d027f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/assets/python-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
site_name: Python Software Foundation Policies
theme:
name: material
logo: assets/python-logo.svg
favicon: assets/python-logo.svg
custom_dir: ./overrides
palette:
- media: "(prefers-color-scheme: light)"
Expand Down

0 comments on commit 90d027f

Please sign in to comment.