Permalink
Browse files

drop v0.6 docs, add v0.10 docs (the new default)

  • Loading branch information...
1 parent b03c249 commit c82536a477eef5757d168980d408f1024d3dd762 @trentm committed Mar 11, 2013
View
@@ -2,7 +2,9 @@
## 1.2.5 (not yet released)
-(nothing yet)
+- Added v0.10 docs (new default).
+- Updated docs to v0.8.22.
+- Dropped 0.6 docs.
## 1.2.4
View
@@ -10,13 +10,20 @@ check: check-cruft
# Check for accidental cruft files in doc/api*/ after upgrades.
.PHONY: check-cruft
check-cruft:
+ test ! -f doc/api10/index.markdown
+ test ! -f doc/api10/_toc.markdown
+ test ! -f doc/api10/all.markdown
test ! -f doc/api8/index.markdown
test ! -f doc/api8/_toc.markdown
test ! -f doc/api8/all.markdown
test ! -f doc/api6/index.markdown
test ! -f doc/api6/_toc.markdown
test ! -f doc/api6/all.markdown
+.PHONY: update-docs
+update-docs:
+ ./tools/update-docs.sh
+
.PHONY: cutarelease
cutarelease: check
./tools/cutarelease.py -p nodedoc -f package.json -f bin/nodedoc.py
View
@@ -423,13 +423,13 @@ def main(argv=sys.argv):
help="quieter output (just warnings and errors)")
parser.add_option("-l", "--list", action="store_true",
help="list all nodedoc sections or API hits (if args given)")
- v6 = ".".join(map(str, DOC_VERSIONS[0]))
- v8 = ".".join(map(str, DOC_VERSIONS[1]))
+ v8 = ".".join(map(str, DOC_VERSIONS[0]))
+ v10 = ".".join(map(str, DOC_VERSIONS[1]))
vD = ".".join(map(str, DOC_VERSIONS[-1]))
- parser.add_option("-6", action="store_const", dest="v", const="6",
- help="use %s docs (default is %s)" % (v6, vD))
parser.add_option("-8", action="store_const", dest="v", const="8",
help="use %s docs (default is %s)" % (v8, vD))
+ parser.add_option("-1", action="store_const", dest="v", const="10",
+ help="use %s docs (default is %s)" % (v10, vD))
parser.set_defaults(log_level=logging.INFO, v=DEFAULT_V)
opts, args = parser.parse_args()
log.setLevel(opts.log_level)
Oops, something went wrong.

0 comments on commit c82536a

Please sign in to comment.