|
| 1 | +# Configuration file for the Sphinx documentation builder. |
| 2 | +# |
| 3 | +# For the full list of built-in configuration values, see the documentation: |
| 4 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html |
| 5 | + |
| 6 | +import os |
| 7 | +import re |
| 8 | +import sys |
| 9 | +from datetime import date |
| 10 | +from rdf-sql-bulkloader import __version__ |
| 11 | +# -- Project information ----------------------------------------------------- |
| 12 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 13 | + |
| 14 | +project = 'rdf-sql-bulkloader' |
| 15 | +copyright = 'f"{date.today().year}, Chris Mungall <cjmungall@lbl.gov>' |
| 16 | +author = 'Chris Mungall <cjmungall@lbl.gov>' |
| 17 | +release = __version__ |
| 18 | + |
| 19 | +# -- General configuration --------------------------------------------------- |
| 20 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
| 21 | + |
| 22 | +extensions = [ |
| 23 | + "sphinx.ext.autodoc", |
| 24 | + "sphinx.ext.githubpages", |
| 25 | + "sphinx_rtd_theme", |
| 26 | + "sphinx_click", |
| 27 | + "sphinx_autodoc_typehints", |
| 28 | +] |
| 29 | + |
| 30 | +# generate autosummary pages |
| 31 | +autosummary_generate = True |
| 32 | + |
| 33 | +# The master toctree document. |
| 34 | +master_doc = "index" |
| 35 | + |
| 36 | +# The language for content autogenerated by Sphinx. Refer to documentation |
| 37 | +# for a list of supported languages. |
| 38 | +# |
| 39 | +# This is also used if you do content translation via gettext catalogs. |
| 40 | +# Usually you set "language" from the command line for these cases. |
| 41 | +language = "en" |
| 42 | + |
| 43 | +# List of patterns, relative to source directory, that match files and |
| 44 | +# directories to ignore when looking for source files. |
| 45 | +# This pattern also affects html_static_path and html_extra_path. |
| 46 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
| 47 | + |
| 48 | +templates_path = ['_templates'] |
| 49 | + |
| 50 | +# -- Options for HTML output ------------------------------------------------- |
| 51 | +# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
| 52 | + |
| 53 | +html_theme = 'sphinx_rtd_theme' |
| 54 | +html_static_path = ['_static'] |
| 55 | + |
| 56 | +# The name of an image file (relative to this directory) to place at the top |
| 57 | +# of the sidebar. |
| 58 | +# |
| 59 | +if os.path.exists("logo.png"): |
| 60 | + html_logo = "logo.png" |
0 commit comments