forked from twitter/compose-rules
-
Notifications
You must be signed in to change notification settings - Fork 23
/
mkdocs.yml
66 lines (61 loc) · 1.77 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
site_name: 'Jetpack Compose Rules'
site_description: 'Compose Rules is a set of custom ktlint and detekt rules to ensure that your composables do not fall into common pitfalls'
site_author: 'Nacho Lopez'
site_url: 'https://mrmans0h.github.io/compose-rules/'
edit_uri: 'tree/main/docs/'
remote_branch: gh-pages
docs_dir: docs
repo_name: 'Compose Rules'
repo_url: 'https://github.com/mrmans0n/compose-rules'
# Navigation
nav:
- 'Overview': index.md
- 'Using with ktlint': ktlint.md
- 'Using with detekt': detekt.md
- 'Rules': rules.md
# Configuration
theme:
name: 'material'
language: 'en'
palette:
# Palette toggle for light mode
- scheme: default
primary: 'deep orange'
accent: 'red'
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
primary: 'deep orange'
accent: 'red'
toggle:
icon: material/brightness-4
name: Switch to light mode
font:
text: 'Roboto'
code: 'JetBrains Mono'
icon:
logo: material/ruler-square
# Extensions
markdown_extensions:
- admonition
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- codehilite:
guess_lang: false
- footnotes
- toc:
permalink: true
- pymdownx.betterem
- pymdownx.superfences
- pymdownx.tabbed
- pymdownx.details
- mdx_truly_sane_lists
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format