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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
_site/
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,24 @@ locally:
node scripts/validate.mjs
```

## Website

The site at [aips.antseed.com](https://aips.antseed.com) is generated straight
from `AIPS/*.md` — one page per proposal plus an index grouped by status. No
CMS, no server: `scripts/build-site.mjs` renders the markdown with the
templates and styles in `site/`, and Cloudflare Pages builds and deploys on
every merge to `main`.

Build locally:

```bash
npm install
npm run build # validates, then renders to _site/
```

Cloudflare Pages settings: build command `npm run build`, output directory
`_site`, production branch `main`.

## Copyright

All AIPs, and this repository's documentation, are released under
Expand Down
157 changes: 157 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "antseed-aips",
"private": true,
"type": "module",
"description": "AntSeed Improvement Proposals — validator and static site generator",
"scripts": {
"validate": "node scripts/validate.mjs",
"build": "node scripts/validate.mjs && node scripts/build-site.mjs"
},
"dependencies": {
"js-yaml": "^4.1.0",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0"
}
}
Loading
Loading