forked from coderefinery/sphinx-lesson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rst-to-myst-config.yaml
56 lines (51 loc) · 2.19 KB
/
rst-to-myst-config.yaml
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
# This is a config that can be used with rst2myst. It may need
# adjusting to your needs, but covers the most common CodeRefinery
# extensions:
#
# $ convert --config ../sphinx-lesson/rst-to-myst-config.yaml -S -W content/**.rst
#
# https://rst-to-myst.readthedocs.io/en/latest/usage.html
#
# To verify it got everything, run:
# $ grep -ri eval-rst content/
#
# To add more roles, you can find the internal name using this
# command. Make sure you specify the right extension to load, both in
# this command and added to this list:
# $ rst2myst directives show -e sphinx_tabs.tabs list-table
extensions:
- sphinx_lesson
- sphinx_tabs.tabs
- sphinx_lesson.directives
- sphinx_lesson.exerciselist
sphinx: true
conversions:
prereq: parse_all
sphinx.directives.patches.CSVTable: direct
docutils.parsers.rst.directives.tables.ListTable: direct
sphinx_lesson.directives._BaseCRDirective: parse_all
sphinx_lesson.directives.PrerequisitesDirective: parse_all
sphinx_lesson.directives.DemoDirective: parse_all
sphinx_lesson.directives.Type_AlongDirective: parse_all
sphinx_lesson.directives.ExerciseDirective: parse_all
sphinx_lesson.directives.SolutionDirective: parse_all
sphinx_lesson.directives.HomeworkDirective: parse_all
sphinx_lesson.directives.Instructor_NoteDirective: parse_all
sphinx_lesson.directives.PrerequisitesDirective: parse_all
sphinx_lesson.directives.DiscussionDirective: parse_all
sphinx_lesson.directives.QuestionsDirective: parse_all
sphinx_lesson.directives.ObjectivesDirective: parse_all
sphinx_lesson.directives.KeypointsDirective: parse_all
sphinx_lesson.directives.CalloutDirective: parse_all
sphinx_lesson.directives.ChecklistDirective: parse_all
sphinx_lesson.directives.TestimonialDirective: parse_all
sphinx_lesson.directives.OutputDirective: parse_all
sphinx_lesson.directives.: parse_all
sphinx_lesson.directives.: parse_all
sphinx_lesson.directives.: parse_all
sphinx_lesson.directives.: parse_all
sphinx_lesson.exerciselist.ExerciselistDirective: parse_all
sphinx_tabs.tabs.TabsDirective: parse_all
sphinx_tabs.tabs.TabDirective: parse_all
sphinx_tabs.tabs.GroupTabDirective: parse_all
sphinx_tabs.tabs.CodeTabDirective: parse_argument