From 65c7e7a0cfc1bfc65e9d438385b75574d8c7af99 Mon Sep 17 00:00:00 2001 From: Rachel Mackintosh Date: Fri, 27 Oct 2023 11:18:38 -0400 Subject: [PATCH] update url path to include -drivers suffix for consistency --- config/redirects | 6 +++--- snooty.toml | 2 +- source/index.txt | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/redirects b/config/redirects index 74a127859..a811c4111 100644 --- a/config/redirects +++ b/config/redirects @@ -212,10 +212,10 @@ 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/python/ -> ${base}/python/ +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/ -> https://www.mongodb.com/docs/ruby-driver/current/ +raw: docs/drivers/drivers/ruby/ -> ${base}/ruby-drivers/ raw: docs/drivers/drivers/rust/ -> ${base}/rust/current/ raw: docs/drivers/drivers/scala/ -> ${base}/scala/ raw: docs/drivers/drivers/swift/ -> ${base}/swift/ diff --git a/snooty.toml b/snooty.toml index 0e08aadde..910f25a68 100644 --- a/snooty.toml +++ b/snooty.toml @@ -1,7 +1,7 @@ name = "drivers" title = "MongoDB Drivers" -toc_landing_pages = ["/python", "/php", "/java-drivers", "/kotlin-drivers", "/use-cases", "/ruby"] +toc_landing_pages = ["/python-drivers", "/php-drivers", "/java-drivers", "/kotlin-drivers", "/use-cases", "/ruby-drivers"] intersphinx = ["https://www.mongodb.com/docs/manual/objects.inv"] sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" diff --git a/source/index.txt b/source/index.txt index c62e70dd0..344b0e7a0 100644 --- a/source/index.txt +++ b/source/index.txt @@ -67,19 +67,19 @@ security patches to them. .. card:: :headline: PHP - :url: /php/ + :url: /php-drivers/ :icon: /icons/php.svg :icon-alt: PHP Driver icon .. card:: :headline: Python - :url: /python/ + :url: /python-drivers/ :icon: /icons/python.svg :icon-alt: Python Driver icon .. card:: :headline: Ruby - :url: /ruby/ + :url: /ruby-drivers/ :icon: /icons/ruby.svg :icon-alt: Ruby Driver icon @@ -152,9 +152,9 @@ Don’t see your desired language? Browse more `community-supported libraries Kotlin Drivers Node.js Driver - PHP Driver - Python Drivers - Ruby Drivers + PHP Driver + Python Drivers + Ruby Drivers Rust Driver Scala Driver Swift Driver