mirror of
https://github.com/fastapi/fastapi.git
synced 2026-07-18 19:03:14 -04:00
🔧 Add pre-commit local script to fix language translations (#14683)
This commit is contained in:
committed by
GitHub
parent
961b2e844a
commit
c75ae058e4
@@ -58,3 +58,9 @@ repos:
|
||||
entry: uv run ./scripts/docs.py ensure-non-translated
|
||||
files: ^docs/(?!en/).*|^scripts/docs\.py$
|
||||
pass_filenames: false
|
||||
|
||||
- id: fix-translations
|
||||
language: unsupported
|
||||
name: fix translations
|
||||
entry: uv run ./scripts/translation_fixer.py fix-pages
|
||||
files: ^docs/(?!en/).*/docs/.*\.md$
|
||||
|
||||
Reference in New Issue
Block a user