Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
import datetime
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
import pyoxigraph
|
|
|
|
sys.path.insert(0, str(Path(__file__).parent.parent.absolute()))
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
project = "pyoxigraph"
|
|
copyright = f"{datetime.date.today().year}, Oxigraph contributors"
|
|
author = pyoxigraph.__author__
|
|
version = pyoxigraph.__version__
|
|
release = pyoxigraph.__version__
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
extensions = ["sphinx.ext.autodoc", "sphinx.ext.doctest", "sphinx.ext.intersphinx"]
|
|
|
|
exclude_patterns = ["build", "Thumbs.db", ".DS_Store"]
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
html_theme = "furo"
|
|
html_static_path = []
|
|
html_logo = "../../logo.svg"
|
|
html_favicon = "../../logo.svg"
|
|
html_theme_options = {"body_max_width": None}
|
|
html_baseurl = "https://pyoxigraph.readthedocs.io/en/stable/"
|
|
|
|
# -- Options for doctests -------------------------------------------------
|
|
|
|
doctest_global_setup = "from pyoxigraph import *\nimport io"
|
|
|
|
# -- Options for intersphinx -------------------------------------------------
|
|
|
|
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
|
|
|