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.

229 lines
7.1 KiB

2 months ago
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # pycarl documentation build configuration file, created by
  5. # sphinx-quickstart on Fri Jun 23 15:29:09 2017.
  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. # If extensions (or modules to document with autodoc) are in another directory,
  16. # add these directories to sys.path here. If the directory is relative to the
  17. # documentation root, use os.path.abspath to make it absolute, like shown here.
  18. #
  19. # import os
  20. # import sys
  21. # sys.path.insert(0, os.path.abspath('.'))
  22. import sphinx_bootstrap_theme
  23. # Import pycarl version
  24. from pycarl import __version__
  25. # -- General configuration ------------------------------------------------
  26. # If your documentation needs a minimal Sphinx version, state it here.
  27. #
  28. # needs_sphinx = '1.0'
  29. # Add any Sphinx extension module names here, as strings. They can be
  30. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  31. # ones.
  32. extensions = ['sphinx.ext.autodoc',
  33. 'sphinx.ext.doctest',
  34. 'sphinx.ext.intersphinx',
  35. 'sphinx.ext.coverage',
  36. 'sphinx.ext.githubpages']
  37. # Add any paths that contain templates here, relative to this directory.
  38. templates_path = ['_templates']
  39. # The suffix(es) of source filenames.
  40. # You can specify multiple suffix as a list of string:
  41. #
  42. # source_suffix = ['.rst', '.md']
  43. source_suffix = '.rst'
  44. # The master toctree document.
  45. master_doc = 'index'
  46. # General information about the project.
  47. project = 'pycarl'
  48. copyright = '2016-2019 Moves RWTH Aachen'
  49. author = 'Harold Bruintjes, Sebastian Junges, Matthias Volk'
  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 short X.Y version.
  55. version = __version__
  56. # The full version, including alpha/beta/rc tags.
  57. release = version
  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. # List of patterns, relative to source directory, that match files and
  65. # directories to ignore when looking for source files.
  66. # This patterns also effect to html_static_path and html_extra_path
  67. exclude_patterns = []
  68. # The name of the Pygments (syntax highlighting) style to use.
  69. pygments_style = 'sphinx'
  70. # If true, `todo` and `todoList` produce output, else they produce nothing.
  71. todo_include_todos = False
  72. # -- Options for HTML output ----------------------------------------------
  73. # The theme to use for HTML and HTML Help pages. See the documentation for
  74. # a list of builtin themes.
  75. #
  76. html_theme = 'bootstrap'
  77. html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
  78. # Theme options are theme-specific and customize the look and feel of a theme
  79. # further. For a list of options available for each theme, see the
  80. # documentation.
  81. #
  82. html_theme_options = {
  83. # Navigation bar title. (Default: ``project`` value)
  84. 'navbar_title': "Pycarl",
  85. # Tab name for entire site. (Default: "Site")
  86. 'navbar_site_name': "Pycarl",
  87. # A list of tuples containing pages or urls to link to.
  88. # Valid tuples should be in the following forms:
  89. # (name, page) # a link to a page
  90. # (name, "/aa/bb", 1) # a link to an arbitrary relative url
  91. # (name, "http://example.com", True) # arbitrary absolute url
  92. # Note the "1" or "True" value above as the third argument to indicate
  93. # an arbitrary url.
  94. 'navbar_links': [
  95. ("Carl", "http://smtrat.github.io/carl/", True),
  96. ("Github", "https://github.com/moves-rwth/pycarl", True)
  97. ],
  98. # Render the next and previous page links in navbar. (Default: true)
  99. 'navbar_sidebarrel': True,
  100. # Render the current pages TOC in the navbar. (Default: true)
  101. 'navbar_pagenav': True,
  102. # Tab name for the current pages TOC. (Default: "Page")
  103. 'navbar_pagenav_name': "Page",
  104. # Global TOC depth for "site" navbar tab. (Default: 1)
  105. # Switching to -1 shows all levels.
  106. 'globaltoc_depth': 2,
  107. # Include hidden TOCs in Site navbar?
  108. #
  109. # Note: If this is "false", you cannot have mixed ``:hidden:`` and
  110. # non-hidden ``toctree`` directives in the same page, or else the build
  111. # will break.
  112. #
  113. # Values: "true" (default) or "false"
  114. 'globaltoc_includehidden': "true",
  115. # HTML navbar class (Default: "navbar") to attach to <div> element.
  116. # For black navbar, do "navbar navbar-inverse"
  117. 'navbar_class': "navbar navbar-inverse",
  118. # Fix navigation bar to top of page?
  119. # Values: "true" (default) or "false"
  120. 'navbar_fixed_top': "true",
  121. # Location of link to source.
  122. # Options are "nav" (default), "footer" or anything else to exclude.
  123. 'source_link_position': "footer",
  124. # Bootswatch (http://bootswatch.com/) theme.
  125. #
  126. # Options are nothing (default) or the name of a valid theme
  127. # such as "cosmo" or "sandstone".
  128. 'bootswatch_theme': "united",
  129. # Choose Bootstrap version.
  130. # Values: "3" (default) or "2" (in quotes)
  131. 'bootstrap_version': "3",
  132. }
  133. # Add any paths that contain custom static files (such as style sheets) here,
  134. # relative to this directory. They are copied after the builtin static files,
  135. # so a file named "default.css" will overwrite the builtin "default.css".
  136. html_static_path = ['_static']
  137. # -- Options for HTMLHelp output ------------------------------------------
  138. # Output file base name for HTML help builder.
  139. htmlhelp_basename = 'pycarldoc'
  140. # -- Options for LaTeX output ---------------------------------------------
  141. latex_elements = {
  142. # The paper size ('letterpaper' or 'a4paper').
  143. #
  144. # 'papersize': 'letterpaper',
  145. # The font size ('10pt', '11pt' or '12pt').
  146. #
  147. # 'pointsize': '10pt',
  148. # Additional stuff for the LaTeX preamble.
  149. #
  150. # 'preamble': '',
  151. # Latex figure (float) alignment
  152. #
  153. # 'figure_align': 'htbp',
  154. }
  155. # Grouping the document tree into LaTeX files. List of tuples
  156. # (source start file, target name, title,
  157. # author, documentclass [howto, manual, or own class]).
  158. latex_documents = [
  159. (master_doc, 'pycarl.tex', 'pycarl Documentation',
  160. 'Harold Bruintjes, Sebastian Junges, Matthias Volk', 'manual'),
  161. ]
  162. # -- Options for manual page output ---------------------------------------
  163. # One entry per manual page. List of tuples
  164. # (source start file, name, description, authors, manual section).
  165. man_pages = [
  166. (master_doc, 'pycarl', 'pycarl Documentation',
  167. [author], 1)
  168. ]
  169. # -- Options for Texinfo output -------------------------------------------
  170. # Grouping the document tree into Texinfo files. List of tuples
  171. # (source start file, target name, title, author,
  172. # dir menu entry, description, category)
  173. texinfo_documents = [
  174. (master_doc, 'pycarl', 'pycarl Documentation',
  175. author, 'pycarl', 'One line description of project.',
  176. 'Miscellaneous'),
  177. ]