-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathconf.py
32 lines (24 loc) · 862 Bytes
/
conf.py
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
# Copyright cf-units contributors
#
# This file is part of cf-units and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
from importlib import metadata
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"sphinx.ext.doctest",
"sphinx.ext.viewcode",
]
templates_path = ["_templates"]
source_suffix = ".rst"
master_doc = "index"
project = "cf-units"
copyright = "Copyright cf-units contributors"
current_version = metadata.version("cf_units")
version = current_version.split("+")[0]
release = current_version
# -- Options for HTML output ----------------------------------------------
html_theme = "alabaster"
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {"http://docs.python.org/": None}