]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🌐 Sync German docs (#14519)
authorNils-Hero Lindemann <nilsherolindemann@proton.me>
Wed, 17 Dec 2025 07:17:04 +0000 (08:17 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Dec 2025 07:17:04 +0000 (08:17 +0100)
Sync with #14505 (plus some more)

I actually searched for those patterns in VS Code.

Always:
    files to exclude: README.md, SECURITY.md, llm-prompt.md

This search & replace cleans up the hash parts everywhere under docs/.
It only finds the four occurences in the two _llm-test.md under docs/de/ and docs/pt/

    files to include: docs/**
        Search regex: \{[^\S\n]*#([^\S\n]*[a-z0-9]+(?:-[a-z0-9]+)*)[^\S\n]*\}
        Replace with: { #$1 }

This search finds headings without hash parts. It finds two headings in docs\de\docs\index.md (those which #14505 fixes) and all headings in docs\pt\docs\tutorial\security\index.md, which I also fixed on the way as that document seems to be in sync. docs\pt\docs\index.md is not in Sync, so I didnt touch it.

    files to include: docs/de/**, docs/pt/**
        Search regex: ^(#+)[^\S\n]*([^{}#\s]+(?:[^\S\n]+[^{}\s]+)*)[^\S\n]*(?=\n)
        (added the missing hash parts)

docs/de/docs/_llm-test.md
docs/de/docs/index.md

index 3a95f42e8c2668443550363b4dc1253d70a43d35..bc7ce363c7714a6220848198704cfa9ed8718c6d 100644 (file)
@@ -15,7 +15,7 @@ So verwenden:
 
 Die Tests:
 
-## Codeschnipsel { #code-snippets}
+## Codeschnipsel { #code-snippets }
 
 //// tab | Test
 
@@ -53,7 +53,7 @@ Siehe zum Beispiel den Abschnitt `### Quotes` in `docs/de/llm-prompt.md`.
 
 ////
 
-## Anführungszeichen in Codeschnipseln { #quotes-in-code-snippets}
+## Anführungszeichen in Codeschnipseln { #quotes-in-code-snippets }
 
 //// tab | Test
 
index efa34652c829ad82f18ec8a3bbc311c58ae8e654..1920df8ff3d3d501adb3a330ea7f48f1588c30e8 100644 (file)
@@ -52,13 +52,13 @@ Seine Schlüssel-Merkmale sind:
 
 <!-- sponsors -->
 
-### Keystone-Sponsor
+### Keystone-Sponsor { #keystone-sponsor }
 
 {% for sponsor in sponsors.keystone -%}
 <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>
 {% endfor -%}
 
-### Gold- und Silber-Sponsoren
+### Gold- und Silber-Sponsoren { #gold-and-silver-sponsors }
 
 {% for sponsor in sponsors.gold -%}
 <a href="{{ sponsor.url }}" target="_blank" title="{{ sponsor.title }}"><img src="{{ sponsor.img }}" style="border-radius:15px"></a>