From 641e2c2ab42ff8776a1811141ea40259c33a2605 Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Wed, 25 Oct 2023 00:38:43 +0300 Subject: [PATCH 1/5] Set a human readable version of insiders --- requirements-insiders.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-insiders.txt b/requirements-insiders.txt index 9d7c51d107..f00028009b 100644 --- a/requirements-insiders.txt +++ b/requirements-insiders.txt @@ -1 +1 @@ -git+https://${MKDOCS_INSIDERS_TOKEN}@github.com/opengisch/mkdocs-material-insiders@425df60910d649d80505851dc2fd3d240cd65e73#egg=mkdocs-material +git+https://${MKDOCS_INSIDERS_TOKEN}@github.com/opengisch/mkdocs-material-insiders@9.4.6-insiders-4.42.2#egg=mkdocs-material From f8f9fd1d9f76d4c99153f155d6a79abf02d33952 Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Wed, 25 Oct 2023 00:42:27 +0300 Subject: [PATCH 2/5] Remove retired dependency of `mkdocs-material-extensions` --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 636e16cfc5..90612f87ca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,6 @@ CairoSVG==2.7.1 cryptography==41.0.4 fancyboxmd==1.1.0 mkdocs-material==9.4.6 -mkdocs-material-extensions==1.3 mkdocs-static-i18n==1.1.1 mkdocs-video==1.5.0 PyGithub==2.1.1 From e54bce4b5e227fb2e5babc722b7c721478c1d7f6 Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Wed, 25 Oct 2023 00:39:02 +0300 Subject: [PATCH 3/5] Disable the social plugin for now, as it is breaking the i18n build --- mkdocs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 09ffc577ba..64d312fe4b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -157,11 +157,11 @@ extra: plugins: - mkdocs-video - search - - social: - # See https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/ - cards_color: - fill: "#72ad2e" - text: "#FFFFFF" + # - social: + # # See https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/ + # cards_color: + # fill: "#72ad2e" + # text: "#FFFFFF" - i18n: default_language_only: !ENV [DEFAULT_LANGUAGE_ONLY, true] # FIX ME: Add autodetection to translation rates so that only languages From 3f03d9386155ba68cdfa6c87fdfca7fbd0faff05 Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Wed, 25 Oct 2023 01:15:32 +0300 Subject: [PATCH 4/5] Disable mkdocs-insiders and resurrect the social plugin --- .github/workflows/gh-pages.yml | 8 ++++---- .github/workflows/zoho.yml | 2 +- mkdocs.yml | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index a14be821ad..376f14eb94 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -29,10 +29,10 @@ jobs: - name: Install Python requirements run: pip install -r requirements.txt - - name: Install Python requirements insiders - run: pip install -r requirements-insiders.txt - env: - MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }} + # - name: Install Python requirements insiders + # run: pip install -r requirements-insiders.txt + # env: + # MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }} - name: Install Transifex client run: | diff --git a/.github/workflows/zoho.yml b/.github/workflows/zoho.yml index b19e84d56d..8fa9e1dffc 100644 --- a/.github/workflows/zoho.yml +++ b/.github/workflows/zoho.yml @@ -24,7 +24,7 @@ jobs: MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }} run: | pip install -r requirements.txt - pip install -r requirements-insiders.txt + # pip install -r requirements-insiders.txt - name: Generate Zoho authentication credentials and update Zoho env: diff --git a/mkdocs.yml b/mkdocs.yml index 64d312fe4b..09ffc577ba 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -157,11 +157,11 @@ extra: plugins: - mkdocs-video - search - # - social: - # # See https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/ - # cards_color: - # fill: "#72ad2e" - # text: "#FFFFFF" + - social: + # See https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/ + cards_color: + fill: "#72ad2e" + text: "#FFFFFF" - i18n: default_language_only: !ENV [DEFAULT_LANGUAGE_ONLY, true] # FIX ME: Add autodetection to translation rates so that only languages From 36140aca18e45a63bb9f77a8fd720208c94cca18 Mon Sep 17 00:00:00 2001 From: why-not-try-calmer Date: Wed, 25 Oct 2023 00:40:07 +0200 Subject: [PATCH 5/5] updating cards_layout_options --- mkdocs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 09ffc577ba..94bd0513f6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -159,9 +159,9 @@ plugins: - search - social: # See https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/ - cards_color: - fill: "#72ad2e" - text: "#FFFFFF" + cards_layout_options: + background_color: "#72ad2e" + color: "#FFFFFF" - i18n: default_language_only: !ENV [DEFAULT_LANGUAGE_ONLY, true] # FIX ME: Add autodetection to translation rates so that only languages