Merge "Generate PDF documentation"
This commit is contained in:
@@ -27,6 +27,11 @@ extensions = [
|
|||||||
'oslo_config.sphinxext',
|
'oslo_config.sphinxext',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# sphinxcontrib.apidoc options
|
||||||
|
config_generator_config_file = (
|
||||||
|
'../../etc/masakarimonitors/masakarimonitors-config-generator.conf')
|
||||||
|
sample_config_basename = '_static/masakarimonitors'
|
||||||
|
|
||||||
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
||||||
# text edit cycles.
|
# text edit cycles.
|
||||||
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
# execute "export SPHINX_DEBUG=1" in your terminal to disable
|
||||||
@@ -65,20 +70,20 @@ openstackdocs_bug_project = 'masakari-monitors'
|
|||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = '%sdoc' % project
|
htmlhelp_basename = '%sdoc' % project
|
||||||
|
|
||||||
|
# -- Options for LaTeX output -------------------------------------------------
|
||||||
|
|
||||||
# Grouping the document tree into LaTeX files. List of tuples
|
# Grouping the document tree into LaTeX files. List of tuples
|
||||||
# (source start file, target name, title, author, documentclass
|
# (source start file, target name, title, author, documentclass
|
||||||
# [howto/manual]).
|
# [howto/manual]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index',
|
('index',
|
||||||
'%s.tex' % project,
|
'doc-%s.tex' % project,
|
||||||
'%s Documentation' % project,
|
'%s Documentation' % project,
|
||||||
'OpenStack Foundation', 'manual'),
|
'OpenStack Foundation', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Example configuration for intersphinx: refer to the Python standard library.
|
# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664
|
||||||
#intersphinx_mapping = {'http://docs.python.org/': None}
|
latex_use_xindy = False
|
||||||
|
|
||||||
# sphinxcontrib.apidoc options
|
# Disable smartquotes, they don't work in latex
|
||||||
config_generator_config_file = (
|
smartquotes_excludes = {'builders': ['latex']}
|
||||||
'../../etc/masakarimonitors/masakarimonitors-config-generator.conf')
|
|
||||||
sample_config_basename = '_static/masakarimonitors'
|
|
||||||
|
@@ -17,20 +17,21 @@ Contents:
|
|||||||
reference/conf
|
reference/conf
|
||||||
reference/conf-file
|
reference/conf-file
|
||||||
|
|
||||||
For Contributors
|
.. only:: html
|
||||||
================
|
|
||||||
|
|
||||||
* If you are a new contributor to Masakari Monitors please refer: :doc:`contributor/contributing`
|
For Contributors
|
||||||
|
================
|
||||||
|
|
||||||
.. toctree::
|
* If you are a new contributor to Masakari Monitors please refer: :doc:`contributor/contributing`
|
||||||
:hidden:
|
|
||||||
|
|
||||||
contributor/contributing
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
Indices and tables
|
contributor/contributing
|
||||||
==================
|
|
||||||
|
|
||||||
* :ref:`genindex`
|
Indices and tables
|
||||||
* :ref:`modindex`
|
==================
|
||||||
* :ref:`search`
|
|
||||||
|
|
||||||
|
* :ref:`genindex`
|
||||||
|
* :ref:`modindex`
|
||||||
|
* :ref:`search`
|
||||||
|
8
tox.ini
8
tox.ini
@@ -43,6 +43,14 @@ deps =
|
|||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
||||||
|
[testenv:pdf-docs]
|
||||||
|
deps = {[testenv:docs]deps}
|
||||||
|
whitelist_externals =
|
||||||
|
make
|
||||||
|
commands =
|
||||||
|
sphinx-build -W -b latex doc/source doc/build/pdf
|
||||||
|
make -C doc/build/pdf
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
commands =
|
commands =
|
||||||
|
Reference in New Issue
Block a user