Skip to content

✏️ Update links in docs/en/docs/async.md and docs/zh/docs/async.md to make them relative#10498

Merged
tiangolo merged 4 commits intofastapi:masterfrom
hasnatsajid:master
Oct 30, 2023
Merged

✏️ Update links in docs/en/docs/async.md and docs/zh/docs/async.md to make them relative#10498
tiangolo merged 4 commits intofastapi:masterfrom
hasnatsajid:master

Conversation

@hasnatsajid
Copy link
Contributor

Updated async.md for a url fix 🐛

@tiangolo
Copy link
Member

@tiangolo
Copy link
Member

@nilslindemann
Copy link
Contributor

The fixes are correct, but

  • the resulting URLs are absolute, the doc server complains about that in its console log. To make them relative, replace /tutorial/dependencies/ with tutorial/dependencies/index.md and /tutorial/dependencies/sub-dependencies/ with tutorial/dependencies/sub-dependencies.md
  • the links can also be fixed in the documents docs/em/docs/async.md and docs/zh/docs/async.md.

@hasnatsajid
Copy link
Contributor Author

hasnatsajid commented Oct 23, 2023 via email

nilslindemann pushed a commit to nilslindemann/fastapi that referenced this pull request Oct 23, 2023
Some of them may already have been fixed by fastapi#10498 (which actually inspired this PR)
@tiangolo
Copy link
Member

Fixing the broken url for zh lang ✨
@tiangolo
Copy link
Member

@tiangolo tiangolo changed the title Updated async.md ✏️ Update links in docs/en/docs/async.md and docs/zh/docs/async.md to make them relative Oct 30, 2023
@tiangolo tiangolo added docs Documentation about how to use FastAPI lang-all Translations lang-zh Chinese translations labels Oct 30, 2023
@tiangolo
Copy link
Member

Thanks @hasnatsajid! 🚀

And thanks for the help @nilslindemann! 🙇

@tiangolo tiangolo merged commit 6b903ff into fastapi:master Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation about how to use FastAPI lang-all Translations lang-zh Chinese translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants