2018-08-12 09:22:13 -07:00
|
|
|
import os
|
|
|
|
|
|
2021-11-03 23:55:34 +01:00
|
|
|
source_suffix = [".rst"]
|
2018-06-28 00:39:55 -07:00
|
|
|
|
2021-11-03 23:55:34 +01:00
|
|
|
project = "The Littlest JupyterHub"
|
|
|
|
|
copyright = "2018, JupyterHub Team"
|
|
|
|
|
author = "JupyterHub Team"
|
2018-06-28 00:39:55 -07:00
|
|
|
|
|
|
|
|
# The short X.Y version
|
2021-11-03 23:55:34 +01:00
|
|
|
version = ""
|
2018-06-28 00:39:55 -07:00
|
|
|
# The full version, including alpha/beta/rc tags
|
2021-11-03 23:55:34 +01:00
|
|
|
release = "v0.1"
|
2018-06-28 00:39:55 -07:00
|
|
|
|
2018-06-28 11:54:36 -07:00
|
|
|
# Enable MathJax for Math
|
2021-11-01 09:57:16 +01:00
|
|
|
extensions = [
|
2021-11-03 23:55:34 +01:00
|
|
|
"sphinx.ext.mathjax",
|
|
|
|
|
"sphinx.ext.intersphinx",
|
|
|
|
|
"sphinx_copybutton",
|
2021-11-01 09:57:16 +01:00
|
|
|
]
|
2018-06-28 11:54:36 -07:00
|
|
|
|
2021-10-19 11:33:58 +02:00
|
|
|
# The root toctree document.
|
|
|
|
|
root_doc = master_doc = "index"
|
2018-06-28 00:39:55 -07:00
|
|
|
|
|
|
|
|
# List of patterns, relative to source directory, that match files and
|
|
|
|
|
# directories to ignore when looking for source files.
|
|
|
|
|
# This pattern also affects html_static_path and html_extra_path .
|
2021-11-01 09:57:16 +01:00
|
|
|
exclude_patterns = [
|
2021-11-03 23:55:34 +01:00
|
|
|
"_build",
|
|
|
|
|
"Thumbs.db",
|
|
|
|
|
".DS_Store",
|
|
|
|
|
"install/custom.rst",
|
2021-11-01 09:57:16 +01:00
|
|
|
]
|
2018-08-11 08:25:21 +02:00
|
|
|
|
|
|
|
|
intersphinx_mapping = {
|
2021-11-03 23:55:34 +01:00
|
|
|
"sphinx": ("http://www.sphinx-doc.org/en/master/", None),
|
2018-08-11 08:25:21 +02:00
|
|
|
}
|
|
|
|
|
|
2021-11-01 09:42:45 +01:00
|
|
|
intersphinx_cache_limit = 90 # days
|
2018-06-28 00:39:55 -07:00
|
|
|
|
|
|
|
|
# The name of the Pygments (syntax highlighting) style to use.
|
2021-11-03 23:55:34 +01:00
|
|
|
pygments_style = "sphinx"
|
2018-06-28 00:39:55 -07:00
|
|
|
|
2021-11-03 23:55:34 +01:00
|
|
|
html_theme = "pydata_sphinx_theme"
|
2018-06-28 00:39:55 -07:00
|
|
|
|
2021-11-03 23:55:34 +01:00
|
|
|
html_logo = "images/logo/logo.png"
|
|
|
|
|
html_favicon = "images/logo/favicon.ico"
|
2019-04-13 20:18:48 +01:00
|
|
|
|
2018-06-28 00:39:55 -07:00
|
|
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
|
|
|
# relative to this directory. They are copied after the builtin static files,
|
|
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
2018-08-12 09:22:13 -07:00
|
|
|
# Do this only if _static exists, otherwise this will error
|
|
|
|
|
here = os.path.dirname(os.path.abspath(__file__))
|
2021-11-03 23:55:34 +01:00
|
|
|
if os.path.exists(os.path.join(here, "_static")):
|
|
|
|
|
html_static_path = ["_static"]
|