Skip to content

Commit fb4e123

Browse files
committed
ENH: adding tox and build requirements
1 parent 7122577 commit fb4e123

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434

3535
# MyST-NB configuration
3636
nb_execution_timeout = 1200
37+
nb_execution_mode = 'off'
3738

3839
# -- Options for HTML output -------------------------------------------------
3940

site_requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sphinx
2+
myst-nb
3+
sphinx-book-theme
4+
sphinx-copybutton

tox.ini

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[tox]
2+
envlist =
3+
buildhtml
4+
requires =
5+
pip >= 19.3.1
6+
7+
[testenv]
8+
9+
description = Build site
10+
11+
deps =
12+
# We use these files to specify all the dependencies, and below we override
13+
# versions for specific testing schenarios
14+
-rsite_requirements.txt
15+
16+
allowlist_externals = bash, sed
17+
18+
commands =
19+
pip freeze
20+
21+
buildhtml: sphinx-build -b html documentation _build/html -c ./ -nWT --keep-going
22+
23+
skip_install = true

0 commit comments

Comments
 (0)