-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
158 lines (153 loc) · 5.85 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
site_name: "bankid-asyncio"
site_description: "bankid-asyncio - BankID client for Python with asyncio support." # SEO
site_author: "Kostiantyn Salnykov"
site_dir: "docs_build" # Build directory
site_url: "https://kostiantyn-salnykov.github.io/bankid_asyncio" # logo link
dev_addr: "localhost:9999" # local server `HOST:PORT`
repo_url: "https://github.com/Kostiantyn-Salnykov/bankid_asyncio"
repo_name: "Kostiantyn-Salnykov/bankid_asyncio" # name of Git repository
edit_uri: "" # disable `edit` button
remote_branch: "docs" # gh-deploy branch name
copyright: "Copyright © 2022 bankid-asyncio - All rights reserved." # Footer at bottom
theme:
name: "material"
# logo: ""
# favicon: ""
language: "en"
locale: "en"
palette:
- scheme: "default"
primary: "black"
accent: "green"
toggle:
icon: "material/weather-night"
name: "Switch to dark mode"
- scheme: "slate"
primary: "black"
accent: "green"
toggle:
icon: "material/weather-sunny"
name: "Switch to light mode"
font:
text: "Robot"
code: "Roboto Mono"
features:
- navigation.indexes # remove navigation duplicates (for tabs)
# - navigation.top
# - navigation.tabs.sticky
# - navigation.tabs
# - toc.integrate # move navigation to the left
- navigation.sections
- navigation.expand
- navigation.instant
- search.suggest
- search.share
- search.highlight
- content.tabs.link
nav:
- Main 🏡: index.md
- Setup BankID 🔧: setup.md
- Usage 🔌: usage.md
plugins:
- glightbox # image zoom & drag
- mkdocstrings: # embed python code with docstring inside .md
default_handler: python
handlers:
python:
options:
show_source: false # Show source code of module | class | method | function
show_bases: true # Show base classes
show_root_heading: true # Show path and class name in render
heading_level: 3 # TOC level of
show_category_heading: true
show_submodules: true
show_if_no_docstrings: true
show_signature_annotations: true
annotations_path: "source"
- search:
min_search_length: 2
lang:
- "en"
- "uk"
- macros:
verbose: true
on_error_fail: true
include_dir: "docs"
- i18n:
docs_structure: "suffix"
default_language: "en"
languages:
en:
name: "English"
site_name: "bankid-asyncio"
uk:
name: "Українська"
site_name: "bankid-asyncio"
nav_translations:
uk:
# Welcome: "Ласкаво просимо"
# Architecture: "Архітектура"
- build_plantuml:
render: "server" # or "local" for local rendering
server: "http://www.plantuml.com/plantuml" # official plantuml server
disable_ssl_certificate_validation: true # for self-signed and invalid certs
output_format: "png" # or "svg"
diagram_root: "docs/diagrams" # should reside under docs_dir
output_folder: "out"
input_folder: "src"
input_extensions: "" # comma separated list of extensions to parse, by default every file is parsed
markdown_extensions:
- footnotes # Ability to set hyperlink to bottom of page (as in Wikipedia)
- pymdownx.tabbed # Ability to create switchable tabs
- pymdownx.inlinehilite # Ability to insert code line that highlighted for specified language, e.g. `#!py3 <CODE>` or `:::py3 <CODE>`
- pymdownx.caret # Ability to create power by using caret ^, e.g.: H^2^O (chemical formula)
- pymdownx.mark # Mark text (highlight), e.g.: ==text==
- pymdownx.tilde # Text markers, e.g.: ~~deleted~~ OR ~sub text~
# Add symbols, e.g.:(tm)=>™; (c)=>©; (r)=>®; c/o=>℅; +/-=>±; --> => →; <-- => ←; <--> => ↔; =/= => ≠; 1/4 => ¼ etc.; 1st 2nd etc.
- pymdownx.smartsymbols
- pymdownx.magiclink # Make clickable links | emails
# === Admonitions support
# TYPEs: note, abstract, summary, tldr, info, tip, hind, important, success, check, done, question, help, faq,
# warning, caution, attention, failure, fail, missing, danger, error, bug, example, quote, cite, todo
- admonition # e.g.: !!! <TYPE>
- pymdownx.details # ??? <TYPE> (clickable admonition - accordion)
- pymdownx.superfences: # Ability to set HTML & CSS attributes inside code blocks
- pymdownx.keys # Ability to write keys, e.g.: ++ctrl+alt+delete++
# ===
- pymdownx.tabbed:
alternate_style: true # Enable horizontal tabs, e.g.: ===
- pymdownx.extra
- abbr # Ability to use abbreviations, e.g.: *[HTML]: Hyper Text Markup Language
- attr_list # Ability to set HTML & CSS attributes
- meta # Add <meta> tags to HTML
- toc: # Table of contents - right sidebar
title: "On this page"
permalink: ⚓ # change icon of anchor link
permalink_title: "Anchor link to this section for reference" # Tooltip message
toc_depth: 4 # number of depth for `table of contents`
- def_list # add extra symbols for define lists: `-`; `*`; `+`
- pymdownx.tasklist: # Ability to add tasks lists with `- [x] This is checked`; `- [ ] This is not checked`
custom_checkbox: true
- pymdownx.highlight:
linenums: true # chow line numbers inside code
guess_lang: true # determines language automatically
anchor_linenums: true
line_anchors: true
linenums_style: table
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.snippets:
base_path: "."
check_paths: true
auto_append:
- "docs/common/abbreviations.md" # File for all abbreviations
extra:
generator: false
alternate:
- link: "./"
name: "🇺🇸 - English"
lang: "en"
- link: "./uk/"
name: "🇺🇦 - Українська"
lang: "uk"