This repository was archived by the owner on Jun 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
project_template/_templates/plugin_layouts/sphinx_bootstrap Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3333extensions = [
3434 "sphinx.ext.mathjax" ,
35- "recommonmark " ,
35+ "myst_parser " ,
3636 "sphinx.ext.intersphinx" ,
3737] + runestone_extensions ()
3838
322322# It True, sets js files from Sphinx & Runestone to be loaded with defer attr
323323# substantially speeding up page rendering. May cause issues with books that
324324# have custom directives or raw html that assume jquery or another library
325- # is loaded before body is parsed.
325+ # is loaded before body is parsed.
326326html_defer_js = True
327327
328328# Output file base name for HTML help builder.
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ selenium>=2.53.6
88pyvirtualdisplay
99pytest
1010pylint
11- readme-renderer>24
11+ readme-renderer>24
12+ myst_parser
Original file line number Diff line number Diff line change 11#
2- # This file is autogenerated by pip-compile with python 3.9
2+ # This file is autogenerated by pip-compile
33# To update, run:
44#
55# pip-compile --output-file=requirements-dev.txt requirements-dev.in requirements.in
@@ -8,8 +8,12 @@ alabaster==0.7.12
88 # via sphinx
99astroid == 2.6.5
1010 # via pylint
11- attrs == 21.2 .0
11+ atomicwrites == 1.4 .0
1212 # via pytest
13+ attrs == 21.2.0
14+ # via
15+ # markdown-it-py
16+ # pytest
1317babel == 2.9.1
1418 # via sphinx
1519bleach == 3.3.1
@@ -18,7 +22,7 @@ certifi==2021.5.30
1822 # via requests
1923charset-normalizer == 2.0.3
2024 # via requests
21- click == 8.0.1
25+ click == 7.1.2
2226 # via
2327 # -r requirements.in
2428 # pip-tools
@@ -27,10 +31,16 @@ codechat==1.8.8
2731cogapp == 3.0.0
2832 # via -r requirements.in
2933colorama == 0.4.4
30- # via twine
34+ # via
35+ # pylint
36+ # pytest
37+ # sphinx
38+ # tqdm
39+ # twine
3140docutils == 0.16
3241 # via
3342 # codechat
43+ # myst-parser
3444 # readme-renderer
3545 # sphinx
3646easyprocess == 0.3
@@ -50,17 +60,27 @@ iniconfig==1.1.1
5060isort == 5.9.3
5161 # via pylint
5262jinja2 == 3.0.1
53- # via sphinx
63+ # via
64+ # myst-parser
65+ # sphinx
5466keyring == 23.0.1
5567 # via twine
5668lazy-object-proxy == 1.6.0
5769 # via astroid
5870lxml == 4.6.3
5971 # via codechat
72+ markdown-it-py == 1.1.0
73+ # via
74+ # mdit-py-plugins
75+ # myst-parser
6076markupsafe == 2.0.1
6177 # via jinja2
6278mccabe == 0.6.1
6379 # via pylint
80+ mdit-py-plugins == 0.2.8
81+ # via myst-parser
82+ myst-parser == 0.15.1
83+ # via -r requirements-dev.in
6484packaging == 21.0
6585 # via
6686 # bleach
@@ -95,17 +115,21 @@ pytz==2021.1
95115 # via babel
96116pyvirtualdisplay == 2.2
97117 # via -r requirements-dev.in
118+ pywin32-ctypes == 0.2.0
119+ # via keyring
120+ pyyaml == 5.4.1
121+ # via myst-parser
98122readme-renderer == 29.0
99123 # via
100124 # -r requirements-dev.in
101125 # twine
126+ requests-toolbelt == 0.9.1
127+ # via twine
102128requests == 2.26.0
103129 # via
104130 # requests-toolbelt
105131 # sphinx
106132 # twine
107- requests-toolbelt == 0.9.1
108- # via twine
109133rfc3986 == 1.5.0
110134 # via twine
111135selenium == 3.141.0
@@ -121,6 +145,7 @@ snowballstemmer==2.1.0
121145sphinx == 3.5.4
122146 # via
123147 # -r requirements.in
148+ # myst-parser
124149 # sphinxcontrib-paverutils
125150sphinxcontrib-applehelp == 1.0.2
126151 # via sphinx
Original file line number Diff line number Diff line change 11# *********
22# |docname|
33# *********
4- click
4+ click<8.0
55Paver>=1.2.4
66six>1.12
77Sphinx<4.0.0
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ certifi==2021.5.30
1212 # via requests
1313charset-normalizer == 2.0.3
1414 # via requests
15- click == 8.0.1
15+ click < 8.0
1616 # via -r requirements.in
1717codechat == 1.8.8
1818 # via -r requirements.in
Original file line number Diff line number Diff line change @@ -688,11 +688,11 @@ div.flash {
688688 height : 50px
689689}
690690
691- . relations-next {
691+ # relations-next {
692692 right : 35px ;
693693}
694694
695- . relations-prev {
695+ # relations-prev {
696696 left : 35px ;
697697}
698698
@@ -702,35 +702,16 @@ div.flash {
702702 height : 50px ;
703703}
704704
705- .nextprev-list-top {
706- display : none;
707- }
708-
709705@media (max-width : 600px ) {
710-
711- .nextprev-list-top {
712- display : block;
713- }
714706
715707 .navLink {
716708 display : inline-block;
717709 bottom : auto;
718710 position : absolute;
719711 }
720712
721- ul # top-relations-console ,
722- ul # bottom-relations-console {
723- list-style : none;
724- text-align : center;
725- width : 100% ;
726- margin : 0 auto;
727- padding : 40px 0 20px 0 ;
728- }
729-
730- # top-relations-next ,
731- # top-relations-prev ,
732- # bottom-relations-next ,
733- # bottom-relations-prev {
713+ # relations-next ,
714+ # relations-prev {
734715 width : 25% ;
735716 padding : 0 20px ;
736717 display : inline;
Original file line number Diff line number Diff line change 293293< div class ="container " id ="continue-reading "> </ div >
294294
295295< div class ="container " id ="main-content " role ="main ">
296-
297- {% with place='top' %}
298- {% include "subchapter.html" %}
299- {% endwith %}
300-
296+
301297<!-- Ad Serving for Runestone Campaign -->
302298{% if dynamic_pages == 'True' %}
303299 {% raw %}
319315 < div id ="scprogresscontainer ">
320316 You have attempted < span id ="scprogresstotal "> </ span > of < span id ="scprogressposs "> </ span > activities on this page < div id ="subchapterprogress " aria-label ="Page progress "> </ div >
321317 </ div >
322- {% with place='bottom'%}
323- {% include "subchapter.html" %}
324- {% endwith %}
318+
319+ {% include "subchapter.html" %}
320+
325321</ div >
326322{%- endblock %}
327323
Original file line number Diff line number Diff line change 1- < ul role ="navigation " class ="nextprev-list nextprev-list-{{place}} " aria-label ="Change page ">
1+ < ul role ="navigation " class ="nextprev-list nextprev-list " aria-label ="Change page ">
22{%- if prev %}
3- < li id ="relations-prev-{{place}} " class ="relations-prev navLink " title ='Previous Section - {{ prev.title|extractText|extractTextII }} ' data-toggle ="tooltip ">
3+ < li id ="relations-prev " class ="navLink " title ='Previous Section - {{ prev.title|extractText|extractTextII }} ' data-toggle ="tooltip ">
44 < a href ="{{ prev.link|e }} " aria-label ="Previous - {{ prev.title|extractText|extractTextII }} ">
55 < i class ='prevNav glyphicon glyphicon-chevron-left ' style ="top:50%; transform:translateY(-50%)translateX(-50%); left: 50%; color:black; "> </ i >
66 </ a >
77</ li >
88{% endif %}
99
1010{%- if next %}
11- < li id ="relations-next-{{place}} " class ="relations-next navLink " title ='Next Section - {{ next.title|extractText|extractTextII }} ' data-toggle ="tooltip " >
11+ < li id ="relations-next " class ="navLink " title ='Next Section - {{ next.title|extractText|extractTextII }} ' data-toggle ="tooltip " >
1212 < a href ="{{ next.link|e }} " aria-label ="Next - {{ next.title|extractText|extractTextII }} ">
1313 < i id ="relationsNextIcon " class ='nextNav glyphicon glyphicon-chevron-right ' style ="top:50%; transform:translateY(-50%)translateX(-50%); left: 50%; color:black; "> </ i >
1414 </ a >
1818
1919< script >
2020window . addEventListener ( 'load' , ( event ) => {
21- $ ( '#relations-prev-{{place}} ' ) . tooltip ( { 'placement' : 'right' , 'delay' : { show : 100 , hide : 50 } } ) ;
22- $ ( '#relations-next-{{place}} ' ) . tooltip ( { 'placement' : 'left' , 'delay' : { show : 100 , hide : 50 } } ) ;
21+ $ ( '#relations-prev' ) . tooltip ( { 'placement' : 'right' , 'delay' : { show : 100 , hide : 50 } } ) ;
22+ $ ( '#relations-next' ) . tooltip ( { 'placement' : 'left' , 'delay' : { show : 100 , hide : 50 } } ) ;
2323} ) ;
2424</ script >
You can’t perform that action at this time.
0 commit comments