From 84243d5f1c612cbc808d39fe5f2abbc59d85b20b Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 23 Jan 2024 17:23:35 -0500 Subject: [PATCH 1/4] revert to php-drivers --- config/redirects | 4 ++-- snooty.toml | 2 +- source/index.txt | 2 +- source/{php.txt => php-drivers.txt} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename source/{php.txt => php-drivers.txt} (100%) diff --git a/config/redirects b/config/redirects index b318abbc7..2c7fe030b 100644 --- a/config/redirects +++ b/config/redirects @@ -212,7 +212,7 @@ raw: docs/drivers/drivers/go/ -> ${base}/go/current/ raw: docs/drivers/drivers/java/ -> ${base}/java-drivers/ raw: docs/drivers/drivers/kotlin/ -> ${base}/kotlin-drivers/ raw: docs/drivers/drivers/node/ -> ${base}/node/current/ -raw: docs/drivers/drivers/php/ -> ${base}/php/ +raw: docs/drivers/drivers/php/ -> ${base}/php-drivers/ raw: docs/drivers/drivers/python/ -> ${base}/python-drivers/ raw: docs/drivers/drivers/pymongo/ -> ${base}/pymongo/ raw: docs/drivers/drivers/ruby/ -> ${base}/ruby-drivers/ @@ -229,6 +229,6 @@ raw: docs/drivers/community-supported-drivers/ -> ${base}/ # Redirects for consistent language-spcific driver landing pages -raw: docs/drivers/php-drivers/ -> ${base}/php/ +raw: docs/drivers/php/ -> ${base}/php-drivers/ raw: docs/drivers/python/ -> ${base}/python-drivers/ raw: docs/drivers/ruby/ -> ${base}/ruby-drivers/ diff --git a/snooty.toml b/snooty.toml index 479a9d97b..72b459fbc 100644 --- a/snooty.toml +++ b/snooty.toml @@ -3,7 +3,7 @@ title = "MongoDB Drivers" toc_landing_pages = [ "/python-drivers", - "/php", + "/php-drivers", "/java-drivers", "/kotlin-drivers", "/use-cases", diff --git a/source/index.txt b/source/index.txt index 07f5b051d..b27d69aac 100644 --- a/source/index.txt +++ b/source/index.txt @@ -68,7 +68,7 @@ security patches to them. .. card:: :headline: PHP - :url: /php/ + :url: /php-drivers/ :icon: /icons/php.svg :icon-alt: PHP Driver icon diff --git a/source/php.txt b/source/php-drivers.txt similarity index 100% rename from source/php.txt rename to source/php-drivers.txt From cd75de135b7d9fec6c685e68884dd28a1f547e08 Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 23 Jan 2024 17:25:27 -0500 Subject: [PATCH 2/4] additional redirect --- config/redirects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/redirects b/config/redirects index 2c7fe030b..86653739b 100644 --- a/config/redirects +++ b/config/redirects @@ -194,7 +194,7 @@ raw: docs/ecosystem/drivers/ruby/ -> https://www.mongodb.com/docs/ruby-driver/cu raw: docs/ecosystem/drivers/python/ -> ${base}/python/ raw: docs/ecosystem/drivers/pymongo/ -> ${base}/pymongo/ raw: docs/ecosystem/drivers/perl/ -> ${base}/ -raw: docs/ecosystem/drivers/php/ -> ${base}/php/ +raw: docs/ecosystem/drivers/php/ -> ${base}/php-drivers/ raw: docs/ecosystem/drivers/node/ -> ${base}/node/current/ raw: docs/ecosystem/drivers/csharp/ -> ${base}/csharp/current/ raw: docs/ecosystem/drivers/java/ -> ${base}/java-drivers/ From 7d95dccbf7935cd53f90fa19f364bce4d6e0a910 Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Wed, 24 Jan 2024 16:33:42 -0500 Subject: [PATCH 3/4] build From dd9e074ef824ccfba1ed4dc082fdd0bdf41bbbad Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Wed, 24 Jan 2024 16:39:10 -0500 Subject: [PATCH 4/4] revert toc --- source/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.txt b/source/index.txt index b27d69aac..30dcb2bab 100644 --- a/source/index.txt +++ b/source/index.txt @@ -161,7 +161,7 @@ with MongoDB: Java Drivers Kotlin Drivers Node.js Driver - PHP Driver + PHP Driver Python Drivers Ruby Drivers Rust Driver