Skip to content
Snippets Groups Projects
Commit cfff6f07 authored by Sören Henning's avatar Sören Henning
Browse files

Merge branch 'docs-link-test' into '0.5-docs'

Add testing of links in docs

See merge request !206
parents 2db39170 42cff5f8
No related branches found
No related tags found
2 merge requests!206Add testing of links in docs,!164Add Theodolite docs
Pipeline #5421 passed
...@@ -18,9 +18,8 @@ stages: ...@@ -18,9 +18,8 @@ stages:
# Theodolite Docs # Theodolite Docs
build-docs: .docs:
stage: build image: alpine/bundle:3.0.3
image: ruby:2.7
tags: tags:
- exec-docker - exec-docker
cache: cache:
...@@ -28,14 +27,24 @@ build-docs: ...@@ -28,14 +27,24 @@ build-docs:
- docs/vendor - docs/vendor
before_script: before_script:
- cd docs - cd docs
- gem install bundler
- bundle config set --local path 'vendor' - bundle config set --local path 'vendor'
- bundle install - bundle install
build-docs:
stage: build
extends: .docs
script: bundle exec jekyll build script: bundle exec jekyll build
artifacts: artifacts:
paths: paths:
- docs/_site - docs/_site
test-docs-links:
stage: test
extends: .docs
needs:
- build-docs
script: bundle exec htmlproofer --assume-extension --allow_hash_href --url-ignore "/favicon.ico" ./_site
# Theodolite Helm Chart # Theodolite Helm Chart
......
...@@ -19,6 +19,8 @@ gem "github-pages", "~> 215", group: :jekyll_plugins ...@@ -19,6 +19,8 @@ gem "github-pages", "~> 215", group: :jekyll_plugins
#gem "jekyll-feed", "~> 0.12" #gem "jekyll-feed", "~> 0.12"
#end #end
gem 'html-proofer'
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library. # and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do platforms :mingw, :x64_mingw, :mswin, :jruby do
......
...@@ -95,6 +95,14 @@ GEM ...@@ -95,6 +95,14 @@ GEM
html-pipeline (2.14.0) html-pipeline (2.14.0)
activesupport (>= 2) activesupport (>= 2)
nokogiri (>= 1.4) nokogiri (>= 1.4)
html-proofer (3.19.2)
addressable (~> 2.3)
mercenary (~> 0.3)
nokogumbo (~> 2.0)
parallel (~> 1.3)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
http_parser.rb (0.6.0) http_parser.rb (0.6.0)
i18n (0.9.5) i18n (0.9.5)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
...@@ -221,13 +229,17 @@ GEM ...@@ -221,13 +229,17 @@ GEM
multipart-post (2.1.1) multipart-post (2.1.1)
nokogiri (1.11.7-x86_64-linux) nokogiri (1.11.7-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
nokogumbo (2.0.5)
nokogiri (~> 1.8, >= 1.8.4)
octokit (4.21.0) octokit (4.21.0)
faraday (>= 0.9) faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3) sawyer (~> 0.8.0, >= 0.5.3)
parallel (1.21.0)
pathutil (0.16.2) pathutil (0.16.2)
forwardable-extended (~> 2.6) forwardable-extended (~> 2.6)
public_suffix (4.0.6) public_suffix (4.0.6)
racc (1.5.2) racc (1.5.2)
rainbow (3.0.0)
rb-fsevent (0.11.0) rb-fsevent (0.11.0)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
...@@ -259,6 +271,7 @@ GEM ...@@ -259,6 +271,7 @@ GEM
unf_ext unf_ext
unf_ext (0.0.7.7) unf_ext (0.0.7.7)
unicode-display_width (1.7.0) unicode-display_width (1.7.0)
yell (2.2.2)
zeitwerk (2.4.2) zeitwerk (2.4.2)
PLATFORMS PLATFORMS
...@@ -267,6 +280,7 @@ PLATFORMS ...@@ -267,6 +280,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
github-pages (~> 215) github-pages (~> 215)
html-proofer
minima (~> 2.5) minima (~> 2.5)
tzinfo (~> 1.2) tzinfo (~> 1.2)
tzinfo-data tzinfo-data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment