conf.py 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. # Copyright 2017 Digital
  4. #
  5. # This file is a modified version of the conf.py generated
  6. # by sphinx-quickstart.
  7. #
  8. # This file is part of DigiLib.
  9. #
  10. # DigiLib is free software: you can redistribute it and/or modify
  11. # it under the terms of the GNU General Public License as published by
  12. # the Free Software Foundation, either version 3 of the License, or
  13. # (at your option) any later version.
  14. #
  15. # DigiLib is distributed in the hope that it will be useful,
  16. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. # GNU General Public License for more details.
  19. #
  20. # You should have received a copy of the GNU General Public License
  21. # along with DigiLib. If not, see <http://www.gnu.org/licenses/>.
  22. #
  23. #
  24. # This file is execfile()d with the current directory set to its
  25. # containing dir.
  26. #
  27. # Note that not all possible configuration values are present in this
  28. # autogenerated file.
  29. #
  30. # All configuration values have a default; values that are commented out
  31. # serve to show the default.
  32. # If extensions (or modules to document with autodoc) are in another directory,
  33. # add these directories to sys.path here. If the directory is relative to the
  34. # documentation root, use os.path.abspath to make it absolute, like shown here.
  35. #
  36. # import os
  37. # import sys
  38. # sys.path.insert(0, os.path.abspath('.'))
  39. import sphinx_rtd_theme
  40. # -- General configuration ------------------------------------------------
  41. # If your documentation needs a minimal Sphinx version, state it here.
  42. #
  43. # needs_sphinx = '1.0'
  44. # Add any Sphinx extension module names here, as strings. They can be
  45. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  46. # ones.
  47. extensions = [
  48. 'sphinx.ext.autodoc',
  49. 'sphinx.ext.intersphinx',
  50. 'sphinx.ext.todo',
  51. ]
  52. # Add any paths that contain templates here, relative to this directory.
  53. templates_path = ['templates']
  54. # The suffix(es) of source filenames.
  55. # You can specify multiple suffix as a list of string:
  56. #
  57. # source_suffix = ['.rst', '.md']
  58. source_suffix = '.rst'
  59. # The master toctree document.
  60. master_doc = 'index'
  61. # General information about the project.
  62. project = 'digilib'
  63. copyright = '2017, Digital'
  64. author = 'Digital'
  65. # The version info for the project you're documenting, acts as replacement for
  66. # |version| and |release|, also used in various other places throughout the
  67. # built documents.
  68. #
  69. # The short X.Y version.
  70. version = 'unreleased'
  71. # The full version, including alpha/beta/rc tags.
  72. release = 'unreleased'
  73. # The language for content autogenerated by Sphinx. Refer to documentation
  74. # for a list of supported languages.
  75. #
  76. # This is also used if you do content translation via gettext catalogs.
  77. # Usually you set "language" from the command line for these cases.
  78. language = None
  79. # List of patterns, relative to source directory, that match files and
  80. # directories to ignore when looking for source files.
  81. # This patterns also effect to html_static_path and html_extra_path
  82. exclude_patterns = []
  83. # The name of the Pygments (syntax highlighting) style to use.
  84. pygments_style = 'sphinx'
  85. # If true, `todo` and `todoList` produce output, else they produce nothing.
  86. todo_include_todos = True
  87. # -- Options for HTML output ----------------------------------------------
  88. # The theme to use for HTML and HTML Help pages. See the documentation for
  89. # a list of builtin themes.
  90. #
  91. html_theme = 'sphinx_rtd_theme'
  92. # Theme options are theme-specific and customize the look and feel of a theme
  93. # further. For a list of options available for each theme, see the
  94. # documentation.
  95. #
  96. # html_theme_options = {}
  97. # Add any paths that contain custom static files (such as style sheets) here,
  98. # relative to this directory. They are copied after the builtin static files,
  99. # so a file named "default.css" will overwrite the builtin "default.css".
  100. html_static_path = ['static']
  101. # -- Options for HTMLHelp output ------------------------------------------
  102. # Output file base name for HTML help builder.
  103. htmlhelp_basename = 'BeeWatchdoc'
  104. # -- Options for LaTeX output ---------------------------------------------
  105. latex_elements = {
  106. # The paper size ('letterpaper' or 'a4paper').
  107. #
  108. # 'papersize': 'letterpaper',
  109. # The font size ('10pt', '11pt' or '12pt').
  110. #
  111. # 'pointsize': '10pt',
  112. # Additional stuff for the LaTeX preamble.
  113. #
  114. # 'preamble': '',
  115. # Latex figure (float) alignment
  116. #
  117. # 'figure_align': 'htbp',
  118. }
  119. # Grouping the document tree into LaTeX files. List of tuples
  120. # (source start file, target name, title,
  121. # author, documentclass [howto, manual, or own class]).
  122. latex_documents = [
  123. (master_doc, 'BeeWatch.tex', 'BeeWatch Documentation',
  124. 'Digital', 'manual'),
  125. ]
  126. # -- Options for manual page output ---------------------------------------
  127. # One entry per manual page. List of tuples
  128. # (source start file, name, description, authors, manual section).
  129. man_pages = [
  130. (master_doc, 'beewatch', 'BeeWatch Documentation',
  131. [author], 1)
  132. ]
  133. # -- Options for Texinfo output -------------------------------------------
  134. # Grouping the document tree into Texinfo files. List of tuples
  135. # (source start file, target name, title, author,
  136. # dir menu entry, description, category)
  137. texinfo_documents = [
  138. (master_doc, 'BeeWatch', 'BeeWatch Documentation',
  139. author, 'BeeWatch', 'One line description of project.',
  140. 'Miscellaneous'),
  141. ]
  142. # Example configuration for intersphinx: refer to the Python standard library.
  143. intersphinx_mapping = {'https://docs.python.org/': None}