Skip to content

Commit

Permalink
DOC: Fix documentation requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Nov 14, 2023
1 parent 54a59da commit 793f865
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
13 changes: 6 additions & 7 deletions .pre-commit-config.yaml
Expand Up @@ -41,17 +41,16 @@ repos:
- id: pydocstyle

- repo: https://github.com/thclark/pre-commit-sphinx
rev: 0.0.1
rev: 0.0.3
hooks:
- id: build-docs
language_version: python3
additional_dependencies:
- 'Sphinx>=2,<3'
- 'sphinx-rtd-theme==0.5.0'
- 'sphinx-tabs==1.2.1'
- 'sphinx-charts==0.0.4'
- 'scipy~=1.5.2'
- 'jsonschema~=3.2.0'
- 'Sphinx'
- 'sphinx-rtd-theme'
- 'sphinx-tabs'
- 'sphinx-charts'
- 'jsonschema'

- repo: https://github.com/windpioneers/pre-commit-hooks
rev: 0.0.5
Expand Down
11 changes: 5 additions & 6 deletions docs/requirements.txt
@@ -1,7 +1,6 @@
# Required by the python script for building documentation
Sphinx>=2,<3
sphinx-rtd-theme==0.5.0
sphinx-tabs==1.2.1
sphinx-charts==0.0.4
scipy~=1.5.2
jsonschema~=3.2.0
Sphinx
sphinx-rtd-theme
sphinx-tabs
sphinx-charts
jsonschema
2 changes: 0 additions & 2 deletions docs/source/_ext/sphinx_accordion/accordion.py
Expand Up @@ -245,8 +245,6 @@ def setup(app):
if path.endswith('.js'):
if 'add_script_file' in dir(app):
app.add_script_file(path)
else:
app.add_javascript(path)

app.connect('html-page-context', update_context)
app.connect('build-finished', copy_assets)
Expand Down

0 comments on commit 793f865

Please sign in to comment.