# -*- coding: utf-8 -*- import sys, os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('modules')) # -- General configuration ----------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.mathjax', 'luther.sphinx.video', 'luther.sphinx.reveal', 'luther.sphinx.poll', 'luther.sphinx.tabbedStuff', 'luther.sphinx.disqus', 'luther.sphinx.codelens', 'luther.sphinx.activecode', 'luther.sphinx.assess', 'luther.sphinx.animation', 'luther.sphinx.meta', # 'hieroglyph', 'gatech.parsons'] # The suffix of source filenames. source_suffix = '.rst' # The master toctree document. master_doc = 'index' # General information about the project. project = u'Apprendre à programmer (sans se faire chier)' # e.g. How To Think Like a Computer Scientist copyright = u'Johann Dreo' # e.g. "2013, Brad Miller and David Ranum" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = ['ActiveIndexFiles/*'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # -- Options for HTML output --------------------------------------------------- # The theme to use for HTML and HTML Help pages. See the Sphinx documentation # for a list of builtin themes. html_theme = 'sphinx_bootstrap' # Theme options are theme-specific and customize the look and feel of a theme html_theme_options = { # Navigation bar title. (Default: ``project`` value) 'navbar_title': "AAPSSFC", # Tab name for entire site. (Default: "Site") 'navbar_site_name': "Chapitres", # 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