mirror of
https://github.com/tiennm99/tsuki.git
synced 2026-05-23 22:26:07 +00:00
ci: fix htmltest URLSwap for /tsuki/ baseURL
htmltest was resolving links like `/tsuki/css/foo.css` against `exampleSite/public/tsuki/...` (which doesn't exist); actual path is `exampleSite/public/...`. URLSwap strips the baseURL prefix. Failing on every CI run since v0.2.0 — deploys not propagating.
This commit is contained in:
@@ -4,6 +4,9 @@ IgnoreDirectoryMissingTrailingSlash: true
|
||||
IgnoreInternalEmptyHash: true
|
||||
IgnoreEmptyHref: false
|
||||
EnforceHTML5: true
|
||||
# Strip the /tsuki/ baseURL prefix so links resolve against exampleSite/public/.
|
||||
URLSwap:
|
||||
^/tsuki/: /
|
||||
IgnoreURLs:
|
||||
- "^https://giscus.app"
|
||||
- "^https://github.com/"
|
||||
|
||||
@@ -4,6 +4,10 @@ All notable changes to tsuki will be documented here. Format follows [Keep a Cha
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- **CI htmltest URLSwap** — `.htmltest.yml` now strips the `/tsuki/` baseURL prefix so internal-link checks resolve against `exampleSite/public/`. Was failing on every CI run since v0.2.0; deploys did not propagate until this fix. No theme-side change.
|
||||
|
||||
## [0.2.1] — 2026-05-10
|
||||
|
||||
Patch release. Closes 5 P1 correctness/security findings from the post-v0.2.0 review plus 2 CI hygiene items. No new features.
|
||||
|
||||
Reference in New Issue
Block a user