From 5f6b9f7146e6f238e44a2c5d10e69e1f4906a336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 1 Mar 2025 22:43:07 +0100 Subject: [PATCH 1/9] build(website): Explicitly configure the blog post template --- docs/website/overrides/blog-post.html | 173 ++++++++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 docs/website/overrides/blog-post.html diff --git a/docs/website/overrides/blog-post.html b/docs/website/overrides/blog-post.html new file mode 100644 index 0000000..d3b872c --- /dev/null +++ b/docs/website/overrides/blog-post.html @@ -0,0 +1,173 @@ + + +{% extends "main.html" %} + +{% import "partials/nav-item.html" as item with context %} + + +{% block container %} +
+ + +
+
+
+ + + + {% if "toc.integrate" in features %} + {% include "partials/toc.html" %} + {% endif %} +
+
+
+ + +
+ {% block content %} + {% include "partials/content.html" %} + {% endblock %} +
+
+{% endblock %} -- 2.51.2 From 27ac939417b159e9645bad32a4caeb8dbf3e98ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 1 Mar 2025 22:53:22 +0100 Subject: [PATCH 2/9] build(website): Add social links in blog posts --- docs/website/overrides/blog-post.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/website/overrides/blog-post.html b/docs/website/overrides/blog-post.html index d3b872c..0393fe2 100644 --- a/docs/website/overrides/blog-post.html +++ b/docs/website/overrides/blog-post.html @@ -149,6 +149,32 @@ {% endif %} + + +
  • + +
  • +
  • + +
  • +
  • + +
  • -- 2.51.2 From 3d927d670dfb20588a8d144ffd88a6940e320acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 1 Mar 2025 22:58:12 +0100 Subject: [PATCH 3/9] ci(gitlab): Configure the 'site_url' for MkDocs --- docs/website/.gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/website/.gitlab-ci.yml b/docs/website/.gitlab-ci.yml index d6f539b..4ac7f6d 100644 --- a/docs/website/.gitlab-ci.yml +++ b/docs/website/.gitlab-ci.yml @@ -8,6 +8,7 @@ mkdocs: - ls - 'echo "repo_url: $CI_PROJECT_URL">>mkdocs.yml' - 'echo "repo_name: $CI_PROJECT_TITLE">>mkdocs.yml' + - 'echo "site_url: $CI_PAGES_URL">>mkdocs.yml' script: - pwd -- 2.51.2 From 5a01e7c7bc6026ce402ba0828b1d58f049160fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 1 Mar 2025 23:00:56 +0100 Subject: [PATCH 4/9] build(website): Advertise the RSS feed in the blog post metadata --- docs/website/overrides/blog-post.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/website/overrides/blog-post.html b/docs/website/overrides/blog-post.html index 0393fe2..3a95a9e 100644 --- a/docs/website/overrides/blog-post.html +++ b/docs/website/overrides/blog-post.html @@ -175,6 +175,16 @@ + + +
  • + +
  • -- 2.51.2 From 2e231c344a4fdd77a9679006c0b540bd4cc4f909 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 1 Mar 2025 23:12:20 +0100 Subject: [PATCH 5/9] build(website): Remove '&' from site_author because it breaks the RSS plugin See https://github.com/Guts/mkdocs-rss-plugin/issues/360 --- docs/website/mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/mkdocs.yml b/docs/website/mkdocs.yml index a6f6b92..4838ed6 100644 --- a/docs/website/mkdocs.yml +++ b/docs/website/mkdocs.yml @@ -1,5 +1,5 @@ site_name: OpenSavvy Playground -site_author: OpenSavvy & contributors +site_author: OpenSavvy and contributors site_description: > Project template with CI/CD and IDE configuration. -- 2.51.2 From 5c2f0f6087c4371ed887b5e26b934fb0ae171fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sun, 2 Mar 2025 11:55:19 +0100 Subject: [PATCH 6/9] ci(gitlab): CI Containers 0.7.0 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 060d851..517d679 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,7 +12,7 @@ include: variables: # https://gitlab.com/opensavvy/automation/containers - ci_containers: 0.6.0 + ci_containers: 0.7.0 workflow: rules: -- 2.51.2 From 151fadd8486978f1b83bda8516404432b5a511b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20=E2=80=9CCLOVIS=E2=80=9D=20Canet?= Date: Sat, 8 Mar 2025 16:39:11 +0100 Subject: [PATCH 7/9] build(idea): Code style: always wrap JSON objects Before: ```json { "a": "b", "c": "d" } ``` After: ```json { "a": "b", "c": "d" } ``` --- .idea/codeStyles/Project.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 6a60364..7d8cdb7 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -29,10 +29,10 @@