Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions snooty/rstspec.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""

Expand Down Expand Up @@ -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."""
Expand Down
12 changes: 6 additions & 6 deletions snooty/test_postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -328,15 +328,15 @@ 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::
:url: https://google.com/

.. card::
:headline: C++
:url: https://www.mongodb.com/docs/drivers/cxx/
:url: https://www.mongodb.com/docs/languages/cxx/

.. card::
:headline: No url
Expand All @@ -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"
Expand All @@ -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:
Expand Down Expand Up @@ -3959,7 +3959,7 @@ def test_method_selector_headings() -> None:

.. method-description::

This is an optional description. Learn more about drivers at `MongoDB Documentation <https://www.mongodb.com/docs/drivers/>`__.
This is an optional description. Learn more about drivers at `MongoDB Documentation <https://www.mongodb.com/docs/languages/>`__.

This is content in the Driver method haha.

Expand Down