Skip to content

Commit 91092f4

Browse files
committed
minor #18148 Use Doctor RST 1.42.1 and new Rule ForbiddenDirectives (alamirault)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- Use Doctor RST 1.42.1 and new Rule `ForbiddenDirectives` Example when .rst is ko: https://github.com/alamirault/symfony-docs/actions/runs/4567267701/jobs/8060843021 Commits ------- 5f0a2e8 Use Doctor RST 1.42.1 and new Rule `ForbiddenDirectives`
2 parents 9c71f11 + 5f0a2e8 commit 91092f4

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.doctor-rst.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ rules:
1818
ensure_order_of_code_blocks_in_configuration_block: ~
1919
extend_abstract_controller: ~
2020
extension_xlf_instead_of_xliff: ~
21+
forbidden_directives:
22+
directives:
23+
- '.. index::'
2124
indention: ~
2225
lowercase_as_in_use_statements: ~
2326
max_blank_lines:

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
7474

7575
- name: "Run DOCtor-RST"
76-
uses: docker://oskarstark/doctor-rst:1.41.3
76+
uses: docker://oskarstark/doctor-rst:1.42.1
7777
with:
7878
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
7979

0 commit comments

Comments
 (0)