Skip to content

Commit

Permalink
Disable linkcheck automatic checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tarek-y-ismail committed Oct 11, 2024
1 parent 2dc4594 commit c4c96df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/automatic-doc-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ jobs:
uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main
with:
working-directory: doc/sphinx
linkcheck-target: ${{ github.event_name == 'workflow_dispatch' && 'linkcheck' || 'noop-target' }}
4 changes: 3 additions & 1 deletion doc/sphinx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ HTMLINDEX = $(WORKSPHINX)/_build/index.html
endif

.PHONY: help full-help woke-install pa11y-install install run html epub serve \
clean clean-doc spelling linkcheck woke pa11y Makefile
clean clean-doc spelling linkcheck woke pa11y Makefile noop-target

# Put it first so that "make" without argument is like "make help".
help:
Expand Down Expand Up @@ -133,6 +133,8 @@ woke: woke-install
pa11y: pa11y-install html
$(PA11Y) $(shell find $(WORKSPHINX)/_build -name *.html -not -path '$(WORKSPHINX)/_build/api/*');

noop-target:

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
Expand Down

0 comments on commit c4c96df

Please sign in to comment.