Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion packages/docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ functions/**/*.js
# This is used in dev mode because service
# workers don't support imports
public/repl/repl-sw.js*
public/pagefind/

!src/routes/api/qwik/server/

Expand Down Expand Up @@ -40,5 +41,5 @@ lerna-debug.log*
*.sw?

# Cloudflare

.wrangler
*.local
25 changes: 25 additions & 0 deletions packages/docs/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,28 @@ declare module '*?compiled-string' {
const str: string;
export default str;
}

declare module '/pagefind/pagefind.js' {
export function options(options: { bundlePath?: string }): Promise<void>;
export function init(): Promise<void>;
export function debouncedSearch(
term: string,
options?: unknown,
debounceTimeoutMs?: number
): Promise<{
results: {
data: () => Promise<{
url: string;
excerpt?: string | null;
meta?: {
title?: string | null;
};
sub_results?: {
title?: string | null;
url: string;
excerpt?: string | null;
}[];
}>;
}[];
} | null>;
}
12 changes: 6 additions & 6 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"author": "Qwik Team",
"bugs": "https://github.com/QwikDev/qwik",
"devDependencies": {
"@algolia/autocomplete-core": "1.7.4",
"@algolia/client-search": "4.14.3",
"@emnapi/core": "1.9.2",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1",
"@modular-forms/qwik": "0.29.1",
Expand All @@ -15,7 +14,6 @@
"@mui/x-data-grid": "8.11.3",
"@qds.dev/tools": "0.14.3",
"@qds.dev/ui": "0.14.3",
"@qwik-ui/headless": "0.6.7",
"@qwik.dev/core": "workspace:*",
"@qwik.dev/devtools": "0.2.5",
"@qwik.dev/optimizer": "workspace:*",
Expand All @@ -42,8 +40,8 @@
"gray-matter": "4.0.3",
"leaflet": "1.9.4",
"magic-string": "0.30.21",
"openai": "3.3.0",
"playwright": "1.57.0",
"pagefind": "1.4.0",
"prettier": "3.7.4",
"prism-themes": "1.9.0",
"prismjs": "1.30.0",
Expand All @@ -59,7 +57,7 @@
"valibot": "1.2.0",
"vite": "7.3.1",
"vite-tsconfig-paths": "6.0.4",
"wrangler": "3.114.17"
"wrangler": "4.80.0"
},
"engines": {
"node": "^18.17.0 || ^20.3.0 || >=21.0.0",
Expand All @@ -71,8 +69,10 @@
"license": "MIT",
"private": true,
"scripts": {
"build": "pnpm build.repl-sw && qwik build",
"build": "pnpm build.repl-sw && qwik build && pnpm build.pagefind",
"build.client": "vite build && pnpm generate.llms",
"build.pagefind": "pagefind --output-subdir pagefind",
"build.pagefind.dev": "pagefind --output-path public/pagefind",
"build.preview": "NODE_OPTIONS=--max-old-space-size=8192 vite build --ssr src/entry.preview.tsx",
"build.repl-sw": "vite --config vite.config-repl-sw build",
"build.server": "NODE_OPTIONS=--max-old-space-size=8192 vite build -c adapters/cloudflare-pages/vite.config",
Expand Down
3 changes: 3 additions & 0 deletions packages/docs/pagefind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
site: dist
glob: '**/*.html'
include_characters: '$<>:'
1 change: 1 addition & 0 deletions packages/docs/public/_routes.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"/guide",
"/tutorial",
"/tutorials",
"/pagefind/*",
"/tutorial/hooks/use-client-effect/",
"/docs/overview/",
"/docs/cheat/qwik-react/",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
71 changes: 0 additions & 71 deletions packages/docs/public/builder/high.js

This file was deleted.

Loading
Loading