Skip to content
Snippets Groups Projects
Commit f1bb18a6 authored by yatin's avatar yatin
Browse files

Switch to sphinx-build for doc generation

There is a new Project Testing Interface documentation [1] that
requires projects to use sphinx-build to build their documentation,
instead of the previously used python setup.py build_sphinx. Some
projects have started adapting to this new documentation, including
magnumclient [2].

[1] - http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
[2] - https://review.openstack.org/#/c/554197

Change-Id: I2d464ae432d3019bd82b724722904658f46382cf
parent 324bb215
No related branches found
No related tags found
No related merge requests found
...@@ -181,7 +181,7 @@ Requires: python3-prettytable ...@@ -181,7 +181,7 @@ Requires: python3-prettytable
%py3_build %py3_build
%endif %endif
# generate html docs # generate html docs
%{__python2} setup.py build_sphinx -b html sphinx-build -W -b html doc/source doc/build/html
# Fix hidden-file-or-dir warnings # Fix hidden-file-or-dir warnings
rm -rf doc/build/html/.{doctrees,buildinfo} rm -rf doc/build/html/.{doctrees,buildinfo}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment