-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
87 lines (81 loc) · 3.46 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
site_name: PythonGuide
repo_url: https://github.com/Sakura4036/PythonGuide
repo_name: Sakura4036/PythonGuide
site_url: https://github.com/Sakura4036/PythonGuide
nav:
- 主页: index.md
- 项目开发:
- 基础:
- 项目结构: guidelines/project_structure.md
- 日志: guidelines/logging.md
- 配置文件: guidelines/configuration.md
- 文档管理: guidelines/document.md
- 进阶:
- 代码检测: guidelines/code_lint.md
- 设计模式: guidelines/program_design.md
- 代码重构: guidelines/code_refactor.md
- 高级:
- 环境移植: guidelines/venv_move.md
- Python规范:
- 语言规范: standard/language_rules.md
- 风格规范: standard/style_rules.md
- Git版本控制: git.md
- 设计模式:
- 设计模式: patterns/patterns.md
- 基础原则: patterns/gang of four/principles.md
- Python-Specific模式:
- 全局对象模式: patterns/gang of four/python-specific patterns/global object.md
- 预制法模式: patterns/gang of four/python-specific patterns/prebound method.md
- 哨兵模式: patterns/gang of four/python-specific patterns/sentinel object.md
- 创建型模式:
- Abstract Factory Pattern: patterns/gang of four/creational patterns/abstract factory.md
- Builder Pattern: patterns/gang of four/creational patterns/builder.md
- Factory Method Pattern: patterns/gang of four/creational patterns/factory method.md
- Prototype Pattern: patterns/gang of four/creational patterns/prototype.md
- Singleton Pattern: patterns/gang of four/creational patterns/singleton.md
- 结构型模式:
- Composite Pattern: patterns/gang of four/structural patterns/composite.md
- Decorator Pattern: patterns/gang of four/structural patterns/decorator.md
- Flyweight Pattern: patterns/gang of four/structural patterns/flyweight.md
- 行为型模式:
- Iterator Pattern: patterns/gang of four/behavioral patterns/iterator.md
- 参考目录: reference.md
#主题
theme:
name: 'material'
language: 'zh' # 配置语言
palette: # 颜色
primary: 'light blue'
#accent: 'indigo'
features:
- navigation.tabs
- search.highlight
- navigation.tracking # 锚点导航, url显示,可以用于超链接定位
custom_dir: 'docs/resources/'
markdown_extensions:
- admonition # 提示块
- footnotes # 脚注
- meta # 定义元数据,通过文章上下文控制,如disqus
- pymdownx.caret # 下划线上标
- pymdownx.tilde # 删除线下标
- pymdownx.critic # 增加删除修改高亮注释,可修饰行内或段落
- pymdownx.details # 提示块可折叠
- pymdownx.inlinehilite # 行内代码高亮
- pymdownx.mark # 文本高亮
- pymdownx.smartsymbols # 符号转换
- pymdownx.superfences # 代码嵌套在列表里
- codehilite: # 代码高亮,显示行号
guess_lang: false
linenums: true
- toc: # 锚点
permalink: true
# - pymdownx.arithmatex # 数学公式
- pymdownx.betterem: # 对加粗和斜体更好的检测
smart_enable: all
# - pymdownx.emoji: # 表情
# emoji_generator: !!python/name:pymdownx.emoji.to_svg
# - pymdownx.magiclink # 自动识别超链接
- pymdownx.tasklist: # 复选框checklist
custom_checkbox: true
plugins:
- search