From 84243d5f1c612cbc808d39fe5f2abbc59d85b20b Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Tue, 23 Jan 2024 17:23:35 -0500 Subject: [PATCH] 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