Skip to content

Commit

Permalink
docs: add more mkdocs-material features (#2534)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored Dec 14, 2024
1 parent bfa754e commit 6725ebb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
site_name: Uvicorn
site_description: The lightning-fast ASGI server.
site_url: https://www.uvicorn.org

theme:
name: material
Expand All @@ -19,11 +20,14 @@ theme:
icon: "material/lightbulb-outline"
name: "Switch to light mode"
features:
- content.code.copy
- content.code.copy # https://squidfunk.github.io/mkdocs-material/upgrade/?h=content+copy#contentcodecopy
- navigation.top # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button
- navigation.footer # https://squidfunk.github.io/mkdocs-material/upgrade/?h=content+copy#navigationfooter
- toc.follow # https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following

repo_name: encode/uvicorn
repo_url: https://github.com/encode/uvicorn
edit_uri: ""
edit_uri: edit/master/docs/

nav:
- Introduction: index.md
Expand Down

0 comments on commit 6725ebb

Please sign in to comment.