aboutsummaryrefslogtreecommitdiff
path: root/mkdocs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'mkdocs.yml')
-rw-r--r--mkdocs.yml31
1 files changed, 26 insertions, 5 deletions
diff --git a/mkdocs.yml b/mkdocs.yml
index 11fd77fb..8fd117c0 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,4 +1,5 @@
site_name: Okio
+site_url: https://square.github.io/okio
repo_name: Okio
repo_url: https://github.com/square/okio
site_description: "A modern I/O library for Android, Kotlin, and Java."
@@ -13,8 +14,22 @@ theme:
favicon: images/icon-square.png
logo: images/icon-square.png
palette:
- primary: 'deep purple'
- accent: 'white'
+ # Palette toggle for light mode
+ - scheme: default
+ media: "(prefers-color-scheme: light)"
+ primary: 'deep purple'
+ accent: 'white'
+ toggle:
+ icon: material/brightness-7
+ name: Switch to dark mode
+ # Palette toggle for dark mode
+ - scheme: slate
+ media: "(prefers-color-scheme: dark)"
+ primary: 'deep purple'
+ accent: 'white'
+ toggle:
+ icon: material/brightness-4
+ name: Switch to light mode
icon:
repo: fontawesome/brands/github
@@ -43,17 +58,23 @@ markdown_extensions:
- pymdownx.magiclink
- pymdownx.smartsymbols
- pymdownx.superfences
- - pymdownx.tabbed
+ - pymdownx.tabbed:
+ alternate_style: true
- pymdownx.tilde
- tables
nav:
- 'Overview': index.md
- 'Stack Overflow ⏏': https://stackoverflow.com/questions/tagged/okio?sort=active
- - '2.x API': 2.x/okio/okio/index.html
+ - 'Recipes': recipes.md
+ - 'java.io Recipes': java_io_recipes.md
+ - '3.x API':
+ - 'okio': 3.x/okio/okio/okio/index.html
+ - 'fakefilesystem': 3.x/okio-fakefilesystem/okio-fakefilesystem/okio.fakefilesystem/-fake-file-system/index.html
+ - 'nodefilesystem': 3.x/okio-nodefilesystem/okio-nodefilesystem/okio/-node-js-file-system/index.html
- '1.x API ⏏': https://square.github.io/okio/1.x/okio/
- 'Change Log': changelog.md
+ - 'File System': file_system.md
- 'Multiplatform': multiplatform.md
- 'Contributing': contributing.md
- 'Code of Conduct': code_of_conduct.md
-