From 353b8b29faf5dc0664c7c8ec736d2e5ee6d651d1 Mon Sep 17 00:00:00 2001 From: Nils-Hero Lindemann Date: Wed, 17 Dec 2025 08:17:04 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20Sync=20German=20docs=20(#14519)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | 4 ++-- docs/de/docs/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/de/docs/_llm-test.md b/docs/de/docs/_llm-test.md index 3a95f42e8..bc7ce363c 100644 --- a/docs/de/docs/_llm-test.md +++ b/docs/de/docs/_llm-test.md @@ -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 diff --git a/docs/de/docs/index.md b/docs/de/docs/index.md index efa34652c..1920df8ff 100644 --- a/docs/de/docs/index.md +++ b/docs/de/docs/index.md @@ -52,13 +52,13 @@ Seine Schlüssel-Merkmale sind: -### Keystone-Sponsor +### Keystone-Sponsor { #keystone-sponsor } {% for sponsor in sponsors.keystone -%} {% endfor -%} -### Gold- und Silber-Sponsoren +### Gold- und Silber-Sponsoren { #gold-and-silver-sponsors } {% for sponsor in sponsors.gold -%}