mirror of
https://github.com/element-hq/synapse.git
synced 2026-01-12 06:53:04 +00:00
Empty print.html instead of deleting it.
This commit is contained in:
parent
84ed97869b
commit
5aa26fd402
1 changed files with 6 additions and 2 deletions
8
.github/workflows/docs-pr.yaml
vendored
8
.github/workflows/docs-pr.yaml
vendored
|
|
@ -69,7 +69,11 @@ jobs:
|
|||
run: |
|
||||
MDBOOK_OUTPUT__HTML__SITE_URL="./" mdbook build
|
||||
|
||||
# Delete the print.html file as it can raise false positives during link checking.
|
||||
rm -rf book/print.html
|
||||
# Delete the contents of the print.html file, as it can raise false
|
||||
# positives during link checking.
|
||||
#
|
||||
# We empty out the file, instead of deleting it, as doing so would
|
||||
# just cause htmltest to complain that links to it were invalid.
|
||||
echo "" > book/print.html
|
||||
|
||||
./htmltest book --conf docs/.htmltest.yml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue