Skip to content
This repository was archived by the owner on Aug 4, 2025. It is now read-only.

Commit 3c37469

Browse files
committed
Automated rendering using aglio.
1 parent 5961fd0 commit 3c37469

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
.PHONY: doc
22
doc:
3-
cat ./parts/* > api.md
3+
cat ./parts/* > api.md
4+
5+
.PHONY: deps
6+
deps:
7+
npm install
8+
9+
.PHONY: render
10+
render: doc deps
11+
./node_modules/.bin/aglio -i api.md -o redbooth-api-v3.html

package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "redbooth-api-v3-docs",
3+
"version": "0.0.0",
4+
"description": "Redbooth official API v3 documentation",
5+
"dependencies": {
6+
"aglio": "^1.16.2"
7+
},
8+
"devDependencies": {},
9+
"scripts": {
10+
"test": "echo \"Error: no test specified\" && exit 1"
11+
},
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/teambox/api-v3-docs.git"
15+
},
16+
"keywords": [
17+
"redbooth",
18+
"API",
19+
"doc"
20+
],
21+
"author": "Redbooth, Inc.",
22+
"license": "MIT",
23+
"bugs": {
24+
"url": "https://github.com/teambox/api-v3-docs/issues"
25+
},
26+
"homepage": "https://github.com/teambox/api-v3-docs"
27+
}

0 commit comments

Comments
 (0)