-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmkdocs.yml
More file actions
202 lines (166 loc) · 6.83 KB
/
mkdocs.yml
File metadata and controls
202 lines (166 loc) · 6.83 KB
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
site_name: 'Cookiecutter Python Package'
site_url: 'https://python-package-generator.readthedocs.io/'
site_description: '1-click Generator of Python Project, from Template with streamlined \"DevOps\" using a powerful CI/CD Pipeline.'
site_author: 'Konstantinos Lampridis'
repo_url: 'https://github.com/boromir674/cookiecutter-python-package/'
repo_name: 'boromir674/cookiecutter-python-package'
edit_uri: blob/main/docs/
theme:
# 1
name: material
icon:
logo: material/palette
previous: fontawesome/solid/angle-left
next: fontawesome/solid/angle-right
default: material/tag
features:
# render a breadcrumb navigation above the title of each page, which might make orientation easier for users visiting your documentation on devices with smaller screens.
- navigation.path
- navigation.top # back-to-top button shown when user, after scrolling down, starts to scroll up again.
- navigation.footer
# enables switching multiple tabs with the same name
- content.tabs.link
# renders copy button on code blocks
- content.code.copy
- navigation.instant
# URL in the address bar is automatically updated with the active anchor as highlighted in the table of contents (right sidebar)
- navigation.tracking
- navigation.indexes
plugins:
# Enable jinja inside your markdown files
# - allows {% include %} statements
# - requires careful escape of double-braces in markdown
# - requires wrapping content between {% raw %} and {% endraw %}
# https://github.com/fralau/mkdocs_macros_plugin
- macros:
include_dir: docs/includes
# Authors need installation
# - git-authors
# Automated Tags - Page Generation
# - tags
- tags:
tags_file: tags.md
# BASIC SEARCH PLUGIN
- search
# MERMAID Render Support
- mermaid2
# Directives Provider for docstrings parsing
- mkdocstrings
# gain the ability to tap-in to the build process
- gen-files:
# scripts allowing to programmatically generate .md content
scripts:
# custom script to generate API references
- scripts/gen_api_refs_pages.py
# programmatically generate Nav Item: ie 'reference/' entry in Navigation
- literate-nav:
nav_file: SUMMARY.md
# - section-index
# Enable displaying at the bottom of pages the last date of modification!
# uv add --optional docs 'mkdocs-git-revision-date-localized-plugin'
- git-revision-date-localized
markdown_extensions:
- mkdocs-click
- pymdownx.highlight
### ADMONITIONS ###
# enabled block kelements such as example, note, info, warning, tip, etc
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
### SUPERFENCES ###
# arbitrary nesting of code and content blocks inside each other,
# including admonitions, tabs, lists and all other elements
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#superfences
# this custom fence defined below with name 'mermaid' is required
# to prevent superfences from breaking mermaid default syntax (3 backticks)!
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
### TABBED ###
# usage of content tabs, a simple way to group related content and
# code blocks under accessible tabs.
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tabbed
- pymdownx.tabbed:
alternate_style: true
### GRIDS ###
- attr_list
- md_in_html
### ICONS/EMOJIS ###
# https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/#with-colors-docsstylesheetsextracss
# The following icon sets are bundled with Material for MkDocs:
# – Material Design: https://pictogrammers.com/library/mdi/
# – FontAwesome : https://fontawesome.com/search?ic=free
# – Octicons : https://primer.style/octicons/
# – Simple Icons : https://simpleicons.org/
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
### On-HOVER TOOLTIP ###
# abbr by default supports tooltips on url links
- abbr
# if attr_list is also added, then tooltips on other html elements are supported as below:
# ie :material-information-outline:{ title="Important information" }
# The Details extension supercharges the Admonition extension, making the resulting call-outs collapsible, allowing them to be opened and closed by the user.
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#details
# example: ??? blahblah
# expanded example: ???+ blahblah
# if element is insise non-trivial content wrap in div with class markdown
- pymdownx.details
###### SITE NAVIGATION ######
nav:
## Landing Page ##
- Home: index.md
## Motivation ##
- Motivation: topics/why_this_package.md
## TUTORIALS ##
# - Tutorials:
# Landing Page
# - "tutorials/index.md"
## HOW-TO GUIDES ##
- Guides:
# Landing Page
- "guides/index.md"
# Nested Pages
# - "Process - Release Me": "topics/gitops/release-me-process.md"
## REFERENCES ##
- API References: reference/
## TOPICS/EXPLANATIONS ##
- Topics:
# Generator Process and Parameter default computation
- "Generator Process": "topics/generator_process.md"
# Generation Process CLI - Flowchart
- "Generator Process CLI": "topics/cli_logic.md"
# Project Architecture
- "Architecture": "topics/arch.md"
# Python Dependencies
- "Python Dependencies": "topics/dependencies.md"
# Development topics: build process, CI/CD, etc.
- Development:
# Landing Page
- "topics/development/index.md"
# Nested Pages
- "Docker": "topics/development/build_process_DAG.md"
- "CI/CD": "topics/development/cicd.md"
- "Dependabot": "topics/development/dependabot.md"
# GitOps / Processes
- "Reference Processes":
# Process subpage 1
- V2:
- "Topic Branch into dev": "topics/development/topic_branch_to_dev.md"
# Process subpage 2
- "Release Changes":
- "topics/development/gitops/index.md"
- V1:
- "Single Branch - Tutorial": "topics/development/gitops/tutorial_release_my_branch_v2.md"
- "Single Branch - Guide": "topics/development/gitops/gitops-v2.md"
- "Single Branch - Cheatsheet": "topics/development/gitops/gitops-v2-cheatsheet.md"
- "Multi Branch - Cheatsheet": "topics/development/gitops/gitops-multi-topics-cheatsheet.md"
# Process subpage 3
- "Docs-only Release": "topics/development/docs_only_release_process.md"
# Process subpage 4
- "Make an RC (Candidate) Release ": "topics/development/release_candidate.md"
# Tags - Page #
- tags: tags.md
extra:
generator: false