Skip to content

Commit df65953

Browse files
committed
docs: add comment explaining _redirects is not used by coder.com
The coder.com website runs on Vercel with Next.js and reads redirects from redirects.json in the coder/coder.com repo, not this file. This comment should help prevent confusion when adding redirects.
1 parent 322e3cf commit df65953

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.markdownlint-cli2.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"ignores": ["PLAN.md"],
2+
"ignores": ["PLAN.md", "docs/_redirects"],
33
}

docs/_redirects

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# IMPORTANT: This file is NOT used by coder.com!
2-
# The coder.com website uses Next.js and reads redirects from:
2+
#
3+
# The coder.com website runs on Vercel with Next.js and reads redirects from:
34
# https://github.com/coder/coder.com/blob/master/redirects.json
45
#
56
# If you need to add a redirect for coder.com/docs, update that file instead.
6-
# This _redirects file is only useful for static hosting platforms like Netlify.
7+
#
8+
# The _redirects format is used by Netlify and Cloudflare Pages for static
9+
# hosting, but it's unclear if this file serves any purpose currently.
710

811
# Redirect old offline deployments URL to new airgap URL
912
/install/offline /install/airgap 301

0 commit comments

Comments
 (0)