File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,16 @@ $(VENV)/bin/activate:
6969$(VENV ) /bin/sphinx-build : $(VENV ) /bin/activate
7070 . $(VENV ) /bin/activate; python3 -m pip install sphinx python-docs-theme
7171
72+ $(VENV ) /bin/sphinx-lint : $(VENV ) /bin/activate
73+ . $(VENV ) /bin/activate; python3 -m pip install sphinx-lint
7274
7375$(VENV ) /bin/blurb : $(VENV ) /bin/activate
7476 . $(VENV ) /bin/activate; python3 -m pip install blurb
7577
7678
7779.PHONY : upgrade_venv
7880upgrade_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
8082
8183
8284.PHONY : progress
@@ -127,3 +129,7 @@ fuzzy: ## Find fuzzy strings
127129.PHONY : rm_cpython
128130rm_cpython : # # Remove cloned cpython repo
129131 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