Skip to content

Commit f1dbf79

Browse files
committed
fix(docs): some small things breaking SSG
note that the previous commits unblocked full SSG for docs
1 parent 283fea3 commit f1dbf79

File tree

5 files changed

+6
-26
lines changed

5 files changed

+6
-26
lines changed

packages/docs/public/_routes.json

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
{
22
"version": 1,
3-
"include": ["/*"],
4-
"exclude": [
5-
"/chat",
6-
"/examples",
7-
"/guide",
8-
"/tutorial",
9-
"/tutorials",
10-
"/tutorial/hooks/use-client-effect/",
11-
"/docs/overview/",
12-
"/docs/cheat/qwik-react/",
13-
"/docs/cheat/best-practices/",
14-
"/docs/cheat/serialization/",
15-
"/docs/components/lifecycle/",
16-
"/docs/components/projection/",
17-
"/docs/components/resource/",
18-
"/qwikcity/*",
19-
"/integrations/*",
20-
"/deployments/*",
21-
"/repl/*"
22-
]
3+
"include": ["/playground/*", "/tutorial/*", "/demo/*"],
4+
"exclude": []
235
}

packages/docs/src/routes/api/qwik-optimizer/api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
}
148148
],
149149
"kind": "Enum",
150-
"content": "Use `__EXPERIMENTAL__.x` to check if feature `x` is enabled. It will be replaced with `true` or `false` via an exact string replacement.\n\nAdd experimental features to this enum definition.\n\n\n```typescript\nexport declare enum ExperimentalFeatures \n```\n\n\n<table><thead><tr><th>\n\nMember\n\n\n</th><th>\n\nValue\n\n\n</th><th>\n\nDescription\n\n\n</th></tr></thead>\n<tbody><tr><td>\n\nenableRequestRewrite\n\n\n</td><td>\n\n`\"enableRequestRewrite\"`\n\n\n</td><td>\n\nEnable request.rewrite()\n\n\n</td></tr>\n<tr><td>\n\ninsights\n\n\n</td><td>\n\n`\"insights\"`\n\n\n</td><td>\n\nEnable the ability to use the Qwik Insights vite plugin and <Insights/> component\n\n\n</td></tr>\n<tr><td>\n\nnoSPA\n\n\n</td><td>\n\n`\"noSPA\"`\n\n\n</td><td>\n\nDisable SPA navigation handler in Qwik Router\n\n\n</td></tr>\n<tr><td>\n\npreventNavigate\n\n\n</td><td>\n\n`\"preventNavigate\"`\n\n\n</td><td>\n\nEnable the usePreventNavigate hook\n\n\n</td></tr>\n<tr><td>\n\nvalibot\n\n\n</td><td>\n\n`\"valibot\"`\n\n\n</td><td>\n\nEnable the Valibot form validation\n\n\n</td></tr>\n<tr><td>\n\nwebWorker\n\n\n</td><td>\n\n`\"webWorker\"`\n\n\n</td><td>\n\nEnable worker$\n\n\n</td></tr>\n</tbody></table>",
150+
"content": "Use `__EXPERIMENTAL__.x` to check if feature `x` is enabled. It will be replaced with `true` or `false` via an exact string replacement.\n\nAdd experimental features to this enum definition.\n\n\n```typescript\nexport declare enum ExperimentalFeatures \n```\n\n\n<table><thead><tr><th>\n\nMember\n\n\n</th><th>\n\nValue\n\n\n</th><th>\n\nDescription\n\n\n</th></tr></thead>\n<tbody><tr><td>\n\nenableRequestRewrite\n\n\n</td><td>\n\n`\"enableRequestRewrite\"`\n\n\n</td><td>\n\nEnable request.rewrite()\n\n\n</td></tr>\n<tr><td>\n\ninsights\n\n\n</td><td>\n\n`\"insights\"`\n\n\n</td><td>\n\nEnable the ability to use the Qwik Insights vite plugin and `<Insights/>` component\n\n\n</td></tr>\n<tr><td>\n\nnoSPA\n\n\n</td><td>\n\n`\"noSPA\"`\n\n\n</td><td>\n\nDisable SPA navigation handler in Qwik Router\n\n\n</td></tr>\n<tr><td>\n\npreventNavigate\n\n\n</td><td>\n\n`\"preventNavigate\"`\n\n\n</td><td>\n\nEnable the usePreventNavigate hook\n\n\n</td></tr>\n<tr><td>\n\nvalibot\n\n\n</td><td>\n\n`\"valibot\"`\n\n\n</td><td>\n\nEnable the Valibot form validation\n\n\n</td></tr>\n<tr><td>\n\nwebWorker\n\n\n</td><td>\n\n`\"webWorker\"`\n\n\n</td><td>\n\nEnable worker$\n\n\n</td></tr>\n</tbody></table>",
151151
"editUrl": "https://github.com/QwikDev/qwik/tree/main/packages/qwik/src/optimizer/src/plugins/plugin.ts",
152152
"mdFile": "core.experimentalfeatures.md"
153153
},

packages/docs/src/routes/api/qwik-optimizer/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ insights
390390

391391
</td><td>
392392

393-
Enable the ability to use the Qwik Insights vite plugin and <Insights/> component
393+
Enable the ability to use the Qwik Insights vite plugin and `<Insights/>` component
394394

395395
</td></tr>
396396
<tr><td>

packages/docs/src/routes/docs/integrations/react/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,4 @@ The host element is not part of React, meaning that hydration is not necessary t
909909

910910
This will effectively allow you to respond to a click in a [MUI button](https://mui.com/material-ui/react-button/) without downloading a single byte of React code.
911911

912-
🧑‍💻Happy hacking!import PackageManagerTabs from '~/components/package-manager-tabs/index.tsx';
913-
import CodeSandbox, { CodeFile } from '../../../../components/code-sandbox/index.tsx';
914-
912+
🧑‍💻Happy hacking!

packages/qwik/src/optimizer/src/plugins/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export enum ExperimentalFeatures {
7676
enableRequestRewrite = 'enableRequestRewrite',
7777
/** Enable worker$ */
7878
webWorker = 'webWorker',
79-
/** Enable the ability to use the Qwik Insights vite plugin and <Insights/> component */
79+
/** Enable the ability to use the Qwik Insights vite plugin and `<Insights/>` component */
8080
insights = 'insights',
8181
}
8282

0 commit comments

Comments
 (0)