Skip to content

Fix two dead links in the docs (netrc guide, Authlib client) - #3860

Open
assist1st wants to merge 1 commit into
encode:masterfrom
assist1st:docs/fix-dead-links
Open

assist1st wants to merge 1 commit into
encode:masterfrom
assist1st:docs/fix-dead-links

Conversation

@assist1st

Copy link
Copy Markdown

Two links in the docs point at URLs that no longer resolve. Both replacements were checked to return 200.

docs/advanced/authentication.md — the .netrc guide link

https://everything.curl.dev/usingcurl/netrc        -> 404
https://everything.curl.dev/usingcurl/netrc.html   -> 200

The everything.curl.dev pages now carry the .html suffix.

docs/third_party_packages.md — the Authlib OAuth client link

Authlib's documentation was restructured, so /en/latest/client/httpx.html is gone. The HTTPX integration now lives under the OAuth 2 client section:

https://docs.authlib.org/en/latest/client/httpx.html                    -> 404
https://docs.authlib.org/en/latest/oauth2/client/http/httpx.html        -> 200

Diff

-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.

-...an [OAuth HTTPX client](https://docs.authlib.org/en/latest/client/httpx.html).
+...an [OAuth HTTPX client](https://docs.authlib.org/en/latest/oauth2/client/http/httpx.html).

Docs only, no code change. (The two open dead-link PRs here touch .github/CONTRIBUTING.md and docs/async.md, so this does not overlap them.)

@YashrajMiyatra YashrajMiyatra left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked both updated URLs against upstream docs — everything.curl.dev/usingcurl/netrc.html and Authlib's oauth2/client/http/httpx.html both return HTTP 200 and resolve the previous 404 redirects cleanly. Looks good!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants