File tree Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Expand file tree Collapse file tree 4 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 2929 repository : midokura/wedge-agent-oss-playground
3030 ref : ${{ inputs.ref }}
3131
32+ - name : Prepare venv
33+ run : |
34+ python3 -m venv .venv
35+ . .venv/bin/activate && \
36+ pip install -r docs/requirements.txt
37+
3238 - name : Check formatting
33- run : make check
39+ run : |
40+ . .venv/bin/activate && \
41+ make -f check.mk check check-docs -j
42+
Original file line number Diff line number Diff line change @@ -72,3 +72,8 @@ check-shell:
7272 @echo Checking shell script formatting
7373 @git ls-files ' *.sh' | xargs $(BASHATE ) -iE006 -eE005,E042,E043
7474.PHONY : check-shell
75+
76+ check-docs :
77+ @echo Checking docs files
78+ @rstcheck docs/** /* .rst
79+ .PHONY : check-docs
Original file line number Diff line number Diff line change 55sphinx == 7.1.2
66sphinx-rtd-theme == 1.3.0rc1
77myst_parser == 3.0.0
8+ rstcheck == 6.2.4
Original file line number Diff line number Diff line change @@ -9,3 +9,17 @@ build-backend = "flit_core.buildapi"
99[project ]
1010name = " Wedge Agent"
1111dynamic = [" version" , " description" ]
12+
13+ [tool .rstcheck ]
14+ report_level = " WARNING"
15+ # ignore_directives = []
16+ # ignore_roles = []
17+ # ignore_substitutions = []
18+ ignore_languages = [
19+ " python" ,
20+ " cpp" ,
21+ " c" ,
22+ " shell" ,
23+ " json"
24+ ]
25+ ignore_messages = " (Hyperlink target \" .*\" is not referenced.$)"
You can’t perform that action at this time.
0 commit comments