Browse Source

docs: fix 3 broken external links in en docs

- docs/en/docs/tutorial/extra-data-types.md:52
  https://docs.pydantic.dev/latest/usage/types/types/ → /concepts/types/
  (pydantic v1 docs path was retired; the v2 docs use /concepts/types/)

- docs/en/docs/index.md:576
  https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/ → /concepts/types/#extra-types
  (same v1→v2 path restructure; #extra-types anchors to the relevant section)

- docs/en/docs/how-to/graphql.md:24
  https://ariadnegraphql.org/docs/fastapi-integrationhttps://ariadnegraphql.org/
  (the FastAPI-specific docs page was removed; the project homepage now
  lists FastAPI integration under 'ASGI and WSGI support' in the README)

Verified: all 3 new URLs return HTTP 200; all 3 old URLs return HTTP 404.

Note: 19 translation files (zh, ja, ru, pt, etc.) reference the same
broken links, but those are AI-generated translations under scripts/translate.py
and will be regenerated by the maintainer. This PR only fixes the English
source-of-truth files.
pull/15817/head
sanjibani 1 month ago
parent
commit
cb6e3e34bb
  1. 2
      docs/en/docs/how-to/graphql.md
  2. 2
      docs/en/docs/index.md
  3. 2
      docs/en/docs/tutorial/extra-data-types.md

2
docs/en/docs/how-to/graphql.md

@ -21,7 +21,7 @@ Here are some of the **GraphQL** libraries that have **ASGI** support. You could
* [Strawberry](https://strawberry.rocks/) 🍓
* With [docs for FastAPI](https://strawberry.rocks/docs/integrations/fastapi)
* [Ariadne](https://ariadnegraphql.org/)
* With [docs for FastAPI](https://ariadnegraphql.org/docs/fastapi-integration)
* With [docs for FastAPI on the project homepage](https://ariadnegraphql.org/)
* [Tartiflette](https://tartiflette.io/)
* With [Tartiflette ASGI](https://tartiflette.github.io/tartiflette-asgi/) to provide ASGI integration
* [Graphene](https://graphene-python.org/)

2
docs/en/docs/index.md

@ -573,7 +573,7 @@ There are some additional dependencies you might want to install.
Additional optional Pydantic dependencies:
* [`pydantic-settings`](https://docs.pydantic.dev/latest/usage/pydantic_settings/) - for settings management.
* [`pydantic-extra-types`](https://docs.pydantic.dev/latest/usage/types/extra_types/extra_types/) - for extra types to be used with Pydantic.
* [`pydantic-extra-types`](https://docs.pydantic.dev/latest/concepts/types/#extra-types) - for extra types to be used with Pydantic.
Additional optional FastAPI dependencies:

2
docs/en/docs/tutorial/extra-data-types.md

@ -49,7 +49,7 @@ Here are some of the additional data types you can use:
* `Decimal`:
* Standard Python `Decimal`.
* In requests and responses, handled the same as a `float`.
* You can check all the valid Pydantic data types here: [Pydantic data types](https://docs.pydantic.dev/latest/usage/types/types/).
* You can check all the valid Pydantic data types here: [Pydantic data types](https://docs.pydantic.dev/latest/concepts/types/).
## Example { #example }

Loading…
Cancel
Save