mirror of https://github.com/tiangolo/fastapi.git
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)
|
||
|---|---|---|
| .. | ||
| de | ||
| em | ||
| en | ||
| es | ||
| fa | ||
| fr | ||
| ja | ||
| ko | ||
| pt | ||
| ru | ||
| tr | ||
| uk | ||
| vi | ||
| zh | ||
| zh-hant | ||
| language_names.yml | ||
| missing-translation.md | ||