Add doc-detective test and remove sitemap from build.

This commit is contained in:
g_it 2026-02-18 14:13:44 +01:00
commit 54a6bad7b7
Signed by untrusted user who does not match committer: g_it
GPG key ID: A2B0A7C06A054627
4 changed files with 35 additions and 4 deletions

5
.checks/.doc-detective.json Executable file
View file

@ -0,0 +1,5 @@
{
"telemetry": {
"send": false
}
}

24
.checks/tests/resume-test.json Executable file
View file

@ -0,0 +1,24 @@
{
"tests": [
{
"steps": [
{
"description": "Go to the specified URL",
"goTo": "https://gugulet.hu/resume.html"
},
{
"description": "Verify the presence of the main heading",
"find": "Gugulethu Hlekwayo"
},
{
"description": "Verify that the 'Learn more' link is present and working",
"click": "See the documentation set"
},
{
"description": "Capture a screenshot of the resulting page",
"screenshot": "resume-top.png"
}
]
}
]
}

View file

@ -1,8 +1,9 @@
StylesPath = vale
MinAlertLevel = suggestion
Packages = Google, write-good
Packages = write-good, Google
[*.md]
BasedOnStyles = Vale, Google, write-good, extend-spell
Vale.Spelling = NO
BasedOnStyles = Vale, Google, write-good
[Google.WordList]
level = off

View file

@ -3,6 +3,7 @@ WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r ./requirements.txt
RUN zensical build
RUN rm ./deploy/sitemap.xml
FROM caddy:alpine
COPY --from=builder /app/deploy /usr/share/caddy