File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2323 - run :
2424 name : Build docs to store
2525 command : |
26- cd docs
27- make html
26+ sphinx-build -W -b html docs docs/_build/
2827
2928 - store_artifacts :
3029 path : docs/_build/html/
Original file line number Diff line number Diff line change 8787# Add any paths that contain custom static files (such as style sheets) here,
8888# relative to this directory. They are copied after the builtin static files,
8989# so a file named "default.css" will overwrite the builtin "default.css".
90- html_static_path = ["_static" ]
90+ # html_static_path = ["_static"]
9191
9292# Custom sidebar templates, must be a dictionary that maps document names
9393# to template names.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def st_static_path(app):
1313
1414def add_to_context (app , config ):
1515 # Update the global context
16- config .html_context .update ({' togglebutton_hint' : config .togglebutton_hint })
16+ config .html_context .update ({" togglebutton_hint" : config .togglebutton_hint })
1717
1818
1919# This function reads in a variable and inserts it into JavaScript
@@ -58,7 +58,7 @@ def setup(app):
5858 app .connect ("builder-inited" , st_static_path )
5959
6060 # Add relevant code to headers
61- app .add_stylesheet ("togglebutton.css" )
61+ app .add_css_file ("togglebutton.css" )
6262
6363 # Add the string we'll use to select items in the JS
6464 # Tell Sphinx about this configuration variable
You can’t perform that action at this time.
0 commit comments