1# -*- coding: utf-8 -*- 2# 3# import os 4# import sys 5# sys.path.insert(0, os.path.abspath('.')) 6 7 8# -- Project information ----------------------------------------------------- 9 10# General information about the project. 11project = u'pykep' 12copyright = u'2020, pykep Development Team' 13 14# The short X.Y version. 15version = '' 16# The full version, including alpha/beta/rc tags. 17release = '' 18 19 20# -- General configuration --------------------------------------------------- 21 22# If your documentation needs a minimal Sphinx version, state it here. 23# 24# needs_sphinx = '1.0' 25 26# Add any Sphinx extension module names here, as strings. They can be 27# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 28# ones. 29extensions = [ 30 'sphinx.ext.todo', 31 'sphinx.ext.githubpages', 32 'sphinx.ext.nbsphinx', 33 'IPython.sphinxext.ipython_console_highlighting' 34] 35 36# Add any paths that contain templates here, relative to this directory. 37templates_path = ['_templates'] 38 39# The suffix(es) of source filenames. 40# You can specify multiple suffix as a list of string: 41# 42# source_suffix = ['.rst', '.md'] 43source_suffix = '.rst' 44 45# The master toctree document. 46master_doc = 'index' 47 48# The language for content autogenerated by Sphinx. Refer to documentation 49# for a list of supported languages. 50# 51# This is also used if you do content translation via gettext catalogs. 52# Usually you set "language" from the command line for these cases. 53language = None 54 55# List of patterns, relative to source directory, that match files and 56# directories to ignore when looking for source files. 57# This pattern also affects html_static_path and html_extra_path . 58exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '**.ipynb_checkpoints'] 59 60 61# The name of the Pygments (syntax highlighting) style to use. 62pygments_style = 'sphinx' 63 64 65# -- Options for HTML output ------------------------------------------------- 66 67# The theme to use for HTML and HTML Help pages. See the documentation for 68# a list of builtin themes. 69# 70 71# Theme options are theme-specific and customize the look and feel of a theme 72# further. For a list of options available for each theme, see the 73# documentation. 74# 75# html_theme_options = {} 76 77# Add any paths that contain custom static files (such as style sheets) here, 78# relative to this directory. They are copied after the builtin static files, 79# so a file named "default.css" will overwrite the builtin "default.css". 80html_static_path = ['_static'] 81 82# Custom sidebar templates, must be a dictionary that maps document names 83# to template names. 84# 85# The default sidebars (for documents that don't match any pattern) are 86# defined by theme itself. Builtin themes are using these templates by 87# default: ``['localtoc.html', 'relations.html', 'sourcelink.html', 88# 'searchbox.html']``. 89# 90# html_sidebars = {} 91#---sphinx-themes----- 92from jupyter_sphinx_theme import * 93init_theme() 94