-
Notifications
You must be signed in to change notification settings - Fork 15
/
mkdocs.yml
105 lines (89 loc) · 2.81 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# AutoBot Information
site_name: AutoBot Documentation
site_author: Tobais
edit_uri: blob/main/docs/
# Repository
repo_name: OSCA-Kampala-Chapter/autobot
repo_url: https://github.com/OSCA-Kampala-Chapter/autobot
# Configuration
theme:
name: material
features:
- navigation.tabs
- header.autohide #the header is automatically hidden when the user scrolls past a certain threshold, leaving more space for content. Add the following lines to mkdocs.yml:
- search.suggest
- search.share
- search.highlight
language: en
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/brightness-auto
name: Switch to light mode
primary: deep orange
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference
primary: deep orange
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
primary: deep orange
logo: assets/logo.png
favicon: assets.png
# defines the order of the markdown
nav:
- Home: index.md
- Objects: objects.md
- Reference: reference.md
- FAQS: faqs.md
# These appeal to the footer section of the file and are linked to direct following handles
extra:
extra_css:
- stylesheets/extra.css
social:
- icon: fontawesome/brands/github
link: https://github.com/OSCA-Kampala-Chapter/autobot
- icon: fontawesome/brands/twitter
link: https://twitter.com/oscakampala
- icon: fontawesome/brands/linkedin
link: https://linkedin.com/in/oscakampala
- icon: fontawesome/brands/instagram
link: https://www.instagram.com/oscakampala
# These are markdown extensions: `They are used up in highliting of
#codes and even make the page to look more cute`
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- admonition
- pymdownx.arithmatex:
generic: true
- footnotes
- pymdownx.details
- pymdownx.superfences
- pymdownx.mark
# Plugins: This is a plugin that enables the search engine
#in the markdown file.
plugins:
- search:
separator: '[\s\-\.]'
- mkdocstrings:
custom_templates: templates
default_handler: python
handlers:
python:
options:
show_source: false
# Copyright Section: In this section, it's almost the same as adding a copyright tag in the
#html languange. All waht it does is to add a copyright infomation message within the footer section.
copyright: |
© 2022 <a href="https://github.com/OSCA-Kampala-Chapter/autobot" target="_blank" rel="noopener">Autobot</a>