]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Add copy button on documentation (#2257)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Sun, 27 Aug 2023 12:07:33 +0000 (14:07 +0200)
committerGitHub <noreply@github.com>
Sun, 27 Aug 2023 12:07:33 +0000 (12:07 +0000)
mkdocs.yml

index 1677fe0e999c02a7b51146e6ca8c583f4206e2db..c64285fa762a9b865a38cf4b5fb79599e504eb7a 100644 (file)
@@ -19,6 +19,8 @@ theme:
         name: 'Switch to light mode'
   icon:
     repo: fontawesome/brands/github
+  features:
+    - content.code.copy
 
 repo_name: encode/starlette
 repo_url: https://github.com/encode/starlette