Skip to content

Commit

Permalink
Merge pull request #102 from readthedocs/fix-docs
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
astrojuanlu authored Nov 8, 2021
2 parents 96d8a14 + 3931095 commit ef1c782
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
version: 2

build:
os: "ubuntu-20.04"
tools:
python: "3.9"
nodejs: "16"

python:
version: 3
install:
- method: pip
path: .
Expand Down
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,7 @@
def setup(app):
app.add_object_type('confval', 'confval',
'pair: %s; configuration value')

# Install necessary NPM dependencies
import subprocess
subprocess.check_output(["npm", "install", "-g", "jsdoc"])
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sphinx==3.5.1
docutils==0.16.0
sphinx-prompt==1.1.0
sphinx-tabs==2.0.1
sphinx-rtd-theme==0.4.3
sphinx-rtd-theme==1.0.0
sphinx-notfound-page==0.3
sphinx-js==3.1
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ deps =
sphinx1: Sphinx<2.0
sphinx2: Sphinx<3.0
sphinx3: Sphinx<4.0
{sphinx1,sphinx2,sphinx3}: docutils<0.18
sphinxlatest: Sphinx
commands = pytest {posargs}

Expand Down

0 comments on commit ef1c782

Please sign in to comment.