forked from PrairieLearn/PrairieLearn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
187 lines (175 loc) · 6.15 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
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
site_name: PrairieLearn Docs
site_url: https://prairielearn.readthedocs.io
repo_url: https://github.com/PrairieLearn/PrairieLearn
theme:
name: material
logo: assets/flower-square-nobg.svg
custom_dir: docs/overrides
favicon: assets/flower-square-256.png
icon:
repo: fontawesome/brands/github
edit: material/pencil
admonition:
example: material/code-block-tags
annotation: material/plus-circle
palette:
- scheme: default
toggle:
icon: material/brightness-7
icon2: material/arrow-collapse
name: Light mode, default width
primary: custom
accent: custom
- scheme: slate
toggle:
icon: material/brightness-4
icon2: material/arrow-collapse
name: Dark mode, default width
- scheme: default
toggle:
icon: material/brightness-7
icon2: material/arrow-expand
name: Light mode, full width
media: full-width
primary: custom
accent: custom
- scheme: slate
toggle:
icon: material/brightness-4
icon2: material/arrow-expand
name: Dark mode, full width
media: full-width
features:
- navigation.sections
- navigation.expand
- navigation.path
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.tracking
- navigation.footer
- search.suggest
- content.action.edit
- content.code.copy
- content.tooltips
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#adding-annotations
- content.code.annotate
plugins:
- search
- d2:
layout: dagre
pad: 20
theme: 0
docs_dir: docs
# Fix "Edit on GitHub" link: (defaults to edit/master/docs/, note the s)
edit_uri: blob/master/docs/
markdown_extensions:
# Allows us to use 2-space indents on lists, which is compatible with how
# Prettier formats Markdown files.
# https://pypi.org/project/mdx-truly-sane-lists/
- mdx_truly_sane_lists
# allows indented code blocks inside lists
- pymdownx.superfences
- tables
# https://facelessuser.github.io/pymdown-extensions/extensions/snippets/#snippets
- pymdownx.snippets
- pymdownx.details
- toc:
permalink: true
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/?h=pymdownx+blocks+caption#caption
- pymdownx.blocks.caption
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown/?h=attribute+list#attribute-lists
- attr_list
# https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/?h=tabbed#tabbed
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
# https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
# https://squidfunk.github.io/mkdocs-material/reference/icons-emojis
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- md_in_html
extra_javascript:
- assets/mathjax-config.js
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js
extra_css:
- assets/extra.css
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/PrairieLearn/PrairieLearn
- icon: fontawesome/brands/slack
link: https://prairielearn.slack.com
nav:
- Overview: 'index.md'
- Getting Started:
- 'Requesting your course space': 'requestCourse/index.md'
- 'Concepts': 'concepts/index.md'
- 'Quick start': 'getStarted.md'
- 'Workshop': 'workshop/index.md'
- Student Guide:
- 'Accessibility': 'student-guide/accessibility.md'
- Instructor Guide:
- 'Installing and running locally': 'installing.md'
- 'Editing and syncing course content': 'sync.md'
- 'Course configuration': 'course/index.md'
- 'Course instance configuration': 'courseInstance.md'
- 'Assessment configuration': 'assessment/index.md'
- 'Question configuration': 'question.md'
- 'Question runtime environment': 'questionRuntime/index.md'
- 'Elements for writing questions': 'elements.md'
- 'Access control': 'accessControl/index.md'
- 'Remote exams': 'remoteExams.md'
- 'clientFiles and serverFiles': 'clientServerFiles.md'
- 'UUIDs in JSON files': 'uuid.md'
- 'Regrading assessments': 'regrading.md'
- 'Element for drawing': 'pl-drawing/index.md'
- 'External grading': 'externalGrading.md'
- 'Python autograder': 'python-grader/index.md'
- 'C/C++ autograder': 'c-grader/index.md'
- 'Java autograder': 'java-grader/index.md'
- 'Workspaces': 'workspaces/index.md'
- 'Manual grading': 'manualGrading/index.md'
- 'Question sharing': 'questionSharing.md'
- 'What to tell students': 'whatToTellStudents.md'
- 'FAQ': 'faq.md'
- 'API': 'api.md'
- 'LMS Integration': 'lmsIntegrationInstructor.md'
- Developer Guide:
- 'Developer guide': 'dev-guide/index.md'
- 'Running in Docker with local source': 'installingLocal.md'
- 'Running natively': 'installingNative.md'
- 'Server configuration': 'configJson.md'
- 'Question element writing': 'devElements.md'
- 'Element extensions': 'elementExtensions.md'
- 'Code execution': 'codeExecution.md'
- 'Docker packaging': 'docker.md'
- 'Contributing to PL development': 'contributing.md'
- Administrators:
- 'SAML SSO configuration': 'saml.md'
- 'LTI 1.3 configuration': 'lti13.md'
- Running in Production:
- 'Setup': 'running-in-production/setup.md'
- 'Using Docker Compose': 'running-in-production/docker-compose.md'
- 'User Authentication': 'running-in-production/authentication.md'
- 'Admin User': 'running-in-production/admin-user.md'
- Deprecated Features:
- 'Old v1/v2 question format': 'oldQuestion.md'
- 'Old PrairieDraw graphics': 'PrairieDraw.md'
not_in_nav: |
workshop/lesson1.md
workshop/lesson2.md
workshop/lesson3.md
workshop/lesson4.md
workshop/lesson5.md
python-grader/sphinx-docs.md
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
anchors: warn
hooks:
- docs/hooks/d2-svg-file.py