A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

298 lines
9.3 KiB

  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Hyde documentation build configuration file, created by
  5. # sphinx-quickstart on Sat Feb 13 21:35:00 2016.
  6. #
  7. # This file is execfile()d with the current directory set to its
  8. # containing dir.
  9. #
  10. # Note that not all possible configuration values are present in this
  11. # autogenerated file.
  12. #
  13. # All configuration values have a default; values that are commented out
  14. # serve to show the default.
  15. import sys
  16. import os
  17. import shlex
  18. import pkg_resources
  19. # If extensions (or modules to document with autodoc) are in another directory,
  20. # add these directories to sys.path here. If the directory is relative to the
  21. # documentation root, use os.path.abspath to make it absolute, like shown here.
  22. #sys.path.insert(0, os.path.abspath('.'))
  23. # -- General configuration ------------------------------------------------
  24. # If your documentation needs a minimal Sphinx version, state it here.
  25. #needs_sphinx = '1.0'
  26. # Add any Sphinx extension module names here, as strings. They can be
  27. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  28. # ones.
  29. extensions = [
  30. 'sphinx.ext.autodoc',
  31. 'sphinx.ext.intersphinx',
  32. 'sphinx.ext.todo',
  33. 'sphinx.ext.ifconfig',
  34. 'sphinx.ext.viewcode',
  35. ]
  36. # Add any paths that contain templates here, relative to this directory.
  37. templates_path = ['_templates']
  38. # The suffix(es) of source filenames.
  39. # You can specify multiple suffix as a list of string:
  40. # source_suffix = ['.rst', '.md']
  41. source_suffix = '.rst'
  42. # The encoding of source files.
  43. #source_encoding = 'utf-8-sig'
  44. # The master toctree document.
  45. master_doc = 'index'
  46. # General information about the project.
  47. project = 'Hyde'
  48. copyright = '2009-2016, Hyde Developers'
  49. author = 'Hyde Developers'
  50. # The version info for the project you're documenting, acts as replacement for
  51. # |version| and |release|, also used in various other places throughout the
  52. # built documents.
  53. #
  54. # The full version, including alpha/beta/rc tags.
  55. release = pkg_resources.get_distribution('hyde').version
  56. # The short X.Y version.
  57. version = release.rsplit('.', 1)[0]
  58. # The language for content autogenerated by Sphinx. Refer to documentation
  59. # for a list of supported languages.
  60. #
  61. # This is also used if you do content translation via gettext catalogs.
  62. # Usually you set "language" from the command line for these cases.
  63. language = None
  64. # There are two options for replacing |today|: either, you set today to some
  65. # non-false value, then it is used:
  66. #today = ''
  67. # Else, today_fmt is used as the format for a strftime call.
  68. #today_fmt = '%B %d, %Y'
  69. # List of patterns, relative to source directory, that match files and
  70. # directories to ignore when looking for source files.
  71. exclude_patterns = ['_build']
  72. # The reST default role (used for this markup: `text`) to use for all
  73. # documents.
  74. #default_role = None
  75. # If true, '()' will be appended to :func: etc. cross-reference text.
  76. #add_function_parentheses = True
  77. # If true, the current module name will be prepended to all description
  78. # unit titles (such as .. function::).
  79. #add_module_names = True
  80. # If true, sectionauthor and moduleauthor directives will be shown in the
  81. # output. They are ignored by default.
  82. #show_authors = False
  83. # The name of the Pygments (syntax highlighting) style to use.
  84. pygments_style = 'sphinx'
  85. # A list of ignored prefixes for module index sorting.
  86. #modindex_common_prefix = []
  87. # If true, keep warnings as "system message" paragraphs in the built documents.
  88. #keep_warnings = False
  89. # If true, `todo` and `todoList` produce output, else they produce nothing.
  90. todo_include_todos = True
  91. # -- Options for HTML output ----------------------------------------------
  92. # The theme to use for HTML and HTML Help pages. See the documentation for
  93. # a list of builtin themes.
  94. html_theme = 'sphinx_rtd_theme'
  95. # Theme options are theme-specific and customize the look and feel of a theme
  96. # further. For a list of options available for each theme, see the
  97. # documentation.
  98. #html_theme_options = {}
  99. # Add any paths that contain custom themes here, relative to this directory.
  100. #html_theme_path = []
  101. # The name for this set of Sphinx documents. If None, it defaults to
  102. # "<project> v<release> documentation".
  103. #html_title = None
  104. # A shorter title for the navigation bar. Default is the same as html_title.
  105. #html_short_title = None
  106. # The name of an image file (relative to this directory) to place at the top
  107. # of the sidebar.
  108. #html_logo = None
  109. # The name of an image file (within the static path) to use as favicon of the
  110. # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
  111. # pixels large.
  112. #html_favicon = None
  113. # Add any paths that contain custom static files (such as style sheets) here,
  114. # relative to this directory. They are copied after the builtin static files,
  115. # so a file named "default.css" will overwrite the builtin "default.css".
  116. html_static_path = ['_static']
  117. # Add any extra paths that contain custom files (such as robots.txt or
  118. # .htaccess) here, relative to this directory. These files are copied
  119. # directly to the root of the documentation.
  120. #html_extra_path = []
  121. # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
  122. # using the given strftime format.
  123. #html_last_updated_fmt = '%b %d, %Y'
  124. # If true, SmartyPants will be used to convert quotes and dashes to
  125. # typographically correct entities.
  126. #html_use_smartypants = True
  127. # Custom sidebar templates, maps document names to template names.
  128. #html_sidebars = {}
  129. # Additional templates that should be rendered to pages, maps page names to
  130. # template names.
  131. #html_additional_pages = {}
  132. # If false, no module index is generated.
  133. #html_domain_indices = True
  134. # If false, no index is generated.
  135. #html_use_index = True
  136. # If true, the index is split into individual pages for each letter.
  137. #html_split_index = False
  138. # If true, links to the reST sources are added to the pages.
  139. #html_show_sourcelink = True
  140. # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
  141. #html_show_sphinx = True
  142. # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
  143. #html_show_copyright = True
  144. # If true, an OpenSearch description file will be output, and all pages will
  145. # contain a <link> tag referring to it. The value of this option must be the
  146. # base URL from which the finished HTML is served.
  147. #html_use_opensearch = ''
  148. # This is the file name suffix for HTML files (e.g. ".xhtml").
  149. #html_file_suffix = None
  150. # Language to be used for generating the HTML full-text search index.
  151. # Sphinx supports the following languages:
  152. # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
  153. # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr'
  154. #html_search_language = 'en'
  155. # A dictionary with options for the search language support, empty by default.
  156. # Now only 'ja' uses this config value
  157. #html_search_options = {'type': 'default'}
  158. # The name of a javascript file (relative to the configuration directory) that
  159. # implements a search results scorer. If empty, the default will be used.
  160. #html_search_scorer = 'scorer.js'
  161. # Output file base name for HTML help builder.
  162. htmlhelp_basename = 'Hydedoc'
  163. # -- Options for LaTeX output ---------------------------------------------
  164. latex_elements = {
  165. # The paper size ('letterpaper' or 'a4paper').
  166. #'papersize': 'letterpaper',
  167. # The font size ('10pt', '11pt' or '12pt').
  168. #'pointsize': '10pt',
  169. # Additional stuff for the LaTeX preamble.
  170. #'preamble': '',
  171. # Latex figure (float) alignment
  172. #'figure_align': 'htbp',
  173. }
  174. # Grouping the document tree into LaTeX files. List of tuples
  175. # (source start file, target name, title,
  176. # author, documentclass [howto, manual, or own class]).
  177. latex_documents = [
  178. (master_doc, 'Hyde.tex', 'Hyde Documentation',
  179. 'Hyde Developers', 'manual'),
  180. ]
  181. # The name of an image file (relative to this directory) to place at the top of
  182. # the title page.
  183. #latex_logo = None
  184. # For "manual" documents, if this is true, then toplevel headings are parts,
  185. # not chapters.
  186. #latex_use_parts = False
  187. # If true, show page references after internal links.
  188. #latex_show_pagerefs = False
  189. # If true, show URL addresses after external links.
  190. #latex_show_urls = False
  191. # Documents to append as an appendix to all manuals.
  192. #latex_appendices = []
  193. # If false, no module index is generated.
  194. #latex_domain_indices = True
  195. # -- Options for manual page output ---------------------------------------
  196. # One entry per manual page. List of tuples
  197. # (source start file, name, description, authors, manual section).
  198. man_pages = [
  199. (master_doc, 'hyde', 'Hyde Documentation',
  200. [author], 1)
  201. ]
  202. # If true, show URL addresses after external links.
  203. #man_show_urls = False
  204. # -- Options for Texinfo output -------------------------------------------
  205. # Grouping the document tree into Texinfo files. List of tuples
  206. # (source start file, target name, title, author,
  207. # dir menu entry, description, category)
  208. texinfo_documents = [
  209. (master_doc, 'Hyde', 'Hyde Documentation',
  210. author, 'Hyde', 'One line description of project.',
  211. 'Miscellaneous'),
  212. ]
  213. # Documents to append as an appendix to all manuals.
  214. #texinfo_appendices = []
  215. # If false, no module index is generated.
  216. #texinfo_domain_indices = True
  217. # How to display URL addresses: 'footnote', 'no', or 'inline'.
  218. #texinfo_show_urls = 'footnote'
  219. # If true, do not generate a @detailmenu in the "Top" node's menu.
  220. #texinfo_no_detailmenu = False
  221. # Example configuration for intersphinx: refer to the Python standard library.
  222. intersphinx_mapping = {'https://docs.python.org/': None}