1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
#
# Configuration file for the Sphinx documentation builder.
#
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config
import os
import sys
sys.path.insert(0, os.path.abspath("../.."))
import jupyter_sphinx # noqa: E402
project = "Jupyter Sphinx"
copyright = "2019, Jupyter Development Team"
author = "Jupyter Development Team"
# The full version, including alpha/beta/rc tags
release = jupyter_sphinx.__version__
# The short X.Y version
version = release[: len(release) - len(release.lstrip("0123456789."))].rstrip(".")
master_doc = "index"
extensions = ["sphinx.ext.mathjax", "jupyter_sphinx"]
html_theme = "alabaster"
html_theme_options = {
"github_user": "jupyter",
"github_repo": "jupyter-sphinx",
"github_banner": True,
}
jupyter_sphinx_thebelab_config = {"binderOptions": {"repo": "jupyter/jupyter-sphinx"}}
latex_engine = "xelatex"
|