File: tox.ini

package info (click to toggle)
sphinx-notfound-page 1.0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 920 kB
  • sloc: python: 699; makefile: 15
file content (31 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tox]
# https://tox.wiki/en/latest/example/package.html#flit
isolated_build = True

envlist =
  docs
  py{38}-sphinx{5,6}
  py{39}-sphinx{5,6,7}
  py{310,311,312}-sphinx{5,6,7,8,latest,dev}

[testenv]
deps =
  pytest
  pdbpp
  defusedxml
  .
  sphinx5: sphinx<6.0
  sphinx6: sphinx<7.0
  sphinx7: sphinx<8.0
  sphinx8: sphinx<9.0
  sphinxlatest: sphinx
  sphinxdev: https://github.com/sphinx-doc/sphinx/archive/refs/heads/master.zip
commands = pytest {posargs}

[testenv:docs]
deps =
  -r {toxinidir}/docs/requirements.txt
  .
changedir = {toxinidir}/docs
commands =
    sphinx-build -q -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html