From 0c9c84469e25bce8e28d1b4511007eeaae167fde Mon Sep 17 00:00:00 2001 From: matijakolaric Date: Wed, 10 Jul 2024 13:29:37 +0200 Subject: [PATCH] Documentation config --- .readthedocs.yaml | 35 +++++++++++++++++++++++ docs/conf.py | 8 +++--- music_publisher/templates/admin/base.html | 15 +++++----- 3 files changed, 47 insertions(+), 11 deletions(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 00000000..124910a9 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,35 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the OS, Python version and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.12" + # You can also specify other tool versions: + # nodejs: "20" + # rust: "1.70" + # golang: "1.20" + +# Build documentation in the "docs/" directory with Sphinx +sphinx: + configuration: docs/conf.py + # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs + # builder: "dirhtml" + # Fail on all warnings to avoid broken references + # fail_on_warning: true + +# Optionally build your docs in additional formats such as PDF and ePub +# formats: +# - pdf +# - epub + +# Optional but recommended, declare the Python requirements required +# to build your documentation +# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +# python: +# install: +# - requirements: docs/requirements.txt \ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index 8435fb16..696b3d0d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -24,13 +24,13 @@ # -- Project information ----------------------------------------------------- project = "DMP - Free Music Publishing Catalogue" -copyright = "2018-2023, Matija Kolarić" +copyright = "2018-2024, Matija Kolarić" author = "Matija Kolarić" # The short X.Y version -version = "23.4 Rubicon" +version = "24.7 Holiday" # The full version, including alpha/beta/rc tags -release = "23.4" +release = "24.7" rst_epilog = """ .. |version| replace:: {} @@ -57,7 +57,7 @@ "sphinxcontrib.mermaid", ] -mermaid_version = "9.4.2" +mermaid_version = "10.9.1" autodoc_member_order = "bysource" diff --git a/music_publisher/templates/admin/base.html b/music_publisher/templates/admin/base.html index 3c4222ef..e00c2bbb 100644 --- a/music_publisher/templates/admin/base.html +++ b/music_publisher/templates/admin/base.html @@ -38,11 +38,11 @@ html[data-theme="dark"] { --primary: #a31212; --secondary: var(--primary); - --link-fg: var(--primary); + --link-fg: #ff2222; --header-bg: var(--body-bg); --header-color: var(--body-fg); --header-link-color: var(--primary); - --accent: var(--primary); + --accent: #ff2222; --link-selected-fg: var(--link-fg); --link-hover-color: var(--body-fg); --object-tools-bg: var(--primary); @@ -140,7 +140,7 @@ {% if not is_popup %}
- + {% block header %}