File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5656
5757 # build sphinx
5858 - name : sphinx
59- # run: if [ "${{ matrix.plone-version }}" == "5.2" ] && [ ${{ matrix.python-version }} == '3.7' ]; then bin/sphinxbuilder; fi
60- run : if [ "${{ matrix.plone-version }}" == "5.2" ] && [ ${{ matrix.python-version }} == '3.7' ]; then make docs-html; fi
59+ run : if [ "${{ matrix.plone-version }}" == "6.0" ] && [ ${{ matrix.python-version }} == '3.9' ]; then make docs-html; fi
6160
6261 # test
6362 - name : test
7069 PYTHON_VERSION : ${{ matrix.python-version }}
7170 PLONE_VERSION : ${{ matrix.plone-version }}
7271
73- # test sphinx warnings
74- # - name: sphinx
75- # run: if [ "${{ matrix.plone-version }}" == "5.2 " ] && [ ${{ matrix.python-version }} == '3.7 ' ]; then ./test-no-sphinx-warnings ; fi
72+ # test for broken links
73+ - name : linkcheck
74+ run : if [ "${{ matrix.plone-version }}" == "6.0 " ] && [ ${{ matrix.python-version }} == '3.9 ' ]; then make docs-linkcheckbroken ; fi
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ docs-linkcheck: bin/python ## Run linkcheck
137137
138138.PHONY : docs-linkcheckbroken
139139docs-linkcheckbroken : bin/python # # Run linkcheck and show only broken links
140- cd $(DOCS_DIR ) && $(SPHINXBUILD ) -b linkcheck $(ALLSPHINXOPTS ) $(BUILDDIR ) /linkcheck | GREP_COLORS=' 0;31' egrep -wi broken --color=auto
140+ cd $(DOCS_DIR ) && $(SPHINXBUILD ) -b linkcheck $(ALLSPHINXOPTS ) $(BUILDDIR ) /linkcheck | GREP_COLORS=' 0;31' egrep -wi broken --color=auto || test $$? = 1
141141 @echo
142142 @echo " Link check complete; look for any errors in the above output " \
143143 " or in $( BUILDDIR) /linkcheck/ ."
Original file line number Diff line number Diff line change 1+ fixed broken make task docs-linkcheckbroken
You can’t perform that action at this time.
0 commit comments