• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# pip install mkdocs mkdocs-material
2# mkdocs serve
3# mkdocs gh-deploy
4
5site_name: KotlinPoet
6repo_name: KotlinPoet
7repo_url: https://github.com/square/kotlinpoet
8site_description: "A Kotlin API for generating .kt source files"
9site_author: Square, Inc.
10remote_branch: gh-pages
11
12copyright: 'Copyright © 2015 Square, Inc.'
13
14theme:
15  name: 'material'
16  logo: 'images/icon-square.png'
17  favicon: 'images/icon-square.png'
18  palette:
19    - media: '(prefers-color-scheme: light)'
20      scheme: default
21      primary: 'cyan'
22      accent: 'deep-purple'
23      toggle:
24        icon: material/weather-night
25        name: Switch to dark mode
26    - media: '(prefers-color-scheme: dark)'
27      scheme: slate
28      primary: 'black'
29      accent: 'blue-grey'
30      toggle:
31        icon: material/weather-sunny
32        name: Switch to light mode
33
34extra_css:
35  - 'css/app.css'
36
37markdown_extensions:
38  - smarty
39  - codehilite:
40      guess_lang: false
41  - footnotes
42  - meta
43  - toc:
44      permalink: true
45  - pymdownx.betterem:
46      smart_enable: all
47  - pymdownx.caret
48  - pymdownx.inlinehilite
49  - pymdownx.magiclink
50  - pymdownx.smartsymbols
51  - pymdownx.superfences
52  - pymdownx.emoji
53  - tables
54  - admonition
55
56nav:
57  - 'Overview':
58    - 'KotlinPoet': index.md
59    - 'Interop - JavaPoet': interop-javapoet.md
60    - 'Interop - kotlinx-metadata': interop-kotlinx-metadata.md
61    - 'Interop - KSP': interop-ksp.md
62  - 'API':
63    - 'kotlinpoet': 1.x/kotlinpoet/index.html
64    - 'interop-javapoet': 1.x/interop-javapoet/index.html
65    - 'interop-kotlinx-metadata': 1.x/interop-kotlinx-metadata/index.html
66    - 'interop-ksp': 1.x/interop-ksp/index.html
67  - 'Stack Overflow ⏏': https://stackoverflow.com/questions/tagged/kotlinpoet?sort=active
68  - 'Change Log': changelog.md
69  - 'Contributing': contributing.md
70