conf.py 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. # -*- coding: utf-8 -*-
  2. #
  3. # supervisor documentation build configuration file
  4. #
  5. # This file is execfile()d with the current directory set to its containing
  6. # dir.
  7. #
  8. # The contents of this file are pickled, so don't put values in the
  9. # namespace that aren't pickleable (module imports are okay, they're
  10. # removed automatically).
  11. #
  12. # All configuration values have a default value; values that are commented
  13. # out serve to show the default value.
  14. import sys, os
  15. # If your extensions are in another directory, add it here. If the
  16. # directory is relative to the documentation root, use os.path.abspath to
  17. # make it absolute, like shown here.
  18. #sys.path.append(os.path.abspath('some/directory'))
  19. # General configuration
  20. # ---------------------
  21. # Add any Sphinx extension module names here, as strings. They can be
  22. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
  23. extensions = ['sphinx.ext.autodoc']
  24. # Add any paths that contain templates here, relative to this directory.
  25. templates_path = ['.templates']
  26. # The suffix of source filenames.
  27. source_suffix = '.rst'
  28. # The master toctree document.
  29. master_doc = 'index'
  30. # General substitutions.
  31. project = 'supervisor'
  32. copyright = '2004-2010, Agendaless Consulting <supervisor-users@lists.supervisord.org>'
  33. # The default replacements for |version| and |release|, also used in various
  34. # other places throughout the built documents.
  35. #
  36. # The short X.Y version.
  37. version = '3.0a8'
  38. # The full version, including alpha/beta/rc tags.
  39. release = version
  40. # There are two options for replacing |today|: either, you set today to
  41. # some non-false value, then it is used:
  42. #today = ''
  43. # Else, today_fmt is used as the format for a strftime call.
  44. today_fmt = '%B %d, %Y'
  45. # List of documents that shouldn't be included in the build.
  46. #unused_docs = []
  47. # List of directories, relative to source directories, that shouldn't be
  48. # searched for source files.
  49. #exclude_dirs = []
  50. # The reST default role (used for this markup: `text`) to use for all
  51. # documents.
  52. #default_role = None
  53. # If true, '()' will be appended to :func: etc. cross-reference text.
  54. #add_function_parentheses = True
  55. # If true, the current module name will be prepended to all description
  56. # unit titles (such as .. function::).
  57. #add_module_names = True
  58. # If true, sectionauthor and moduleauthor directives will be shown in the
  59. # output. They are ignored by default.
  60. #show_authors = False
  61. # The name of the Pygments (syntax highlighting) style to use.
  62. pygments_style = 'sphinx'
  63. # Options for HTML output
  64. # -----------------------
  65. # The style sheet to use for HTML and HTML Help pages. A file of that name
  66. # must exist either in Sphinx' static/ path, or in one of the custom paths
  67. # given in html_static_path.
  68. html_style = 'repoze.css'
  69. # The name for this set of Sphinx documents. If None, it defaults to
  70. # "<project> v<release> documentation".
  71. #html_title = None
  72. # A shorter title for the navigation bar. Default is the same as
  73. # html_title.
  74. #html_short_title = None
  75. # The name of an image file (within the static path) to place at the top of
  76. # the sidebar.
  77. html_logo = '.static/logo_lo.gif'
  78. # The name of an image file (within the static path) to use as favicon of
  79. # the docs. This file should be a Windows icon file (.ico) being 16x16 or
  80. # 32x32 pixels large.
  81. #html_favicon = None
  82. # Add any paths that contain custom static files (such as style sheets)
  83. # here, relative to this directory. They are copied after the builtin
  84. # static files, so a file named "default.css" will overwrite the builtin
  85. # "default.css".
  86. html_static_path = ['.static']
  87. # If not '', a 'Last updated on:' timestamp is inserted at every page
  88. # bottom, using the given strftime format.
  89. html_last_updated_fmt = '%b %d, %Y'
  90. # If true, SmartyPants will be used to convert quotes and dashes to
  91. # typographically correct entities.
  92. #html_use_smartypants = True
  93. # Custom sidebar templates, maps document names to template names.
  94. #html_sidebars = {}
  95. # Additional templates that should be rendered to pages, maps page names to
  96. # template names.
  97. #html_additional_pages = {}
  98. # If false, no module index is generated.
  99. #html_use_modindex = True
  100. # If false, no index is generated.
  101. #html_use_index = True
  102. # If true, the index is split into individual pages for each letter.
  103. #html_split_index = False
  104. # If true, the reST sources are included in the HTML build as
  105. # _sources/<name>.
  106. #html_copy_source = True
  107. # If true, an OpenSearch description file will be output, and all pages
  108. # will contain a <link> tag referring to it. The value of this option must
  109. # be the base URL from which the finished HTML is served.
  110. #html_use_opensearch = ''
  111. # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
  112. #html_file_suffix = ''
  113. # Output file base name for HTML help builder.
  114. htmlhelp_basename = 'atemplatedoc'
  115. # Options for LaTeX output
  116. # ------------------------
  117. # The paper size ('letter' or 'a4').
  118. #latex_paper_size = 'letter'
  119. # The font size ('10pt', '11pt' or '12pt').
  120. #latex_font_size = '10pt'
  121. # Grouping the document tree into LaTeX files. List of tuples
  122. # (source start file, target name, title,
  123. # author, document class [howto/manual]).
  124. latex_documents = [
  125. ('index', 'supervisor.tex', 'supervisor Documentation',
  126. 'Supervisor Developers', 'manual'),
  127. ]
  128. # The name of an image file (relative to this directory) to place at the
  129. # top of the title page.
  130. latex_logo = '.static/logo_hi.gif'
  131. # For "manual" documents, if this is true, then toplevel headings are
  132. # parts, not chapters.
  133. #latex_use_parts = False
  134. # Additional stuff for the LaTeX preamble.
  135. #latex_preamble = ''
  136. # Documents to append as an appendix to all manuals.
  137. #latex_appendices = []
  138. # If false, no module index is generated.
  139. #latex_use_modindex = True