Skip to content

Commit

Permalink
Added replacement suggestions for forbidden directives
Browse files Browse the repository at this point in the history
Also bumped DOCtor RST workflow to 1.64.0 to allow this
  • Loading branch information
TimoBakx committed Dec 7, 2024
1 parent bf2627c commit 35a3db1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .doctor-rst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ rules:
forbidden_directives:
directives:
- '.. index::'
- '.. caution::'
- directive: '.. caution::'
replacements: ['.. warning::', '.. danger::']
indention: ~
lowercase_as_in_use_statements: ~
max_blank_lines:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
key: ${{ runner.os }}-doctor-rst-${{ steps.extract_base_branch.outputs.branch }}

- name: "Run DOCtor-RST"
uses: docker://oskarstark/doctor-rst:1.63.0
uses: docker://oskarstark/doctor-rst:1.64.0
with:
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache

Expand Down

0 comments on commit 35a3db1

Please sign in to comment.