-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathmkdocs.yml
112 lines (105 loc) · 4.29 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
# Project Information
site_name: 聪明办法学 Python 第二版
site_description: 聪明方法学Python,简明且系统的 Python 入门教程第二版。
site_author: P2S Team
site_url: https://datawhalechina.github.io/learn-python-the-smart-way-v2/
strict: false
# Repository
repo_name: "datawhalechina/learn-python-the-smart-way-v2"
repo_url: "https://github.com/datawhalechina/learn-python-the-smart-way-v2"
# Copyright
copyright: "Copyright © 2022 - 2024 Datawhale P2S Team"
# Contents
nav:
- 简介:
- 课程简介: index.md
- 课程背景: Index/background.md
- 课程进度:
- 课程进度列表: Schedule/schedule.md
- 学习目标: Aims/aims.md
- 组队学习: Schedule/team_learning.md
# - 授课形式: Method/method.md
- 答疑交流:
- 如何提问: Question/question.md
- 课程资源: Reference/reference.md
- 优秀笔记: Notes/note.md
- 参与贡献:
- 如何贡献: Contribute/contribute.md
- 项目结构: Contribute/repo_tree.md
- 教学团队工作流: Contribute/workflows.md
- 贡献细则:
- 课程主页、论坛进度: Contribute/contribute_detail/web_and_forum.md
- 作业发布、作业验证: Contribute/contribute_detail/homework.md
- 直播辅助、视频剪辑: Contribute/contribute_detail/live_and_video.md
- 文字教程、反馈收集: Contribute/contribute_detail/textbook_and_feedback.md
- 进度跟进、答疑讨论: Contribute/contribute_detail/progress_and_discuss.md
- 课程大纲、课程内容: Contribute/contribute_detail/outline_and_content.md
- 教学团队:
- 团队成员: Team/team.md
- 关于 Datawhale: https://datawhale.club/
theme:
name: material
logo: images/small_datawhale_logo.png
palette:
- scheme: default # 日间模式
primary: white # 上方的
accent: red # 链接等可交互元件的高亮色
toggle:
icon: material/weather-night # 图标
name: 切换至夜间模式 # 鼠标悬浮提示
- scheme: slate # 夜间模式
primary: black
accent: yellow
toggle:
icon: material/weather-sunny
name: 切换至日间模式
features:
- navigation.instant #- header.autohide #自动隐藏
- announce.dismiss #呈现可标记为由用户读取的临时公告,可以包含一个用于取消当前公告的按钮
- navigation.tracking #地址栏中的 URL 将自动更新为在目录中突出显示的活动锚点
- navigation.tabs #顶级部分将呈现在上面视口标题下方的菜单层中,但在移动设备上保持原样
- navigation.top # 返回顶部的按钮 在上滑时出现
- search.suggest # 搜索输入一些字母时推荐补全整个单词
- search.highlight # 搜索出的文章关键词加入高亮
- content.code.copy # 代码块右侧复制到剪切板
#- navigation.expand # 打开Tab时左侧目录全部展开
language: zh # 一些提示性的文字会变成中文
extra:
generator: false
plugins:
- search
- tags #标签
- glightbox
markdown_extensions:
- abbr
- pymdownx.arithmatex: # MathJax 支持
generic: true
- pymdownx.caret
- pymdownx.mark
- pymdownx.tilde
- md_in_html
- toc:
permalink: true # 固定标题位置为当前位置
- pymdownx.highlight: # 代码块高亮
anchor_linenums: true
linenums: true # 显示行号
#auto_title: true # 显示编程语言名称
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences # 代码高亮支持
- tables
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- admonition
- pymdownx.details
- pymdownx.pathconverter:
base_path: ""
relative_path: "" # default ''
# absolute: true
tags: 'a script img link object embed'
extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js