-
Notifications
You must be signed in to change notification settings - Fork 66
/
mkdocs.yml
68 lines (61 loc) · 1.78 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
site_name: Cascade
site_url: https://saket.github.io/cascade/
repo_name: cascade
repo_url: https://github.com/saket/cascade
site_description: 'Nested popup menus with smooth height animations for Android'
site_author: Saket Narayan
copyright: 'Copyright © 2020 Saket Narayan'
remote_branch: gh-pages
theme:
name: 'material'
custom_dir: 'docs/overrides'
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
- 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
plugins:
- search
- macros # For extra.versions.cascade below.
extra:
versions:
cascade: '2.3.0' # Env var for the latest version on maven.
nav:
- 'Overview': index.md
- 'Compose UI':
- 'Overview': compose/index.md
- 'Navigation': compose/navigation.md
- 'Theming': compose/theming.md
- 'Views':
- 'Overview': views/index.md
- 'Navigation': views/navigation.md
- 'Theming': views/theming.md
- 'Custom layouts': views/custom_layouts.md