-
Notifications
You must be signed in to change notification settings - Fork 35
/
mkdocs.yml
81 lines (75 loc) · 2.24 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
site_name: Telephoto
site_url: https://saket.github.io/telephoto/
repo_name: telephoto
repo_url: https://github.com/saket/telephoto
site_description: 'Building blocks for designing media experiences in Compose UI'
site_author: Saket Narayan
copyright: 'Copyright © 2023 Saket Narayan'
remote_branch: gh-pages
theme:
name: 'material'
custom_dir: 'docs/overrides'
logo: assets/logo_192.png
favicon: assets/logo_192.png
font:
text: 'Roboto'
code: 'JetBrains Mono'
palette:
# Palette toggle for light mode
- scheme: default
media: "(prefers-color-scheme: light)"
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
media: "(prefers-color-scheme: dark)"
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- content.tabs.link # Synchronize code tabs.
- content.code.copy # Show a copy button in code blocks.
- navigation.instant # Instant loading of pages. Behave like a Single Page Application.
- toc.integrate
extra_css:
- 'stylesheets/extra.css'
markdown_extensions:
- toc: # Table of contents.
permalink: true # Anchor linking with headings.
- pymdownx.highlight:
use_pygments: true
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.caret # Underlines.
- admonition # Warning call-outs.
- mdx_truly_sane_lists: # Nested list items
nested_indent: 2
plugins:
- search
- macros # For extra.versions.telephoto below.
- mkdocs-video:
is_video: true
video_muted: true
video_controls: false
video_autoplay: true
video_loop: true
css_style:
width: "100%"
height: "30rem"
extra:
versions:
telephoto: '0.14.0' # Env var for the latest version on maven.
nav:
- 'Overview': index.md
- 'Zoomable Image':
- 'Overview': zoomableimage/index.md
- 'Sub-sampling': zoomableimage/sub-sampling.md
- 'Custom image loaders': zoomableimage/custom-image-loaders.md
- 'Recipes': zoomableimage/recipes.md
- 'Modifier.zoomable()':
- 'Overview': zoomable/index.md
- 'Recipes': zoomable/recipes.md