Skip to content

Commit 9f93a5a

Browse files
committed
readthedocs Docker containers have too old a Node.js version, but we can install a newer one with Conda.
1 parent afbc156 commit 9f93a5a

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.readthedocs.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ version: 2
66
sphinx:
77
configuration: docs/conf.py
88

9-
formats: all
9+
conda:
10+
environment: docs/environment.yml
1011

11-
python:
12-
version: 3.7
13-
install:
14-
- requirements: docs/requirements.txt
15-
- method: pip
16-
path: ./python
12+
formats: all

docs/environment.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: bistring
2+
channels:
3+
- defaults
4+
dependencies:
5+
- nodejs
6+
- pip
7+
- pip:
8+
- sphinx
9+
- sphinx_autodoc_typehints
10+
- sphinx_rtd_theme
11+
# Need fixes for https://github.com/mozilla/sphinx-js/issues/90,
12+
# https://github.com/mozilla/sphinx-js/issues/105,
13+
# https://github.com/mozilla/sphinx-js/issues/110
14+
- "git+https://github.com/tavianator/sphinx-js@d2e98fb07c8d2efe46820f1ab07a677244dc4dce#egg=sphinx-js"
15+
- regex

docs/requirements.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)