diff --git a/snooty/rstspec.toml b/snooty/rstspec.toml index 6a1d12e7..4c003fe0 100644 --- a/snooty/rstspec.toml +++ b/snooty/rstspec.toml @@ -850,7 +850,7 @@ content_type = "block" argument_type = "string" example = """.. wayfinding:: - .. wayfinding-option:: https://www.mongodb.com/docs/drivers/node/current/usage-examples/findOne/ + .. wayfinding-option:: https://www.mongodb.com/docs/languages/node/current/usage-examples/findOne/ :id: nodejs """ @@ -1493,11 +1493,11 @@ type = {link = "https://www.mongodb.com/docs/realm-sdks/dotnet/latest/%s"} [role.ecosystem] help = """Link to a page in the Ecosystem docs.""" -type = {link = "https://www.mongodb.com/docs/drivers%s", ensure_trailing_slash = true} +type = {link = "https://www.mongodb.com/docs/languages%s", ensure_trailing_slash = true} [role.driver] help = """Link to a driver's page in the Ecosystem docs.""" -type = {link = "https://www.mongodb.com/docs/drivers%s", ensure_trailing_slash = true} +type = {link = "https://www.mongodb.com/docs/languages%s", ensure_trailing_slash = true} [role.products] help = """Link to a page in the MongoDB Products site.""" diff --git a/snooty/test_postprocess.py b/snooty/test_postprocess.py index 67c912db..0d366be4 100644 --- a/snooty/test_postprocess.py +++ b/snooty/test_postprocess.py @@ -317,7 +317,7 @@ def test_ia_linked_data() -> None: .. entry:: Client Libraries :id: client-libraries - :url: https://www.mongodb.com/docs/drivers/ + :url: https://www.mongodb.com/docs/languages/ .. card-group:: :columns: 4 @@ -328,7 +328,7 @@ def test_ia_linked_data() -> None: .. card:: :headline: C - :url: https://www.mongodb.com/docs/drivers/c/ + :url: https://www.mongodb.com/docs/languages/c/ .. there is no headline .. card:: @@ -336,7 +336,7 @@ def test_ia_linked_data() -> None: .. card:: :headline: C++ - :url: https://www.mongodb.com/docs/drivers/cxx/ + :url: https://www.mongodb.com/docs/languages/cxx/ .. card:: :headline: No url @@ -348,7 +348,7 @@ def test_ia_linked_data() -> None: .. card:: :headline: Wahoo - :url: https://www.mongodb.com/docs/drivers/java/ + :url: https://www.mongodb.com/docs/languages/java/ """, Path( "source/page1.txt" @@ -364,7 +364,7 @@ def test_ia_linked_data() -> None: .. card:: :headline: C - :url: https://www.mongodb.com/docs/drivers/c/ + :url: https://www.mongodb.com/docs/languages/c/ """, } ) as result: @@ -3959,7 +3959,7 @@ def test_method_selector_headings() -> None: .. method-description:: - This is an optional description. Learn more about drivers at `MongoDB Documentation `__. + This is an optional description. Learn more about drivers at `MongoDB Documentation `__. This is content in the Driver method haha.