diff --git a/docs/_templates/module.rst_t b/docs/_templates/module.rst_t index 3c70ad71..27291ce3 100644 --- a/docs/_templates/module.rst_t +++ b/docs/_templates/module.rst_t @@ -1,4 +1,4 @@ -{%- set is_root = basename == project -%} +{%- set is_root = basename == "musify" -%} {%- set module_footer = ["base", "exception"] -%} {%- set module_caps = ["api", "m3u", "xautopf", "flac", "mp3", "m4a", "wma"] -%} @@ -6,7 +6,7 @@ {%- if name.endswith(".exception") -%} {%- set name = "exceptions"-%} {%- else -%} - {%- set name = name.replace(project + ".", "").split(".") | last -%} + {%- set name = name.replace("musify.", "").split(".") | last -%} {%- endif -%} {%- if name | lower in module_caps -%} diff --git a/docs/_templates/package.rst_t b/docs/_templates/package.rst_t index 0a507e6d..2219aa97 100644 --- a/docs/_templates/package.rst_t +++ b/docs/_templates/package.rst_t @@ -1,4 +1,4 @@ -{%- set is_root = pkgname == project -%} +{%- set is_root = pkgname == "musify" -%} {%- set module_footer = ["base", "exception"] -%} {%- set module_caps = ["api", "m3u", "xautopf", "flac", "mp3", "m4a", "wma"] -%} @@ -6,7 +6,7 @@ {%- if name.endswith(".exception") -%} {%- set name = "exceptions"-%} {%- else -%} - {%- set name = name.replace(project + ".", "").split(".") | last -%} + {%- set name = name.replace("musify.", "").split(".") | last -%} {%- endif -%} {%- if name | lower in module_caps -%} diff --git a/docs/index.rst b/docs/index.rst index 310a597c..69c2df92 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,8 +1,3 @@ -.. Musify documentation master file, created by - sphinx-quickstart on Fri Jan 5 23:04:37 2024. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - Welcome to Musify! ===================================