Skip to content

Commit bbb9d22

Browse files
authored
Merge pull request #45 from bsipocz/make_in_tox
CI: Using make in tox
2 parents 6e33019 + e7dfefd commit bbb9d22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ deps =
2828
# TODO: add pure python dependency, so we can add an example for the github install
2929
devdeps: git+https://github.com/astropy/pyvo.git#egg=pyvo
3030

31-
allowlist_externals = bash, sed
31+
allowlist_externals = bash, sed, make
3232

3333
commands =
3434
pip freeze
@@ -41,8 +41,10 @@ commands =
4141

4242
!buildhtml: pytest --nbval-lax -vv --suppress-no-test-exit-code --durations=10 tutorials
4343

44-
buildhtml: sphinx-build -b html . _build/html -nWT --keep-going
44+
buildhtml: make html
45+
4546
# SED magic to remove the toctree captions from the rendered index page while keeping them in the sidebar TOC
47+
# This should live upstream, clean up once supported in the JB ecosystem
4648
buildhtml: sed -E -i.bak '/caption-text/{N; s/.+caption-text.+\n<ul>/<ul>/; P;D;}' _build/html/index.html
4749
buildhtml: bash -c 'rm _build/html/index.html.bak'
4850

0 commit comments

Comments
 (0)