File: conf.py

package info (click to toggle)
jupyter-sphinx 0.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 300 kB
  • sloc: python: 1,576; makefile: 32; javascript: 18; sh: 13
file content (37 lines) | stat: -rw-r--r-- 963 bytes parent folder | download
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"