Skip to content
Open
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
4 changes: 4 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export default defineConfig({
baseUrl: 'https://github.com/warpdotdev/docs/edit/main/',
},
lastUpdated: true,
// Disables Starlight's generated 404 route so it doesn't collide with
// the custom src/pages/404.astro, which fires a docs_404 analytics event
// with the real broken URL.
disable404Route: true,
// Soft-wrap long lines by default. Expressive Code defaults to
// `overflow-x: auto` for `<pre>`, which combined with macOS's
// auto-hidden scrollbars made wide lines silently truncate.
Expand Down