File: tox.ini

package info (click to toggle)
sphinx-tabs 3.4.7-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,600 kB
  • sloc: javascript: 1,207; python: 552; xml: 364; makefile: 10; sh: 6
file content (23 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# To use tox, see https://tox.readthedocs.io
# Simply pip or conda install tox
# If you use conda, you may also want to install tox-conda
# then run `tox` or `tox -- {pytest args}`
# run in parallel using `tox -p`
[tox]
envlist = py{36,37,38}-sphinx{2,3,4},docs

[testenv:py{36,37,38}-sphinx{2,3,4}]
extras = testing
deps =
    sphinx2: sphinx>=2,<3
    sphinx3: sphinx>=3,<4
    sphinx4: sphinx>=4,<5
recreate = false
commands = pytest {posargs}

[testenv:docs]
whitelist_externals = rm
recreate = false
commands =
    rm -rf docs/_build
    sphinx-build -nW --keep-going -b html docs/ docs/_build/html