Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit ef1c782

Browse files
authored
Merge pull request #102 from readthedocs/fix-docs
Fix docs
2 parents 96d8a14 + 3931095 commit ef1c782

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.readthedocs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
version: 2
22

3+
build:
4+
os: "ubuntu-20.04"
5+
tools:
6+
python: "3.9"
7+
nodejs: "16"
8+
39
python:
4-
version: 3
510
install:
611
- method: pip
712
path: .

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,3 +191,7 @@
191191
def setup(app):
192192
app.add_object_type('confval', 'confval',
193193
'pair: %s; configuration value')
194+
195+
# Install necessary NPM dependencies
196+
import subprocess
197+
subprocess.check_output(["npm", "install", "-g", "jsdoc"])

docs/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
sphinx==3.5.1
2+
docutils==0.16.0
23
sphinx-prompt==1.1.0
34
sphinx-tabs==2.0.1
4-
sphinx-rtd-theme==0.4.3
5+
sphinx-rtd-theme==1.0.0
56
sphinx-notfound-page==0.3
67
sphinx-js==3.1

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ deps =
1313
sphinx1: Sphinx<2.0
1414
sphinx2: Sphinx<3.0
1515
sphinx3: Sphinx<4.0
16+
{sphinx1,sphinx2,sphinx3}: docutils<0.18
1617
sphinxlatest: Sphinx
1718
commands = pytest {posargs}
1819

0 commit comments

Comments
 (0)