Skip to content

Commit de621f6

Browse files
committed
feat(web): add Next.js showcase site and docs
- Build marketing landing + docs with coss UI components - Render docs from markdown (unified + shiki), dark/light mode - Migrate docs content from Zensical into web/content - Static export + GitHub Pages workflow (basePath /webskrap) - Remove Zensical: docs/, site/, zensical.toml, docs workflow, docs extra - Exclude web/ from PyPI sdist
1 parent 44a3937 commit de621f6

110 files changed

Lines changed: 9962 additions & 1167 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/pages.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
defaults:
21+
run:
22+
working-directory: web
23+
env:
24+
NEXT_PUBLIC_BASE_PATH: /webskrap
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: oven-sh/setup-bun@v2
28+
- name: Install dependencies
29+
run: bun install --frozen-lockfile
30+
- name: Build static export
31+
run: bun run build
32+
- uses: actions/configure-pages@v5
33+
- uses: actions/upload-pages-artifact@v3
34+
with:
35+
path: web/out
36+
deploy:
37+
needs: build
38+
runs-on: ubuntu-latest
39+
environment:
40+
name: github-pages
41+
url: ${{ steps.deployment.outputs.page_url }}
42+
steps:
43+
- id: deployment
44+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ site/
1313
.webskrap/
1414
test.py
1515
AGENTS.md
16+
CLAUDE.md
1617
.cache

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
WebSkrap does not include CAPTCHA solving, login-wall bypassing, credential bypassing, or access-control circumvention. Use it only on targets you are allowed to access.
1313

14-
Documentation: https://kacigaya.github.io/webskrap/
14+
Documentation: Next.js site in [`web/`](web/) (sources in [`web/content`](web/content)).
1515

1616
## Install
1717

SKILL.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,6 @@ For code changes, run the focused checks relevant to the edit:
223223
```bash
224224
pytest -q
225225
ruff check .
226-
zensical build
227226
```
228227

229228
Use `WEBSKRAP_LIVE=1 pytest -q -m live` only for opt-in third-party bot-detection tests. Those tests are slower and may fail when public demos change.

docs/api-reference.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/index.md

Lines changed: 0 additions & 108 deletions
This file was deleted.

docs/llms.txt

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)