Skip to content

Commit

Permalink
revert hack try to bump all sphinx related versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dvsrepo committed Oct 29, 2021
1 parent 8c9b0d7 commit 0f0948c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,3 @@
ogp_custom_meta_tags = [
'<meta name="twitter:card" content="summary_large_image" />',
]

# try to render plotly graphs
def remove_jquery_and_underscore(app):
# We need to remove the jquery and underscore file that are
# added by default because we already add it in the <head> tag.
remove = lambda x: not any(js in x for js in ['jquery', 'underscore'])
if hasattr(app.builder, 'script_files'):
app.builder.script_files = [x for x in app.builder.script_files
if remove(x)]

def setup(app):
app.connect('builder-inited', remove_jquery_and_underscore)
4 changes: 2 additions & 2 deletions environment_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ dependencies:
# build python sdk
- openapi-python-client~=0.8.0
# docs
- sphinx==4.1.2
- sphinx_rtd_theme==0.5.2
- sphinx==4.2.0
- sphinx_rtd_theme==1.0.0
- nbsphinx==0.8.7
- sphinxext.opengraph==0.4.2
# code formatting
Expand Down

0 comments on commit 0f0948c

Please sign in to comment.