Skip to content

Commit a5297fc

Browse files
authored
Merge pull request #2 from MSeal/readthedocs
Copied readthedocs instructions from nbconvert
2 parents 8f40ee9 + 72122bf commit a5297fc

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.readthedocs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# .readthedocs.yml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
sphinx:
9+
configuration: docs/source/conf.py
10+
11+
formats: all
12+
13+
conda:
14+
environment: docs/environment.yml
15+
16+
build:
17+
image: latest
18+
19+
python:
20+
version: 3.7
21+
install:
22+
- method: pip
23+
path: .

docs/environment.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: nbclient_docs
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python==3.7
6+
- pandoc
7+
- nbformat
8+
- jupyter_client
9+
- ipython
10+
- sphinx>=1.5.1
11+
- sphinx_rtd_theme
12+
- tornado
13+
- entrypoints
14+
- pip:
15+
- git+https://github.com/spatialaudio/nbsphinx.git#egg=nbsphinx
16+
- sphinxcontrib_github_alt

0 commit comments

Comments
 (0)