Something went wrong. Try again.
forked from libreqoe/libreqos
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647# Configuration file for the Sphinx documentation builder.## For the full list of built-in configuration values, see the documentation:# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import datetimeyear = datetime.date.today().year
project = "LibreQoE"copyright = str(year) + ", LibreQoE, LLC"author = "LibreQoE, LLC"
# -- General configuration ---------------------------------------------------# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ["myst_parser", "sphinxcontrib.mermaid"]
myst_enable_extensions = [ 'substitution']
templates_path = ["_templates"]exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# -- Options for HTML output -------------------------------------------------# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = "sphinx_rtd_theme"html_static_path = ["_static"]
def ultimateReplace(app, docname, source): result = source[0] for key in app.config.ultimate_replacements: result = result.replace(key, app.config.ultimate_replacements[key]) source[0] = result
ultimate_replacements = { "{deb_url_v1_5}" : "libreqos_2.2.202608181534-1_amd64.deb"}
def setup(app): app.add_config_value('ultimate_replacements', {}, True) app.connect('source-read', ultimateReplace)