Skip to content

Commit b62fb79

Browse files
Merge pull request #4 from scriptautomate-bc/fix-pre-commit
Fix rstcheck call in pre-commit; fix nox docs build
2 parents 58ec2f7 + f5f7bda commit b62fb79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-sphinx-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
pre-commit run -a -v --color always
4040
- name: Build docs
4141
run: |
42-
nox -e 'docs-html(gen_sitevars=True, clean=True)'
42+
nox -e 'docs-html(clean=True)'
4343
- name: Upload artifact
4444
uses: actions/upload-artifact@v4
4545
with:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repos:
4545
hooks:
4646
- id: rstcheck
4747
description: Checks syntax of reStructuredText/rst and code blocks nested within it.
48-
args: [--report=warning]
48+
args: [--report-level=warning]
4949
additional_dependencies: [sphinx]
5050
files: ^(index|docs/.*|docs/_includes/.*|README|CONTRIBUTING)\.rst$
5151
exclude: docs/topics/pillar.rst

0 commit comments

Comments
 (0)