docs: Stop building anything but html output

This lets us remove most of the settings in conf.py

Change-Id: I0d06faa2f1736d2e240487ec4e8cf9bc07268724
This commit is contained in:
Stephen Finucane 2017-04-13 10:43:55 +01:00
parent 5f21ae5bd5
commit ce96741177
2 changed files with 1 additions and 32 deletions

View File

@ -12,10 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration ----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
@ -26,10 +22,6 @@ extensions = [
'reno.sphinxext',
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable
# The suffix of source filenames.
source_suffix = '.rst'
@ -49,27 +41,3 @@ add_module_names = True
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
# -- Options for HTML output --------------------------------------------------
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
# html_theme = '_theme'
# html_static_path = ['static']
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
latex_documents = [
('index',
'%s.tex' % project,
u'%s Documentation' % project,
u'OpenStack Foundation', 'manual'),
]
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}

View File

@ -33,6 +33,7 @@ tag_date = 0
tag_svn_revision = 0
[build_sphinx]
builders = html
all-files = 1
warning-is-error = 1
source-dir = doc/source