Skip to content

Commit bbae198

Browse files
committed
chore: remove htmltest from the project
Signed-off-by: Mykhailo Kuznietsov <[email protected]>
1 parent 2f23828 commit bbae198

File tree

9 files changed

+0
-115
lines changed

9 files changed

+0
-115
lines changed

.github/workflows/build-and-validate-on-pr.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,6 @@ jobs:
2424
with:
2525
fetch-depth: 0 # Necessary for git diff in vale step
2626

27-
# Cache for Antora UI and Htmltest.
28-
# See: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
29-
# Htmltest accepts 2 weeks old cache for the status code of checked external URLs
30-
# See: https://github.com/wjdp/htmltest
31-
# Refresh the cache every week to avoid a stale cache for htmltest
32-
# See: https://github.com/actions/cache
33-
# See: http://man7.org/linux/man-pages/man1/date.1.html
34-
- name: Get Date
35-
id: get-date
36-
run: echo "YEAR_WEEK=$(/bin/date -u +%Y%U)" >> $GITHUB_OUTPUT
37-
shell: bash
38-
39-
- name: Restore cache
40-
uses: actions/cache@v3
41-
env:
42-
cache-name: cache
43-
with:
44-
path: .cache
45-
key: ${{ steps.get-date.outputs.YEAR_WEEK }}
46-
4727
- name: Build using antora # and fail on warning
4828
id: antora-build
4929
run: CI=true antora generate antora-playbook-for-development.yml --stacktrace --log-failure-level=warn
@@ -62,9 +42,6 @@ jobs:
6242
PR_NUMBER
6343
PR_SHA
6444
65-
- name: Validate links using htmltest
66-
id: validate-links
67-
run: htmltest
6845
6946
- name: Report unused content
7047
run: tools/detect-unused-content.sh

.github/workflows/build-and-validate-on-push.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
# SPDX-License-Identifier: EPL-2.0
88
#
99

10-
# GitHub Actions configuration file for htmltest
11-
# See: https://github.com/wjdp/htmltest
12-
1310
name: Build and validate
1411
on:
1512
push:
@@ -26,25 +23,6 @@ jobs:
2623
with:
2724
fetch-depth: 0
2825

29-
# Cache for Antora UI and Htmltest.
30-
# See: https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
31-
# Htmltest accepts 2 weeks old cache for the status code of checked external URLs
32-
# See: https://github.com/wjdp/htmltest
33-
# Refresh the cache every week to avoid a stale cache for htmltest
34-
# See: https://github.com/actions/cache
35-
# See: http://man7.org/linux/man-pages/man1/date.1.html
36-
- name: Get Date
37-
id: get-date
38-
run: echo "YEAR_WEEK=$(/bin/date -u +%Y%U)" >> $GITHUB_OUTPUT
39-
shell: bash
40-
- name: Restore cache
41-
uses: actions/cache@v3
42-
env:
43-
cache-name: cache
44-
with:
45-
path: .cache
46-
key: ${{ steps.get-date.outputs.YEAR_WEEK }}
47-
4826
- name: Build using antora
4927
id: antora-build
5028
run: CI=true antora generate antora-playbook-for-development.yml --stacktrace --log-failure-level=warn
@@ -55,10 +33,6 @@ jobs:
5533
name: doc-content
5634
path: build/site
5735

58-
- name: Validate links using htmltest
59-
id: validate-links
60-
run: htmltest
61-
6236
- name: Report unused content
6337
run: tools/detect-unused-content.sh
6438

.htmltest.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

CONTRIBUTING.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ To understand the nature of topics, see the link:https://redhat-documentation.gi
3636

3737
** link:https://asciidoctor.org/docs/asciidoc-writers-guide/[AsciiDoc] is the markup language.
3838

39-
** link:https://github.com/wjdp/htmltest[htmltest] validates the links.
40-
4139
** link:https://docs.errata.ai/vale/about/[Vale] validates the language.
4240

4341
** link:https://www.shellcheck.net/[ShellCheck] validates the shell scripts.

Containerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ RUN set -x \
4747
git-core \
4848
graphviz \
4949
grep \
50-
htmltest \
5150
jq \
5251
nodejs \
5352
python3-pip \
@@ -109,7 +108,6 @@ RUN set -x \
109108
&& curl --version \
110109
&& git --version \
111110
&& gulp --version \
112-
&& htmltest --version \
113111
&& jq --version \
114112
&& pip3 freeze \
115113
&& vale --version \

antora-playbook-for-development.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# Use this Antora Playbook for development, to build current state in HEAD.
33
site:
44
title: Eclipse Che Documentation
5-
# Disabling url on purpose to avoid htmltest crawling the live website.
65
# url: https://www.eclipse.org/che/docs
76
start_page: docs:overview:introduction-to-eclipse-che.adoc
87
robots: allow
@@ -19,7 +18,6 @@ antora:
1918
index_latest_only: true
2019
snippet_length: 142
2120
- require: '@antora/collector-extension' # Single-source content from engineering repositories, see https://gitlab.com/antora/antora-collector-extension
22-
- require: ./extensions/htmltest.js # Test links in HTML, see https://docs.antora.org/antora/latest/extend/extension-tutorial/
2321
- require: '@antora/pdf-extension' # Generate monolithic AsciiDoc files, see https://gitlab.com/antora/antora-assembler
2422

2523
asciidoc:

code_review_checklist.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ These automated steps block the pull request merge.
99

1010
* [ ] *`Build and validate PR / link checker (pull_request)`* is successful
1111
** [ ] *`Build using Antora`* step is successful: documentation is building without warnings, and all AsciiDoc attributes have a definition.
12-
** [ ] *`Validate links using htmltest`* step is successful: internal and external links are valid.
1312
** [ ] *`Validate language on files added or modified`* step is successful and reports no vale errors: basic language validation, no major deviations from link:https://www.oreilly.com/library/view/the-ibm-style/9780132118989/[IBM Style Guide] and link:https://redhat-documentation.github.io/supplementary-style-guide/[Supplementary Style Guide], and project specific language rules.
1413
* [ ] *`eclipsefdn/eca`* is successful: all contributors have signed the Eclipse Contributor Agreement (ECA).
1514

extensions/htmltest.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

tools/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,3 @@
1212
set -ex
1313
umask 002
1414
CI=true antora generate antora-playbook-for-development.yml --stacktrace --log-failure-level=warn
15-
htmltest

0 commit comments

Comments
 (0)