2021-12-31 17:05:43 +00:00
|
|
|
import os.path
|
|
|
|
|
|
|
|
# Simulate import of the "supysonic" package
|
|
|
|
supy_module_path = os.path.join(
|
|
|
|
os.path.dirname(__file__), "..", "supysonic", "__init__.py"
|
|
|
|
)
|
|
|
|
with open(supy_module_path, "rt", encoding="utf-8") as f:
|
|
|
|
supysonic = type("", (), {})()
|
|
|
|
exec(f.read(), supysonic.__dict__)
|
|
|
|
|
2021-11-14 17:08:22 +00:00
|
|
|
|
2021-01-23 14:44:15 +00:00
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
|
2021-11-14 17:08:22 +00:00
|
|
|
project = supysonic.NAME
|
|
|
|
author = supysonic.AUTHOR
|
2023-03-25 14:59:52 +00:00
|
|
|
copyright = "2013-2023, " + author
|
2021-01-23 14:44:15 +00:00
|
|
|
|
2021-11-14 17:08:22 +00:00
|
|
|
version = supysonic.VERSION
|
|
|
|
release = supysonic.VERSION
|
2021-01-23 14:44:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
|
|
|
|
extensions = []
|
|
|
|
templates_path = []
|
|
|
|
source_suffix = ".rst"
|
|
|
|
master_doc = "index"
|
|
|
|
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
2021-12-16 20:23:54 +00:00
|
|
|
smartquotes_action = "qe"
|
2021-01-23 14:44:15 +00:00
|
|
|
|
|
|
|
primary_domain = None
|
|
|
|
highlight_language = "none"
|
|
|
|
|
2024-12-15 11:50:18 +00:00
|
|
|
language = "en"
|
2021-01-23 14:44:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
|
|
|
|
html_theme = "alabaster"
|
|
|
|
html_theme_options = {
|
2021-11-14 17:08:22 +00:00
|
|
|
"description": supysonic.DESCRIPTION,
|
2021-01-23 14:44:15 +00:00
|
|
|
"github_user": "spl0k",
|
|
|
|
"github_repo": "supysonic",
|
2024-12-15 11:50:18 +00:00
|
|
|
"github_type": "star",
|
2021-01-23 14:44:15 +00:00
|
|
|
}
|
|
|
|
html_static_path = ["_static"]
|
|
|
|
|
|
|
|
html_sidebars = {
|
2021-01-24 16:53:59 +00:00
|
|
|
"*": [
|
|
|
|
"about.html",
|
|
|
|
"navigation.html",
|
|
|
|
"relations.html",
|
|
|
|
"searchbox.html",
|
|
|
|
"donate.html",
|
|
|
|
],
|
|
|
|
"setup/**": [
|
2021-01-23 14:44:15 +00:00
|
|
|
"about.html",
|
|
|
|
"localtoc.html",
|
|
|
|
"navigation.html",
|
|
|
|
"relations.html",
|
|
|
|
"searchbox.html",
|
|
|
|
"donate.html",
|
2021-01-24 16:53:59 +00:00
|
|
|
],
|
2021-01-23 14:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html_domain_indices = False
|
|
|
|
|
|
|
|
|
|
|
|
# -- Options for manual page output ------------------------------------------
|
|
|
|
|
|
|
|
_man_authors = ["Louis-Philippe Véronneau", author]
|
|
|
|
|
|
|
|
# (source start file, name, description, authors, manual section).
|
|
|
|
man_pages = [
|
|
|
|
(
|
|
|
|
"man/supysonic-cli",
|
|
|
|
"supysonic-cli",
|
2021-11-06 16:51:54 +00:00
|
|
|
"Supysonic management command line interface",
|
2021-01-23 14:44:15 +00:00
|
|
|
_man_authors,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"man/supysonic-cli-user",
|
|
|
|
"supysonic-cli-user",
|
|
|
|
"Supysonic user management commands",
|
|
|
|
_man_authors,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"man/supysonic-cli-folder",
|
|
|
|
"supysonic-cli-folder",
|
|
|
|
"Supysonic folder management commands",
|
|
|
|
_man_authors,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"man/supysonic-daemon",
|
|
|
|
"supysonic-daemon",
|
|
|
|
"Supysonic background daemon",
|
|
|
|
_man_authors,
|
|
|
|
1,
|
|
|
|
),
|
2021-11-06 16:51:54 +00:00
|
|
|
(
|
|
|
|
"man/supysonic-server",
|
|
|
|
"supysonic-server",
|
|
|
|
"Python implementation of the Subsonic server API",
|
|
|
|
[author],
|
2021-12-31 17:05:43 +00:00
|
|
|
1,
|
|
|
|
),
|
2021-01-23 14:44:15 +00:00
|
|
|
]
|