projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #76 from clocksmith/singleppp
[dygraphs.git]
/
generate-documentation.py
diff --git
a/generate-documentation.py
b/generate-documentation.py
index
f0b7387
..
2f91503
100755
(executable)
--- a/
generate-documentation.py
+++ b/
generate-documentation.py
@@
-1,4
+1,7
@@
#!/usr/bin/python
#!/usr/bin/python
+
+# Generate docs/options.html
+
import json
import glob
import re
import json
import glob
import re
@@
-12,7
+15,7
@@
debug_tests = [] # [ 'tests/zoom.html' ]
# Pull options reference JSON out of dygraph.js
js = ''
in_json = False
# Pull options reference JSON out of dygraph.js
js = ''
in_json = False
-for line in file('dygraph.js'):
+for line in file('dygraph
-options-reference
.js'):
if '<JSON>' in line:
in_json = True
elif '</JSON>' in line:
if '<JSON>' in line:
in_json = True
elif '</JSON>' in line: