Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
- run:
name: Build docs to store
command: |
cd docs
make html
sphinx-build -W -b html docs docs/_build/

- store_artifacts:
path: docs/_build/html/
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
# html_static_path = ["_static"]

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down
4 changes: 2 additions & 2 deletions sphinx_togglebutton/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def st_static_path(app):

def add_to_context(app, config):
# Update the global context
config.html_context.update({'togglebutton_hint': config.togglebutton_hint})
config.html_context.update({"togglebutton_hint": config.togglebutton_hint})


# This function reads in a variable and inserts it into JavaScript
Expand Down Expand Up @@ -58,7 +58,7 @@ def setup(app):
app.connect("builder-inited", st_static_path)

# Add relevant code to headers
app.add_stylesheet("togglebutton.css")
app.add_css_file("togglebutton.css")

# Add the string we'll use to select items in the JS
# Tell Sphinx about this configuration variable
Expand Down