Skip to content

Commit f2b4791

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: Added replacement suggestions for forbidden directives
2 parents 47a7aeb + a0aba24 commit f2b4791

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.doctor-rst.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ rules:
2323
forbidden_directives:
2424
directives:
2525
- '.. index::'
26-
- '.. caution::'
26+
- directive: '.. caution::'
27+
replacements: ['.. warning::', '.. danger::']
2728
indention: ~
2829
lowercase_as_in_use_statements: ~
2930
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.63.0
76+
uses: docker://oskarstark/doctor-rst:1.64.0
7777
with:
7878
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache
7979

0 commit comments

Comments
 (0)