Browse Source

Merge "Follow the new PTI for document build"

tags/1.61.0^0
Zuul 1 year ago
parent
commit
824ff65433
2 changed files with 1 additions and 7 deletions
  1. 0
    6
      setup.cfg
  2. 1
    1
      tox.ini

+ 0
- 6
setup.cfg View File

@@ -78,9 +78,3 @@ doc =
78 78
 
79 79
 [wheel]
80 80
 universal = 1
81
-
82
-[build_sphinx]
83
-all_files = 1
84
-build-dir = doc/build
85
-source-dir = doc/source
86
-warning-is-error = 1

+ 1
- 1
tox.ini View File

@@ -45,7 +45,7 @@ commands = python setup.py testr --slowest --coverage --testr-args="{posargs}"
45 45
 
46 46
 [testenv:docs]
47 47
 deps = -r{toxinidir}/doc/requirements.txt
48
-commands = python setup.py build_sphinx
48
+commands = sphinx-build -W -b html doc/source doc/build/html
49 49
 
50 50
 [testenv:pep8]
51 51
 deps = hacking<0.13,>=0.12

Loading…
Cancel
Save