diff --git a/doc/source/conf.py b/doc/source/conf.py index 903456d..09d07f1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,6 +23,8 @@ import stormpy import stormpy.logic +import sphinx_bootstrap_theme + # -- General configuration ------------------------------------------------ @@ -54,7 +56,7 @@ master_doc = 'index' # General information about the project. project = 'stormpy' -copyright = '2016 Moves RWTH Aachen' +copyright = '2016--2017 Moves RWTH Aachen' author = 'Sebastian Junges, Matthias Volk' # The version info for the project you're documenting, acts as replacement for @@ -93,13 +95,78 @@ add_module_names = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'bizstyle' +html_theme = 'bootstrap' + +html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. # -# html_theme_options = {} + +html_theme_options = { + # Navigation bar title. (Default: ``project`` value) + 'navbar_title': "Stormpy", + + # Tab name for entire site. (Default: "Site") + 'navbar_site_name': "Stormpy", + + # A list of tuples containing pages or urls to link to. + # Valid tuples should be in the following forms: + # (name, page) # a link to a page + # (name, "/aa/bb", 1) # a link to an arbitrary relative url + # (name, "http://example.com", True) # arbitrary absolute url + # Note the "1" or "True" value above as the third argument to indicate + # an arbitrary url. + 'navbar_links': [ + ("Storm", "http://stormchecker.org", True), + ("Github", "https://github.com/moves-rwth/stormpy", True) + ], + + # Render the next and previous page links in navbar. (Default: true) + 'navbar_sidebarrel': True, + + # Render the current pages TOC in the navbar. (Default: true) + 'navbar_pagenav': True, + + # Tab name for the current pages TOC. (Default: "Page") + 'navbar_pagenav_name': "Page", + + # Global TOC depth for "site" navbar tab. (Default: 1) + # Switching to -1 shows all levels. + 'globaltoc_depth': 2, + + # Include hidden TOCs in Site navbar? + # + # Note: If this is "false", you cannot have mixed ``:hidden:`` and + # non-hidden ``toctree`` directives in the same page, or else the build + # will break. + # + # Values: "true" (default) or "false" + 'globaltoc_includehidden': "true", + + # HTML navbar class (Default: "navbar") to attach to