From 76c401cd8d8dd3358113151942569058d88b5a87 Mon Sep 17 00:00:00 2001 From: farisbasha Date: Tue, 17 Nov 2026 14:38:48 +0530 Subject: [PATCH] Fix dead documentation links The README "Advanced Usage" link points at /advanced/, which is a 404 since the advanced docs were split into separate pages. Point it at the first page of that section (advanced/clients/). Also update three other links that now return 404: - .github/CONTRIBUTING.md proxy and SSL anchors (same targets docs/contributing.md already uses) - Authlib HTTPX client docs (moved under oauth2/client/http/) - everything.curl.dev .netrc page (now needs the .html suffix) --- .github/CONTRIBUTING.md | 4 ++-- README.md | 2 +- docs/advanced/authentication.md | 2 +- docs/third_party_packages.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 340af53af5..a6a495fefd 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -193,8 +193,8 @@ UI options. At this point the server is ready to start serving requests, you'll need to configure HTTPX as described in the -[proxy section](https://www.python-httpx.org/advanced/#http-proxying) and -the [SSL certificates section](https://www.python-httpx.org/advanced/#ssl-certificates), +[proxy section](https://www.python-httpx.org/advanced/proxies/#http-proxies) and +the [SSL certificates section](https://www.python-httpx.org/advanced/ssl/), this is where our previously generated `client.pem` comes in: ``` diff --git a/README.md b/README.md index 2ccecd578c..fe821e48c7 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ Project documentation is available at [https://www.python-httpx.org/](https://ww For a run-through of all the basics, head over to the [QuickStart](https://www.python-httpx.org/quickstart/). -For more advanced topics, see the [Advanced Usage](https://www.python-httpx.org/advanced/) section, the [async support](https://www.python-httpx.org/async/) section, or the [HTTP/2](https://www.python-httpx.org/http2/) section. +For more advanced topics, see the [Advanced Usage](https://www.python-httpx.org/advanced/clients/) section, the [async support](https://www.python-httpx.org/async/) section, or the [HTTP/2](https://www.python-httpx.org/http2/) section. The [Developer Interface](https://www.python-httpx.org/api/) provides a comprehensive API reference. diff --git a/docs/advanced/authentication.md b/docs/advanced/authentication.md index 63d26e5f46..ebb970a73f 100644 --- a/docs/advanced/authentication.md +++ b/docs/advanced/authentication.md @@ -42,7 +42,7 @@ HTTP digest authentication is a challenge-response authentication scheme. Unlike ## NetRC authentication -HTTPX can be configured to use [a `.netrc` config file](https://everything.curl.dev/usingcurl/netrc) for authentication. +HTTPX can be configured to use [a `.netrc` config file](https://everything.curl.dev/usingcurl/netrc.html) for authentication. The `.netrc` config file allows authentication credentials to be associated with specified hosts. When a request is made to a host that is found in the netrc file, the username and password will be included using HTTP basic authentication. diff --git a/docs/third_party_packages.md b/docs/third_party_packages.md index 253c312f58..0e9edbb5ad 100644 --- a/docs/third_party_packages.md +++ b/docs/third_party_packages.md @@ -78,7 +78,7 @@ A fast and powerful RPC framework based on ASGI/WSGI. Use HTTPX as the client of [GitHub](https://github.com/lepture/authlib) - [Documentation](https://docs.authlib.org/en/latest/) -A python library for building OAuth and OpenID Connect clients and servers. Includes an [OAuth HTTPX client](https://docs.authlib.org/en/latest/client/httpx.html). +A python library for building OAuth and OpenID Connect clients and servers. Includes an [OAuth HTTPX client](https://docs.authlib.org/en/latest/oauth2/client/http/httpx.html). ### Gidgethub