project = "Unum ยท USearch"
copyright = "2023, Unum"
author = "Unum"
release = open("../VERSION", "r").read().strip()
with open("_static/custom.js", "r+") as js:
content = js.read()
js.seek(0)
js.truncate()
js.write(content.replace("$(VERSION)", release))
extensions = [
"breathe",
"m2r2",
"sphinx.ext.autodoc",
"sphinx_js",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinxcontrib.jquery",
"sphinxcontrib.googleanalytics",
]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "*.md"]
googleanalytics_id = "341385789"
googleanalytics_enabled = True
html_logo = "../assets/unum.png"
html_theme = "furo"
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_js_files = ["custom.js"]
html_baseurl = "/docs/usearch/"
breathe_projects = {"USearch": "../build/xml"}
breathe_default_project = "USearch"
js_source_path = "../javascript/docs.js"