Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摑 Tweak docs and translations links, typos, format #11389

Merged
merged 37 commits into from
Apr 18, 2024

Commits on Apr 1, 2024

  1. Layout: add syntax blocks hiding the navigation

    The affected files are `index.md`, `features.md`, `fastapi-people.md`, under `docs/<lang>/docs/`. The changes are all the same.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    2060430 View commit details
    Browse the repository at this point in the history
  2. Layout: add style hiding the h1 heading

    The affected files are `docs/<langname>/docs/index.md`. All the same changes.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    9c548db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24eaaf0 View commit details
    Browse the repository at this point in the history
  4. Links: remove './' (language: em)

    Has no effect regarding the link target, but syncs the syntax with other links in the docs.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    7532aaf View commit details
    Browse the repository at this point in the history
  5. Links: remove './' (language: en)

    Like previous commit.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    5625cb6 View commit details
    Browse the repository at this point in the history
  6. Links: remove './' (language: zh)

    Like previous commit.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    93f2d06 View commit details
    Browse the repository at this point in the history
  7. Links: remove './' (other languages)

    Like previous commit.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    2ebb98c View commit details
    Browse the repository at this point in the history
  8. Links: translate #hash parts (language: em)

    My linkchecker script suggested them. I also compared the link target of the translation and the related English target side by side, to check that translated hash is correct.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    3cd2820 View commit details
    Browse the repository at this point in the history
  9. Links: translate #hash parts (language: ja)

    Also translated the link text in tutorial/first-steps.md, according to the related target heading.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    4aa2aa2 View commit details
    Browse the repository at this point in the history
  10. Links: translate #hash parts (language: ko)

    Also translated the link text in tutorial/first-steps.md, according to the related target heading.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    e2c1620 View commit details
    Browse the repository at this point in the history
  11. Links: translate #hash parts (language: pt)

    Like previous commits.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    b2c62c4 View commit details
    Browse the repository at this point in the history
  12. Links: translate #hash parts (language: ru)

    Like previous commits.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    75d66de View commit details
    Browse the repository at this point in the history
  13. Links: translate #hash parts (language: zh)

    Like previous commits.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    fca7880 View commit details
    Browse the repository at this point in the history
  14. Links: translate #hash parts (other languages)

    Like previous commits.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    67ba4d8 View commit details
    Browse the repository at this point in the history
  15. Links: fix #hash parts: "experts" -> "fastapi-experts"

    The target heading changed in the English docs. The linkchecker script also reported these, and I checked manually.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    735e369 View commit details
    Browse the repository at this point in the history
  16. Links: fix #hash parts: "issues" -> "questions"

    Like previous commit.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    86cceb6 View commit details
    Browse the repository at this point in the history
  17. Links: fix #hash parts: other

    Invalid hashes added in translations. Also reported by the linkchecker and manually tested.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    bf3db62 View commit details
    Browse the repository at this point in the history
  18. Links: Remove anchors

    This is automatically done by Mkdocs, so these manual anchors are not needed.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    10e2665 View commit details
    Browse the repository at this point in the history
  19. Links: add a missing hash

    The same hash is also used in other occurences of that link.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    28b2b47 View commit details
    Browse the repository at this point in the history
  20. Links: convert html link to md link

    Other local links under advanced/ also have that syntax. The link may now also automatically point to the translated page.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    a06178c View commit details
    Browse the repository at this point in the history
  21. Code blocks: move annotated before non-annotated

    Like in other locations.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    19060de View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    1cad3f4 View commit details
    Browse the repository at this point in the history
  23. Code blocks: fix a lang identifier

    It's JavaScript, not Python.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    53882c5 View commit details
    Browse the repository at this point in the history
  24. Code blocks: fix a line highlighting in an example

    The target code file has changed.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    562f952 View commit details
    Browse the repository at this point in the history
  25. Normalize info boxes

    These boxes are often misunderstood in translations. I also did translate the keywords in the beginning.
    
    The syntax is "!!! " followed by <keyword>, optionally followed by " " <translation>
    
    <keyword> is required and is one of "info|note|tip|check|warning|danger". It defines the coloring of the info box. When it was missing, I added it, checking the related English .md.
    
    <translation> may come after <keyword> and is inside of "". If the translation was available, I added it.
    
    A global search under docs/ in VS Code with the regex "!!! (?!tip|warning|info|danger|note|check)" shows info boxes which do not comply to this scheme.
    
    I left the invalid boxes under docs/fa/unchanged, because this is a right to left language and I am unsure how to write it there.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    43a6a73 View commit details
    Browse the repository at this point in the history
  26. Spelling: typos

    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    1bba98a View commit details
    Browse the repository at this point in the history
  27. Spelling: word case

    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    c3bcde8 View commit details
    Browse the repository at this point in the history
  28. Spelling: wrong words

    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    f296d90 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    c0351b4 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    a25629b View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    7b2e834 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    4d6906e View commit details
    Browse the repository at this point in the history
  33. Whitespace: remove single line breaks in reference

    Brings them in sync with the rest of the documentation, where the paragraphs are one big line.
    nilslindemann committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    b2fb04a View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    beef2fb View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2024

  1. Configuration menu
    Copy the full SHA
    91282c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f502f51 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    e613636 View commit details
    Browse the repository at this point in the history