Skip to content

Commit 0ec09a5

Browse files
committed
Add Next.js docs site and Vercel setup
1 parent 3e06d24 commit 0ec09a5

47 files changed

Lines changed: 3707 additions & 5 deletions

Some content is hidden

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

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,13 @@ forge-out/
1313

1414
# Lean build artifacts
1515
.lake/
16+
17+
# Docs site (Next.js)
18+
docs-site/node_modules/
19+
docs-site/.next/
20+
docs-site/out/
21+
docs-site/build/
22+
docs-site/.vercel/
23+
docs-site/public/_pagefind/
24+
docs-site/content/_pagefind/
25+
docs-site/.env*.local

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ theorem mySpec_reverts : mySpecR.reverts s -> ... := by ...
2323
```
2424

2525
**Docs**
26-
- Start page: `dumbcontracts/docs/index.html`
26+
- Docs site (Next.js): `dumbcontracts/docs-site`
2727
- Status: `dumbcontracts/STATUS.md`
2828
- Roadmap: `dumbcontracts/docs/roadmap.md`
2929
- Research log: `dumbcontracts/docs/research-log.md`
30+
31+
**Deploy Docs (Vercel)**
32+
1. Create a new Vercel project from this repo.
33+
2. Set the Root Directory to `docs-site`.
34+
3. Deploy (defaults are fine for Next.js).

docs-site/.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# dependencies
2+
node_modules
3+
.pnp
4+
.pnp.js
5+
6+
# testing
7+
coverage
8+
9+
# next.js
10+
.next/
11+
out/
12+
build
13+
14+
# pagefind
15+
public/_pagefind/
16+
content/_pagefind/
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# local env files
28+
.env*.local
29+
30+
# vercel
31+
.vercel
32+
33+
# typescript
34+
*.tsbuildinfo
35+
next-env.d.ts

0 commit comments

Comments
 (0)