Repository navigation
VertiWiki v0.9.3
Official release of VertiWiki v0.9.3. Download the standalone vertiwiki.html bundle below or clone the repository to get started.
🐛 Deterministic Subfolder Resource Resolution & Deployment Trailing Slash Hardening
- Deterministic Subfolder Resource Resolution (
src/core/router.ts): IntroducedgetBaseDirectory()andresolveResourceUrl(), guaranteeing that all relative resource requests (config.json,navigation.md, page Markdown, themes, custom CSS, favicon, and Markdown images) resolve accurately against the subfolder base directory (e.g./docs/) regardless of whether the URL was opened with or without a trailing slash (/docs#/guide.mdvs/docs/#/guide.md). - Universal Lifecycle Integration (
src/main.ts,src/core/config.ts,src/ui/layout.ts,src/plugins/search.ts,src/plugins/sitemap.ts,src/core/favicon.ts): BoundresolveResourceUrlacross all resource fetching layers, eliminating soft 404s and broken Markdown requests on subfolder instances. - Vercel Trailing Slash Enforcement (
deploy/vercel/vercel.json,deploy/README.md): Configured"trailingSlash": trueto prevent edge CDN 308 redirects from stripping directory slashes and corrupting browser address bars. - Unit Test Coverage (
tests/router-i18n.test.ts): Added automated test coverage forgetBaseDirectory()andresolveResourceUrl(), expanding the test suite to 19 files and 108 passed unit tests.