File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,16 @@ $(VENV)/bin/activate:
69
69
$(VENV ) /bin/sphinx-build : $(VENV ) /bin/activate
70
70
. $(VENV ) /bin/activate; python3 -m pip install sphinx python-docs-theme
71
71
72
+ $(VENV ) /bin/sphinx-lint : $(VENV ) /bin/activate
73
+ . $(VENV ) /bin/activate; python3 -m pip install sphinx-lint
72
74
73
75
$(VENV ) /bin/blurb : $(VENV ) /bin/activate
74
76
. $(VENV ) /bin/activate; python3 -m pip install blurb
75
77
76
78
77
79
.PHONY : upgrade_venv
78
80
upgrade_venv : $(VENV ) /bin/activate # # Upgrade the venv that compiles the doc
79
- . $(VENV ) /bin/activate; python3 -m pip install --upgrade sphinx python-docs-theme blurb
81
+ . $(VENV ) /bin/activate; python3 -m pip install --upgrade sphinx python-docs-theme blurb sphinx-lint
80
82
81
83
82
84
.PHONY : progress
@@ -127,3 +129,7 @@ fuzzy: ## Find fuzzy strings
127
129
.PHONY : rm_cpython
128
130
rm_cpython : # # Remove cloned cpython repo
129
131
rm -rf $(CPYTHON_CLONE )
132
+
133
+ .PHONY : lint
134
+ lint : $(VENV ) /bin/sphinx-lint # # Run sphinx-lint
135
+ $(VENV ) /bin/sphinx-lint --enable default-role
You can’t perform that action at this time.
0 commit comments