Skip to content

Commit f2ae2bd

Browse files
committed
Remove Future subheading on docs site and update CLI links (#9176)
1 parent a08fb0d commit f2ae2bd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

integration/vite-dot-server-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ test.describe("Vite / route / server-only module referenced by client", () => {
148148

149149
` But other route exports in 'app/routes/_index.tsx' depend on '${specifier}'.`,
150150

151-
" See https://remix.run/docs/en/main/future/vite#splitting-up-client-and-server-code",
151+
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
152152
].forEach(expect(stderr).toMatch);
153153
});
154154
}
@@ -208,7 +208,7 @@ test.describe("Vite / non-route / server-only module referenced by client", () =
208208

209209
` '${specifier}' imported by 'app/reexport-server-only.ts'`,
210210

211-
" See https://remix.run/docs/en/main/future/vite#splitting-up-client-and-server-code",
211+
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
212212
].forEach(expect(stderr).toMatch);
213213
});
214214
}

integration/vite-spa-mode-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test.describe("SPA Mode", () => {
4444
let stderr = result.stderr.toString("utf8");
4545
expect(stderr).toMatch(
4646
"SPA Mode: 3 invalid route export(s) in `routes/invalid-exports.tsx`: " +
47-
"`headers`, `loader`, `action`. See https://remix.run/future/spa-mode " +
47+
"`headers`, `loader`, `action`. See https://remix.run/guides/spa-mode " +
4848
"for more information."
4949
);
5050
});
@@ -74,7 +74,7 @@ test.describe("SPA Mode", () => {
7474
expect(stderr).toMatch(
7575
"SPA Mode: Invalid `HydrateFallback` export found in `routes/invalid-exports.tsx`. " +
7676
"`HydrateFallback` is only permitted on the root route in SPA Mode. " +
77-
"See https://remix.run/future/spa-mode for more information."
77+
"See https://remix.run/guides/spa-mode for more information."
7878
);
7979
});
8080

packages/remix-dev/vite/plugin.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = (_config) => {
15541554
"",
15551555
` But other route exports in '${importerShort}' depend on '${id}'.`,
15561556
"",
1557-
" See https://remix.run/docs/en/main/future/vite#splitting-up-client-and-server-code",
1557+
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
15581558
"",
15591559
].join("\n")
15601560
);
@@ -1566,7 +1566,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = (_config) => {
15661566
"",
15671567
` '${id}' imported by '${importerShort}'`,
15681568
"",
1569-
" See https://remix.run/docs/en/main/future/vite#splitting-up-client-and-server-code",
1569+
" See https://remix.run/docs/en/main/guides/vite#splitting-up-client-and-server-code",
15701570
"",
15711571
].join("\n")
15721572
);
@@ -1609,7 +1609,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = (_config) => {
16091609
let str = serverOnlyExports.map((e) => `\`${e}\``).join(", ");
16101610
let message =
16111611
`SPA Mode: ${serverOnlyExports.length} invalid route export(s) in ` +
1612-
`\`${route.file}\`: ${str}. See https://remix.run/future/spa-mode ` +
1612+
`\`${route.file}\`: ${str}. See https://remix.run/guides/spa-mode ` +
16131613
`for more information.`;
16141614
throw Error(message);
16151615
}
@@ -1622,7 +1622,7 @@ export const reactRouterVitePlugin: ReactRouterVitePlugin = (_config) => {
16221622
let message =
16231623
`SPA Mode: Invalid \`HydrateFallback\` export found in ` +
16241624
`\`${route.file}\`. \`HydrateFallback\` is only permitted on ` +
1625-
`the root route in SPA Mode. See https://remix.run/future/spa-mode ` +
1625+
`the root route in SPA Mode. See https://remix.run/guides/spa-mode ` +
16261626
`for more information.`;
16271627
throw Error(message);
16281628
}

0 commit comments

Comments
 (0)