Skip to content
Snippets Groups Projects
Verified Commit 4d639524 authored by w4tsn's avatar w4tsn
Browse files

ci: fix html-proofer being outdated and options

html-proofer options changed, the command had to be updated.

The build also failed with an error, which was resolved by simply
updating to fedora 37 utility container with latest dependencies.

Sneaked my domain change in there. Pssst.

Fix not setting the locale before issuing the html-proofer command.
parent 29d82030
Branches
No related merge requests found
Pipeline #110 failed with stages
in 15 minutes and 30 seconds
themes/hugo-geekdoc
public/
.hugo_build.lock
221b.uk
Ansible
Ansibles
Botaniker
......
FROM docker.io/library/fedora:35 as utility
FROM docker.io/library/fedora:37 as utility
RUN dnf install -y hugo make git ruby ruby-devel nodejs @"Development Tools"
......
......@@ -45,8 +45,10 @@ doc-build-contained:
# requires target: and target:doc-build
check-html-host:
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
gem install html-proofer
htmlproofer $(BASEDIR)/public --only-4xx --check-html --assume-extension --allow-hash-href --alt-ignore /brand.svg --internal-domains openalchem.ist
htmlproofer $(BASEDIR)/public --only-4xx --assume-extension --allow-hash-href --ignore-urls "/221b.uk/,/localhost/"
check-html-contained:
$(CONTAINED_CMD) "make check-html"
......
Infrastructure Documentation
===
This is the documentation of [w4tsn's Infrastructure](https://git.shivering-isles.com/w4tsn/infrastructure.git), which is the infrastructure for [OpenAlchem.ist](https://openalchem.ist) (my personal infrastructure) and [darmstadt.social](https://darmstadt.social) a semi-public infrastructure for the city of Darmstadt I live in.
This is the documentation of [w4tsn's Infrastructure](https://git.shivering-isles.com/w4tsn/infrastructure.git), which is the infrastructure for [221b.uk](https://221b.uk) (my personal infrastructure) and [darmstadt.social](https://darmstadt.social) a semi-public infrastructure for the city of Darmstadt I live in.
Build
---
......
baseURL = "https://docs.openalchem.ist"
baseURL = "https://docs.221b.uk"
title = "w4tsn's Infrastructure"
theme = "hugo-geekdoc"
......@@ -31,7 +31,7 @@ enableRobotsTXT = true
[params]
geekdocToC = 3
geekdocRepo = "https://git.shivering-isles.com/w4tsn/infrastructure-docs"
geekdocRepo = "https://git.221b.uk/infrastructure/docs"
geekdocEditPath = "edit/main"
geekdocSearchShowParent = true
#geekdocLegalNotice = "https://blog.example.com/legal"
......
......@@ -5,7 +5,7 @@ geekdocAlign: center
geekdocAnchor: false
---
This is the documentation of [w4tsn's Infrastructure](https://git.shivering-isles.com/w4tsn/infrastructure.git), which is the infrastructure for [openalchem.ist](https://openalchem.ist) (my personal infrastructure) and [darmstadt.social](https://darmstadt.social) (a semi-public infrastructure for the city of Darmstadt I live in).
This is the documentation of [w4tsn's Infrastructure](https://git.221b.uk/infrastructure/ansible.git), which is the infrastructure for [221b.uk](https://221b.uk) (my personal infrastructure) and [darmstadt.social](https://darmstadt.social) (a semi-public infrastructure for the city of Darmstadt I live in).
The following pages describe how this whole Ansible infrastructure thing works. This is a highly opinionated setup and depends heavily on the infrastructure of [shivering-isles.com](https://shivering-isles.com) for [dependency management](/basics/dependency-management), [CI/CD](/basics/ci-cd) and [container builds](/basics/container-builds).
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment