conf.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # -*- coding: utf-8 -*-
  2. # Licensed under the Apache License, Version 2.0 (the "License");
  3. # you may not use this file except in compliance with the License.
  4. # You may obtain a copy of the License at
  5. #
  6. # http://www.apache.org/licenses/LICENSE-2.0
  7. #
  8. # Unless required by applicable law or agreed to in writing, software
  9. # distributed under the License is distributed on an "AS IS" BASIS,
  10. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  11. # implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. # -- General configuration ----------------------------------------------------
  15. # Add any Sphinx extension module names here, as strings. They can be
  16. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
  17. extensions = [
  18. 'sphinx.ext.autodoc',
  19. ]
  20. # autodoc generation is a bit aggressive and a nuisance when doing heavy
  21. # text edit cycles.
  22. # execute "export SPHINX_DEBUG=1" in your terminal to disable
  23. # The suffix of source filenames.
  24. source_suffix = '.rst'
  25. # The master toctree document.
  26. master_doc = 'index'
  27. # General information about the project.
  28. project = u'testpackage'
  29. copyright = u'2013, OpenStack Foundation'
  30. # If true, '()' will be appended to :func: etc. cross-reference text.
  31. add_function_parentheses = True
  32. # If true, the current module name will be prepended to all description
  33. # unit titles (such as .. function::).
  34. add_module_names = True
  35. # The name of the Pygments (syntax highlighting) style to use.
  36. pygments_style = 'sphinx'
  37. # -- Options for HTML output --------------------------------------------------
  38. # Grouping the document tree into LaTeX files. List of tuples
  39. # (source start file, target name, title, author, documentclass
  40. # [howto/manual]).
  41. latex_documents = [
  42. ('index',
  43. '%s.tex' % project,
  44. u'%s Documentation' % project,
  45. u'OpenStack Foundation', 'manual'),
  46. ]