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.

237 lines
7.3 KiB

  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # stormpy documentation build configuration file, created by
  5. # sphinx-quickstart on Mon Dec 12 16:20:40 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. # 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 stormpy
  23. import stormpy.logic
  24. import sphinx_bootstrap_theme
  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 = 'stormpy'
  48. copyright = '2016--2017 Moves RWTH Aachen'
  49. author = '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 = ''
  56. # The full version, including alpha/beta/rc tags.
  57. release = ''
  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. # If true, the current module name will be prepended to all description
  73. # unit titles (such as .. function::).
  74. add_module_names = False
  75. # -- Options for HTML output ----------------------------------------------
  76. # The theme to use for HTML and HTML Help pages. See the documentation for
  77. # a list of builtin themes.
  78. #
  79. html_theme = 'bootstrap'
  80. html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
  81. # Theme options are theme-specific and customize the look and feel of a theme
  82. # further. For a list of options available for each theme, see the
  83. # documentation.
  84. #
  85. html_theme_options = {
  86. # Navigation bar title. (Default: ``project`` value)
  87. 'navbar_title': "Stormpy",
  88. # Tab name for entire site. (Default: "Site")
  89. 'navbar_site_name': "Stormpy",
  90. # A list of tuples containing pages or urls to link to.
  91. # Valid tuples should be in the following forms:
  92. # (name, page) # a link to a page
  93. # (name, "/aa/bb", 1) # a link to an arbitrary relative url
  94. # (name, "http://example.com", True) # arbitrary absolute url
  95. # Note the "1" or "True" value above as the third argument to indicate
  96. # an arbitrary url.
  97. 'navbar_links': [
  98. ("Storm", "http://stormchecker.org", True),
  99. ("Github", "https://github.com/moves-rwth/stormpy", True)
  100. ],
  101. # Render the next and previous page links in navbar. (Default: true)
  102. 'navbar_sidebarrel': True,
  103. # Render the current pages TOC in the navbar. (Default: true)
  104. 'navbar_pagenav': True,
  105. # Tab name for the current pages TOC. (Default: "Page")
  106. 'navbar_pagenav_name': "Page",
  107. # Global TOC depth for "site" navbar tab. (Default: 1)
  108. # Switching to -1 shows all levels.
  109. 'globaltoc_depth': 2,
  110. # Include hidden TOCs in Site navbar?
  111. #
  112. # Note: If this is "false", you cannot have mixed ``:hidden:`` and
  113. # non-hidden ``toctree`` directives in the same page, or else the build
  114. # will break.
  115. #
  116. # Values: "true" (default) or "false"
  117. 'globaltoc_includehidden': "true",
  118. # HTML navbar class (Default: "navbar") to attach to <div> element.
  119. # For black navbar, do "navbar navbar-inverse"
  120. 'navbar_class': "navbar navbar-inverse",
  121. # Fix navigation bar to top of page?
  122. # Values: "true" (default) or "false"
  123. 'navbar_fixed_top': "true",
  124. # Location of link to source.
  125. # Options are "nav" (default), "footer" or anything else to exclude.
  126. 'source_link_position': "footer",
  127. # Bootswatch (http://bootswatch.com/) theme.
  128. #
  129. # Options are nothing (default) or the name of a valid theme
  130. # such as "cosmo" or "sandstone".
  131. 'bootswatch_theme': "united",
  132. # Choose Bootstrap version.
  133. # Values: "3" (default) or "2" (in quotes)
  134. 'bootstrap_version': "3",
  135. }
  136. # Add any paths that contain custom static files (such as style sheets) here,
  137. # relative to this directory. They are copied after the builtin static files,
  138. # so a file named "default.css" will overwrite the builtin "default.css".
  139. html_static_path = ['_static']
  140. # -- Options for HTMLHelp output ------------------------------------------
  141. # Output file base name for HTML help builder.
  142. htmlhelp_basename = 'stormpydoc'
  143. # -- Options for LaTeX output ---------------------------------------------
  144. latex_elements = {
  145. # The paper size ('letterpaper' or 'a4paper').
  146. #
  147. # 'papersize': 'letterpaper',
  148. # The font size ('10pt', '11pt' or '12pt').
  149. #
  150. # 'pointsize': '10pt',
  151. # Additional stuff for the LaTeX preamble.
  152. #
  153. # 'preamble': '',
  154. # Latex figure (float) alignment
  155. #
  156. # 'figure_align': 'htbp',
  157. }
  158. # Grouping the document tree into LaTeX files. List of tuples
  159. # (source start file, target name, title,
  160. # author, documentclass [howto, manual, or own class]).
  161. latex_documents = [
  162. (master_doc, 'stormpy.tex', 'stormpy Documentation',
  163. 'Sebastian Junges, Matthias Volk', 'manual'),
  164. ]
  165. # -- Options for manual page output ---------------------------------------
  166. # One entry per manual page. List of tuples
  167. # (source start file, name, description, authors, manual section).
  168. man_pages = [
  169. (master_doc, 'stormpy', 'stormpy Documentation',
  170. [author], 1)
  171. ]
  172. # -- Options for Texinfo output -------------------------------------------
  173. # Grouping the document tree into Texinfo files. List of tuples
  174. # (source start file, target name, title, author,
  175. # dir menu entry, description, category)
  176. texinfo_documents = [
  177. (master_doc, 'stormpy', 'stormpy Documentation',
  178. author, 'stormpy', 'One line description of project.',
  179. 'Miscellaneous'),
  180. ]
  181. # Example configuration for intersphinx: refer to the Python standard library.
  182. intersphinx_mapping = {'https://docs.python.org/': None}