1+ # Configuration file for the Sphinx documentation builder.
2+ #
3+ # This file only contains a selection of the most common options. For a full
4+ # list see the documentation:
5+ # https://www.sphinx-doc.org/en/master/usage/configuration.html
6+
7+ from distutils .dist import DistributionMetadata
8+ from pathlib import Path
9+
10+ import pkg_resources
11+
12+ # -- Project information -----------------------------------------------------
13+
14+ # Get package information from the installed package.
15+ package = pkg_resources .get_distribution ("isal" )
16+ metadata_file = Path (package .egg_info ) / Path (package .PKG_INFO )
17+ metadata = DistributionMetadata (path = str (metadata_file ))
18+
19+ project = 'python-isal'
20+ copyright = '2020, Leiden University Medical Center'
21+ author = 'Leiden University Medical Center'
22+
23+ # The short X.Y version
24+ version = package .parsed_version .base_version
25+ # The full version, including alpha/beta/rc tags
26+ release = package .version
27+
28+
29+ # -- General configuration ---------------------------------------------------
30+
31+ # Add any Sphinx extension module names here, as strings. They can be
32+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
33+ # ones.
34+ extensions = [
35+ ]
36+
37+ # Add any paths that contain templates here, relative to this directory.
38+ templates_path = ['_templates' ]
39+
40+ # List of patterns, relative to source directory, that match files and
41+ # directories to ignore when looking for source files.
42+ # This pattern also affects html_static_path and html_extra_path.
43+ exclude_patterns = ['_build' , 'Thumbs.db' , '.DS_Store' ]
44+
45+
46+ # -- Options for HTML output -------------------------------------------------
47+
48+ # The theme to use for HTML and HTML Help pages. See the documentation for
49+ # a list of builtin themes.
50+ #
51+ html_theme = 'alabaster'
52+
53+ # Add any paths that contain custom static files (such as style sheets) here,
54+ # relative to this directory. They are copied after the builtin static files,
55+ # so a file named "default.css" will overwrite the builtin "default.css".
56+ html_static_path = ['_static' ]
0 commit comments