From 279e62f840bee1ca8afa31b7d4c59353224417ec Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:10:25 +0100 Subject: [PATCH 1/7] requirements.txt: Upgrade mkdocs https://www.mkdocs.org/about/release-notes/ --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 1acf6e21d0..f3f5733da8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -mkdocs==1.5.1 +mkdocs==1.6.1 Pygments==2.15.0 pymdown-extensions==10.0.1 Markdown==3.2.1 From f8f28fd5f218e042dabe216e1dbcb12395a99cc9 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Thu, 20 Feb 2025 10:23:55 +0100 Subject: [PATCH 2/7] requirements.txt: Upgrade Markdown ERROR: Cannot install Markdown==3.2.1 and mkdocs==1.6.1 because these package versions have conflicting dependencies. The conflict is caused by: The user requested Markdown==3.2.1 mkdocs 1.6.1 depends on markdown>=3.3.6 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f3f5733da8..6a4ffe5f1c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ mkdocs==1.6.1 Pygments==2.15.0 pymdown-extensions==10.0.1 -Markdown==3.2.1 +Markdown==3.3.6 mkdocs-material==9.1.1 mkdocs-macros-plugin==0.7.0 mkdocs-redirects==1.2.0 From 7f4108a9dfb77db7e78b80b398760dc95bef3730 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Tue, 25 Feb 2025 15:55:19 +0100 Subject: [PATCH 3/7] IBX-9609: Upgrade all requirements (#2630) * requirements.txt: Upgrade Markdown to latest * requirements.txt: Upgrade Pygments to latest * requirements.txt: Upgrade PyMdown Extensions to latest * requirements.txt: Upgrade Material for MkDocs to latest * requirements.txt: Upgrade Mkdocs-Macros to latest * requirements.txt: Upgrade mkdocs-redirects to latest * requirements.txt: Upgrade MkDocs Autolinks Plugin to latest * navigation.css: Fix right ToC (probably due to Material for MkDocs upgrade) * navigation.css: Fix left ToC (probably due to Material for MkDocs upgrade) --- docs/css/navigation.css | 13 +++++++++++-- requirements.txt | 14 +++++++------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/docs/css/navigation.css b/docs/css/navigation.css index 4bac94e3dc..a079aa2634 100644 --- a/docs/css/navigation.css +++ b/docs/css/navigation.css @@ -56,6 +56,7 @@ .md-nav--secondary { padding-left: 10px; padding-bottom: 10px; + margin-bottom: 0; padding-top: 7rem; height: calc(100vh - 138px); } @@ -64,9 +65,12 @@ position: relative; } -.md-nav--secondary>ul { +.md-nav--secondary > ul { border-left: 1px solid var(--mid-grey); margin-left: 0.4rem; +} + +[dir=ltr] .md-nav--secondary ul.md-nav__list { padding-left: 0; } @@ -118,7 +122,12 @@ /* End Page TOC */ /* Main nav */ -.md-nav--primary .md-nav__link { +[dir=ltr] .md-nav--primary .md-nav__list { + padding-left: 0; +} + +[dir=ltr] .md-nav--primary .md-nav__item > .md-nav__link { + margin-right: 0; font-size: 16px; } diff --git a/requirements.txt b/requirements.txt index 6a4ffe5f1c..feef29229e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ mkdocs==1.6.1 -Pygments==2.15.0 -pymdown-extensions==10.0.1 -Markdown==3.3.6 -mkdocs-material==9.1.1 -mkdocs-macros-plugin==0.7.0 -mkdocs-redirects==1.2.0 -mkdocs-autolinks-plugin==0.7.0 +Pygments==2.19.1 +pymdown-extensions==10.14.3 +Markdown==3.7 +mkdocs-material==9.6.5 +mkdocs-macros-plugin==1.3.7 +mkdocs-redirects==1.2.2 +mkdocs-autolinks-plugin==0.7.1 Jinja2==3.1.5 From 2fe68f62fd6ccef5fcefa6d443022c3d701104b2 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Wed, 5 Mar 2025 15:44:58 +0100 Subject: [PATCH 4/7] .readthedocs.yml: Upgrade python & pip (#2653) --- .readthedocs.yml | 3 +-- pip_require.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 pip_require.txt diff --git a/.readthedocs.yml b/.readthedocs.yml index d161ec9b53..3546358553 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,9 +7,8 @@ mkdocs: build: os: ubuntu-20.04 tools: - python: "3.11" + python: "3.13" python: install: - - requirements: pip_require.txt - requirements: requirements.txt diff --git a/pip_require.txt b/pip_require.txt deleted file mode 100644 index 2de5dd1f5b..0000000000 --- a/pip_require.txt +++ /dev/null @@ -1 +0,0 @@ -pip==23.3 From 374ff9369e72d3b0ea3a10eaec967d24839d5904 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 7 Mar 2025 15:29:13 +0100 Subject: [PATCH 5/7] Test `absolute_links: relative_to_docs` --- docs/ai_actions/extend_ai_actions.md | 2 ++ mkdocs.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/docs/ai_actions/extend_ai_actions.md b/docs/ai_actions/extend_ai_actions.md index 98ea873c9c..22106bbf20 100644 --- a/docs/ai_actions/extend_ai_actions.md +++ b/docs/ai_actions/extend_ai_actions.md @@ -13,6 +13,8 @@ For example, you can create a handler that connects to a translation model and u You can execute AI Actions by using the [ActionServiceInterface](../api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionServiceInterface.html) service, as in the following example: +You can execute AI Actions by using the [ActionServiceInterface](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionServiceInterface.html) service, as in the following example: + ``` php [[= include_file('code_samples/ai_actions/src/Command/AddMissingAltTextCommand.php', 102, 121) =]] ``` diff --git a/mkdocs.yml b/mkdocs.yml index a2ecde136c..2af6fbe9e8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,9 @@ site_name: Developer Documentation repo_url: https://github.com/ibexa/documentation-developer site_url: https://doc.ibexa.co/en/latest/ copyright: "Copyright 1999-2024 Ibexa AS and others" +validation: + links: + absolute_links: relative_to_docs nav: - Ibexa Developer Documentation: index.md - Ibexa DXP editions: From 1bbfb6926421c898b641c6f102714c64f71a023d Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 7 Mar 2025 17:32:59 +0100 Subject: [PATCH 6/7] Revert "Test `absolute_links: relative_to_docs`" This reverts commit 374ff9369e72d3b0ea3a10eaec967d24839d5904. --- docs/ai_actions/extend_ai_actions.md | 2 -- mkdocs.yml | 3 --- 2 files changed, 5 deletions(-) diff --git a/docs/ai_actions/extend_ai_actions.md b/docs/ai_actions/extend_ai_actions.md index 22106bbf20..98ea873c9c 100644 --- a/docs/ai_actions/extend_ai_actions.md +++ b/docs/ai_actions/extend_ai_actions.md @@ -13,8 +13,6 @@ For example, you can create a handler that connects to a translation model and u You can execute AI Actions by using the [ActionServiceInterface](../api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionServiceInterface.html) service, as in the following example: -You can execute AI Actions by using the [ActionServiceInterface](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ConnectorAi-ActionServiceInterface.html) service, as in the following example: - ``` php [[= include_file('code_samples/ai_actions/src/Command/AddMissingAltTextCommand.php', 102, 121) =]] ``` diff --git a/mkdocs.yml b/mkdocs.yml index 2af6fbe9e8..a2ecde136c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,9 +4,6 @@ site_name: Developer Documentation repo_url: https://github.com/ibexa/documentation-developer site_url: https://doc.ibexa.co/en/latest/ copyright: "Copyright 1999-2024 Ibexa AS and others" -validation: - links: - absolute_links: relative_to_docs nav: - Ibexa Developer Documentation: index.md - Ibexa DXP editions: From f020b83f6134d9703f7c0259f2d9aad3bba702a4 Mon Sep 17 00:00:00 2001 From: Adrien Dupuis <61695653+adriendupuis@users.noreply.github.com> Date: Fri, 7 Mar 2025 17:34:04 +0100 Subject: [PATCH 7/7] mkdocs: `absolute_links: relative_to_docs` --- mkdocs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index a2ecde136c..2af6fbe9e8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,9 @@ site_name: Developer Documentation repo_url: https://github.com/ibexa/documentation-developer site_url: https://doc.ibexa.co/en/latest/ copyright: "Copyright 1999-2024 Ibexa AS and others" +validation: + links: + absolute_links: relative_to_docs nav: - Ibexa Developer Documentation: index.md - Ibexa DXP editions: