From f4c36d4ac0dc6480e7f4813807ac7dc18fb27fca Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Wed, 29 May 2024 10:13:12 +0300 Subject: [PATCH 01/33] feat: upgrade iati design system version --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index f98608f..68f0350 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", - "iati-design-system": "1.0.0", + "iati-design-system": "^1.2.0", "sass": "^1.75.0", "semantic-release": "^23.1.1", "semantic-release-pypi": "^3.0.0" @@ -2927,9 +2927,9 @@ } }, "node_modules/iati-design-system": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/iati-design-system/-/iati-design-system-1.0.0.tgz", - "integrity": "sha512-vp/Hp6PQSSZdlIBw7YM41/NKBu0bHL4hVEVWkLUdPzOJY2h3ANdpy9yZ7WDLRLB/pa7k+Nmat+LuFl3svezICA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/iati-design-system/-/iati-design-system-1.2.0.tgz", + "integrity": "sha512-67GZAQ8FcYRJyF7CWDDeSbKAlHmqxkzAxoCesMIZzFIhU+fyy/U4K2ItqGqgsE9ks9ANphiNFAN2SmLqPtxYjA==", "dev": true, "dependencies": { "normalize-scss": "^8.0.0" diff --git a/package.json b/package.json index 95f8e97..55c2c93 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", - "iati-design-system": "1.0.0", + "iati-design-system": "^1.2.0", "sass": "^1.75.0", "semantic-release": "^23.1.1", "semantic-release-pypi": "^3.0.0" From 183ee45cd8d6b6b99b38c9a8e7c73b838e7638ea Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Wed, 29 May 2024 11:03:29 +0300 Subject: [PATCH 02/33] feat: add IATI header --- iati_sphinx_theme/layout.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 iati_sphinx_theme/layout.html diff --git a/iati_sphinx_theme/layout.html b/iati_sphinx_theme/layout.html new file mode 100644 index 0000000..dba374e --- /dev/null +++ b/iati_sphinx_theme/layout.html @@ -0,0 +1,19 @@ +{% extends "basic/layout.html" %} + +{%- block header %} +
+
+ + + +
+ +
+{% endblock %} From 0dff569436096e42f175ba0aaa39c9ab0b24a7af Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Wed, 29 May 2024 11:13:05 +0300 Subject: [PATCH 03/33] feat: add IATI title bar --- iati_sphinx_theme/layout.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iati_sphinx_theme/layout.html b/iati_sphinx_theme/layout.html index dba374e..56acc85 100644 --- a/iati_sphinx_theme/layout.html +++ b/iati_sphinx_theme/layout.html @@ -16,4 +16,9 @@ +
+
+ {{ _(project) }} +
+
{% endblock %} From 38c2c8fb01f99d56e640167ddb46a81f24248167 Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Wed, 29 May 2024 12:38:39 +0300 Subject: [PATCH 04/33] feat: add IATI footer --- iati_sphinx_theme/layout.html | 37 +++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/iati_sphinx_theme/layout.html b/iati_sphinx_theme/layout.html index 56acc85..6685c1b 100644 --- a/iati_sphinx_theme/layout.html +++ b/iati_sphinx_theme/layout.html @@ -22,3 +22,40 @@ {% endblock %} + +{%- block footer %} + +{%- endblock %} From 1ae92bfc36498e94784d44d4e6adb8ed7285fba6 Mon Sep 17 00:00:00 2001 From: Tilly Woodfield <22456167+tillywoodfield@users.noreply.github.com> Date: Wed, 29 May 2024 12:51:19 +0300 Subject: [PATCH 05/33] feat: expand page to full vertical height --- iati_sphinx_theme/layout.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/iati_sphinx_theme/layout.html b/iati_sphinx_theme/layout.html index 6685c1b..60d1847 100644 --- a/iati_sphinx_theme/layout.html +++ b/iati_sphinx_theme/layout.html @@ -23,6 +23,12 @@ {% endblock %} +{%- block content %} +
+ {{ super() }} +
+{% endblock %} + {%- block footer %}