-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
137 lines (130 loc) · 3.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
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
site_name: Python Project Template
site_url: 'https://deargen-ai.gitlab.io/python-project-template-docs'
repo_url: 'https://github.com/deargen/python-project-template-2024'
copyright: |
© 2024 <a href="https://deargen.me" target="_blank" rel="noopener">Deargen Inc.</a>
watch: [mkdocs.yml, README.md, src/]
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
nav:
- Home:
- Overview: index.md
- Changelog: CHANGELOG.md
- Document Generator:
- MkDocs: mkdocs/mkdocs.md
- GitLab Pages 세팅: mkdocs/gitlab_pages.md
- 파이썬 referencing: mkdocs/mkdocstrings.md
- API Reference 페이지: mkdocs/api_reference.md
- Admonition (Note 창): mkdocs/admonitions.md
- Git:
- 커밋 메시지: git/git_commit.md
- GitHub 사용법: git/github.md
- 버전 릴리즈: git/release_version.md
- Format code on GitHub: git/format_code.md
- Python tools:
- Formatters (black, isort): python_tools/formatters.md
- Linter (ruff): python_tools/linter.md
- LSP (pylance): python_tools/lsp.md
- TODO highlights: python_tools/todo_highlights.md
- 기타 플러그인: python_tools/other_vscode_extensions.md
- Python:
- logging: python/logging.md
- Version from Git Tag: python/versione_pioneer.md
- Configuration: python/configuration.md
- PyPI 등록: python/publish_to_pypi.md
# defer to gen-files + literate-nav
- API reference:
- mkdocstrings-python: reference/
theme:
name: material
font:
text: Noto Sans Korean
code: Jetbrains Mono
features:
- toc.follow
- navigation.top
- navigation.footer
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.indexes
- navigation.path
- search.suggest
- search.highlight
- content.tabs.link
- content.code.annotation
- content.code.copy
language: ko
palette:
- media: '(prefers-color-scheme: light)'
scheme: default
primary: teal
accent: purple
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: '(prefers-color-scheme: dark)'
scheme: slate
primary: black
accent: lime
toggle:
icon: material/weather-night
name: Switch to system preference
plugins:
- search
- callouts:
aliases: false
- gen-files:
scripts:
- scripts/gen_ref_nav.py
- literate-nav:
nav_file: SUMMARY.md
- mkdocstrings:
handlers:
python:
options:
show_symbol_type_heading: true
show_symbol_type_toc: true
members_order: source
allow_inspection: false # for .pyi stubs to work
paths: [src] # search packages in the src folder
extra:
social:
- icon: fontawesome/brands/github-alt
link: https://github.com/deargen/python-project-template-2024
version:
provider: mike
markdown_extensions:
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- admonition
- pymdownx.arithmatex:
generic: true
- footnotes
- pymdownx.details
- pymdownx.superfences
- pymdownx.mark
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.tilde # strikethrough with ~~ ~~
- toc:
permalink: true
# MathJax
- pymdownx.arithmatex:
generic: true
extra_javascript:
- javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
extra_css:
- stylesheets/extra_admonitions.css