Add doc-detective test and remove sitemap from build.
This commit is contained in:
parent
49f0cfc989
commit
54a6bad7b7
4 changed files with 35 additions and 4 deletions
5
.checks/.doc-detective.json
Executable file
5
.checks/.doc-detective.json
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"telemetry": {
|
||||
"send": false
|
||||
}
|
||||
}
|
||||
24
.checks/tests/resume-test.json
Executable file
24
.checks/tests/resume-test.json
Executable 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue