mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-13 21:52:18 +00:00
8ab9f444b7
Metadata in `setup.cfg` rather than `pyproject.toml` as I'm a bit confused about `setuptools` support for PEP-621. Test stuff still in `setup.py`, this needs updating and I'm not satisfied with the way they are loaded/discovered.
104 lines
2.3 KiB
Python
104 lines
2.3 KiB
Python
import supysonic
|
|
|
|
# -- Project information -----------------------------------------------------
|
|
|
|
project = supysonic.NAME
|
|
author = supysonic.AUTHOR
|
|
copyright = "2013-2021, " + author
|
|
|
|
version = supysonic.VERSION
|
|
release = supysonic.VERSION
|
|
|
|
|
|
# -- General configuration ---------------------------------------------------
|
|
|
|
extensions = []
|
|
templates_path = []
|
|
source_suffix = ".rst"
|
|
master_doc = "index"
|
|
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
|
|
|
primary_domain = None
|
|
highlight_language = "none"
|
|
|
|
language = None
|
|
|
|
|
|
# -- Options for HTML output -------------------------------------------------
|
|
|
|
html_theme = "alabaster"
|
|
html_theme_options = {
|
|
"description": supysonic.DESCRIPTION,
|
|
"github_user": "spl0k",
|
|
"github_repo": "supysonic",
|
|
}
|
|
html_static_path = ["_static"]
|
|
|
|
html_sidebars = {
|
|
"*": [
|
|
"about.html",
|
|
"navigation.html",
|
|
"relations.html",
|
|
"searchbox.html",
|
|
"donate.html",
|
|
],
|
|
"setup/**": [
|
|
"about.html",
|
|
"localtoc.html",
|
|
"navigation.html",
|
|
"relations.html",
|
|
"searchbox.html",
|
|
"donate.html",
|
|
],
|
|
}
|
|
|
|
html_domain_indices = False
|
|
|
|
|
|
# -- Options for manual page output ------------------------------------------
|
|
|
|
_man_authors = ["Louis-Philippe Véronneau", author]
|
|
|
|
# Man pages, they are writter to be generated directly by `rst2man` so using
|
|
# Sphinx to build them will give weird sections, but if we ever need it it's
|
|
# there
|
|
|
|
# (source start file, name, description, authors, manual section).
|
|
man_pages = [
|
|
(
|
|
"man/supysonic-cli",
|
|
"supysonic-cli",
|
|
"Supysonic management command line interface",
|
|
_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,
|
|
),
|
|
(
|
|
"man/supysonic-server",
|
|
"supysonic-server",
|
|
"Python implementation of the Subsonic server API",
|
|
[author],
|
|
1
|
|
)
|
|
]
|