Skip to content

Commit c749fac

Browse files
committed
ci: exclude docs/run_maxtext.md from mdformat
mdformat-myst escapes the :::{grid} colon-fence directives in this file, which breaks sphinx-design grid rendering in the docs build. The grid predates this PR; CodeQuality only flags it now because the PR touches the file (pre-commit runs on changed files only). Mirrors the existing exclusions for docs/guides.md and docs/guides/checkpointing_solutions.md.
1 parent 82d9de2 commit c749fac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ repos:
6060
args: ['--number']
6161
additional_dependencies: [mdformat-myst, mdformat-ruff]
6262
files: (docs/.)
63-
exclude: docs/guides/checkpointing_solutions.md|docs/guides.md
63+
exclude: docs/guides/checkpointing_solutions.md|docs/guides.md|docs/run_maxtext.md
6464

6565
- repo: https://github.com/adrienverge/yamllint
6666
rev: v1.35.0

0 commit comments

Comments
 (0)