Skip to content

Commit 5f7b177

Browse files
feat: update project website to display README.py (marimo notebook), search bar, FAQs, Announcement Banner
1 parent 286f15f commit 5f7b177

14 files changed

Lines changed: 1585 additions & 1289 deletions

File tree

afterpython/_website/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ static/example
3838
static/guide
3939
static/llms.txt
4040
static/readme_py/
41-
static/*.json
41+
static/*.json

afterpython/_website/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ This is a project website template for [afterpython].
1010
2. Run `pnpm install` to install dependencies
1111
3. Run `pnpm dev` to start the development server
1212
4. Run `pnpm build` to build the project
13-
5. Run `pnpm preview` to preview the project
13+
5.1. Run `pnpm preview` to preview the project (this will NOT include pagefind build)
14+
or
15+
5.2. Run `pnpm serve` to serve the project (this will include pagefind build)

afterpython/_website/package.json

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@afterpython/project-website-template",
3-
"version": "0.1.1",
3+
"version": "0.3.0",
44
"license": "Apache-2.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite dev",
8-
"build": "vite build",
8+
"build": "vite build && pagefind --site build",
99
"build:watch": "vite build --watch --mode development",
1010
"preview": "vite preview",
11-
"serve": "pnpx serve",
11+
"serve": "pnpx serve build",
1212
"prepare": "svelte-kit sync || echo ''",
1313
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1414
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
@@ -18,36 +18,39 @@
1818
"test": "npm run test:unit -- --run"
1919
},
2020
"devDependencies": {
21-
"@eslint/compat": "^2.0.0",
22-
"@eslint/js": "^9.39.1",
21+
"@eslint/compat": "^2.0.5",
22+
"@eslint/js": "^10.0.1",
23+
"@pagefind/component-ui": "^1.5.2",
2324
"@sveltejs/adapter-static": "^3.0.10",
24-
"@sveltejs/kit": "^2.49.1",
25-
"@sveltejs/vite-plugin-svelte": "^6.2.1",
26-
"@tailwindcss/forms": "^0.5.10",
25+
"@sveltejs/kit": "^2.59.0",
26+
"@sveltejs/vite-plugin-svelte": "^7.0.0",
27+
"@tailwindcss/forms": "^0.5.11",
2728
"@tailwindcss/typography": "^0.5.19",
28-
"@tailwindcss/vite": "^4.1.17",
29+
"@tailwindcss/vite": "^4.2.4",
2930
"@testing-library/jest-dom": "^6.9.1",
30-
"@testing-library/svelte": "^5.2.9",
31-
"@types/node": "^24.10.1",
32-
"eslint": "^9.39.1",
31+
"@testing-library/svelte": "^5.3.1",
32+
"@types/node": "^25.6.0",
33+
"esbuild": "^0.28.0",
34+
"eslint": "^10.3.0",
3335
"eslint-config-prettier": "^10.1.8",
34-
"eslint-plugin-svelte": "^3.13.0",
35-
"globals": "^16.5.0",
36+
"eslint-plugin-svelte": "^3.17.1",
37+
"globals": "^17.6.0",
3638
"highlight.js": "^11.11.1",
37-
"jsdom": "^27.2.0",
38-
"marked": "^17.0.1",
39-
"marked-gfm-heading-id": "^4.1.3",
40-
"marked-highlight": "^2.2.3",
41-
"mdsvex": "^0.12.6",
42-
"prettier": "^3.7.4",
43-
"prettier-plugin-svelte": "^3.4.0",
44-
"prettier-plugin-tailwindcss": "^0.7.2",
45-
"svelte": "^5.45.4",
46-
"svelte-check": "^4.3.4",
47-
"tailwindcss": "^4.1.17",
48-
"typescript": "^5.9.3",
49-
"typescript-eslint": "^8.48.1",
50-
"vite": "^7.2.6",
51-
"vitest": "^4.0.15"
39+
"jsdom": "^29.1.1",
40+
"marked": "^18.0.3",
41+
"marked-gfm-heading-id": "^4.1.4",
42+
"marked-highlight": "^2.2.4",
43+
"mdsvex": "^0.12.7",
44+
"pagefind": "^1.5.2",
45+
"prettier": "^3.8.3",
46+
"prettier-plugin-svelte": "^3.5.1",
47+
"prettier-plugin-tailwindcss": "^0.8.0",
48+
"svelte": "^5.55.5",
49+
"svelte-check": "^4.4.7",
50+
"tailwindcss": "^4.2.4",
51+
"typescript": "^6.0.3",
52+
"typescript-eslint": "^8.59.1",
53+
"vite": "^8.0.10",
54+
"vitest": "^4.1.5"
5255
}
5356
}

0 commit comments

Comments
 (0)