- Decide what the content type is:
- Evergreen pages such as Polyfills, Specifications should me modified in [/static]
- Posts such as articles/podcasts/presentations should be added to [/documents]
- Send a PR with the changes.
- Done! Once it's merged, the site will update with the latest content.
$ npm install
$ npm start
$ npm run monitor
$ npm run lint
$ npm test
GET /content/:path
Returns blob of markdown/html content.
GET /static/:file
Returns static file. Static files do not appear in /resources
lists and do not contain any docpad metadata.
GET /resources/[:type]
Returns a list of n
resource excerpts of specified type.
type
is optional.
Query params:
offset
- offset in results to return. Default: 0limit
- number of results to return. Default: 10