Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions website/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export default withMermaid(

ignoreDeadLinks: true,

// Emit links without the .html suffix. Cloudflare Pages serves foo.html at
// /foo natively, and so does GitHub Pages, so this works on both hosts.
// Without it every internal link is a 308 redirect on Cloudflare.
cleanUrls: true,

// Emitted here rather than committed to public/ so it only ever lands in a
// DOCS_NOINDEX build — a noindex header file sitting in public/ would follow
// a merge straight onto audiobrowser.dev.
Expand Down
Loading