Skip to content

Conversation

@mbostock
Copy link
Member

@mbostock mbostock commented Dec 3, 2023

#205 #216 and applied the redirect in our custom 404 page for the CLI documentation, but we want this to apply by default whenever someone writes a custom 404 page. In particular, we’ll want it to work when people run npm create @observablehq and we shouldn’t have to bake this redirect logic into example code.

(This also polishes some newlines for aesthetics. And adds a test for custom 404 pages.)

@mbostock mbostock requested review from Fil and cinxmo December 3, 2023 18:41
@mbostock mbostock enabled auto-merge (squash) December 3, 2023 21:59
@mbostock mbostock merged commit 6b79130 into main Dec 3, 2023
@mbostock mbostock deleted the mbostock/slash-404 branch December 3, 2023 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants