-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched Sphinx Markdown extension from Recommonmark to MyST.
This allows cross-linking to sections, not just chapters, as well as better support for Sphinx directives, and also renders a tad nicer.
- Loading branch information
Showing
9 changed files
with
67 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
sphinx>=2.0.0 | ||
sphinx_rtd_theme | ||
recommonmark | ||
myst-parser | ||
commonmark | ||
docutils==0.16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
.section { text-align: justify } | ||
.pre { color:black } | ||
|
||
code.docutils > span.pre { color: black; font-weight: normal } | ||
p + div[class^="highlight"] { margin-top: -12px !important } | ||
|
||
.rst-content ul.simple li > p { margin-bottom: 0} | ||
.rst-content dd ul.simple li > p { margin-bottom: 0 !important } | ||
p + ul.simple { margin-top: -24px } | ||
dd p + ul.simple { margin-top: -12px } | ||
|
||
.rst-content ol.simple li > p { margin-bottom: 0} | ||
.rst-content dd ol.simple li > p { margin-bottom: 0 !important } | ||
p + ol.simple { margin-top: -24px } | ||
ol.simple ol.simple { margin-top: 0; margin-bottom: 0; } | ||
dd p + ol.simple { margin-top: -12px } | ||
p + div[class^="highlight"] { margin-top: -12px !important } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters