[build,doc][s]: build all the docs and tweak main doc file.

This commit is contained in:
Rufus Pollock
2012-03-15 00:43:06 +00:00
parent 95a394bd13
commit 8762b9a862
13 changed files with 486 additions and 325 deletions

3
make
View File

@@ -1,5 +1,6 @@
#!/usr/bin/env python
import sys
import shutil
import os
def cat():
@@ -12,6 +13,8 @@ def docs():
print("** Building docs")
cmd = 'docco src/model.js src/view.js src/view-grid.js src/view-flot-graph.js'
os.system(cmd)
if os.path.exists('/tmp/recline-docs'):
shutil.rmtree('/tmp/recline-docs')
os.makedirs('/tmp/recline-docs')
os.system('mkdir -p docs/backend')
files = '%s/src/backend/*.js' % os.getcwd()