From 2f92a03b556f6b0291561af246e19083b11e8233 Mon Sep 17 00:00:00 2001 From: George Steel Date: Mon, 11 Sep 2023 22:36:18 +0100 Subject: [PATCH 1/3] Prepare docs for v4 branch Signed-off-by: George Steel --- docs/book/{ => v3}/console-helper.md | 0 docs/book/{ => v3}/migration.md | 0 mkdocs.yml | 15 ++++++++++++--- 3 files changed, 12 insertions(+), 3 deletions(-) rename docs/book/{ => v3}/console-helper.md (100%) rename docs/book/{ => v3}/migration.md (100%) diff --git a/docs/book/console-helper.md b/docs/book/v3/console-helper.md similarity index 100% rename from docs/book/console-helper.md rename to docs/book/v3/console-helper.md diff --git a/docs/book/migration.md b/docs/book/v3/migration.md similarity index 100% rename from docs/book/migration.md rename to docs/book/v3/migration.md diff --git a/mkdocs.yml b/mkdocs.yml index b19b2f3e..d631b3ff 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -2,11 +2,20 @@ docs_dir: docs/book site_dir: docs/html nav: - Home: index.md - - Reference: - - "Console Helper": console-helper.md - - Migration: migration.md + - v3: + - Reference: + - "Console Helper": console-helper.md + - Migration: migration.md site_name: laminas-stdlib site_description: Laminas\Stdlib repo_url: 'https://github.com/laminas/laminas-stdlib' extra: project: Components + current_version: v3 + versions: + - v3 +plugins: + - redirects: + redirect_maps: + migration.md: v3/migration.md + console-helper.md: v3/console-helper.md From c4a956db0653512aecccdd72745eed27f8a0daec Mon Sep 17 00:00:00 2001 From: George Steel Date: Tue, 12 Sep 2023 07:43:50 +0100 Subject: [PATCH 2/3] Simplify navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Frank Brückner Signed-off-by: George Steel --- mkdocs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index d631b3ff..15fab29c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,8 +3,7 @@ site_dir: docs/html nav: - Home: index.md - v3: - - Reference: - - "Console Helper": console-helper.md + - "Console Helper": console-helper.md - Migration: migration.md site_name: laminas-stdlib site_description: Laminas\Stdlib From 5ef1131580b777f22dda2420465f8ce8aba98b82 Mon Sep 17 00:00:00 2001 From: George Steel Date: Tue, 12 Sep 2023 07:46:15 +0100 Subject: [PATCH 3/3] Correct paths Signed-off-by: George Steel --- mkdocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 15fab29c..fa4ffa08 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,8 +3,8 @@ site_dir: docs/html nav: - Home: index.md - v3: - - "Console Helper": console-helper.md - - Migration: migration.md + - "Console Helper": v3/console-helper.md + - Migration: v3/migration.md site_name: laminas-stdlib site_description: Laminas\Stdlib repo_url: 'https://github.com/laminas/laminas-stdlib'