Doc target for building with JSDoc 3.
This assumes jsdoc is on the path.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
||||
/build/ol.js
|
||||
/build/ol-compiled.js
|
||||
/build/proj4js-combined.js
|
||||
/build/apidoc
|
||||
/demos/*/advanced-optimizations.*
|
||||
/demos/*/build.html
|
||||
/demos/*/debug.html
|
||||
|
||||
5
Makefile
5
Makefile
@@ -105,6 +105,10 @@ lint:
|
||||
$(PLOVR_JAR):
|
||||
curl http://plovr.googlecode.com/files/$(notdir $@) > $@
|
||||
|
||||
.PHONY: doc
|
||||
doc:
|
||||
jsdoc -t doc/template -r src -d build/apidoc
|
||||
|
||||
clean:
|
||||
rm -f build/all.js
|
||||
rm -f build/ol.js
|
||||
@@ -112,6 +116,7 @@ clean:
|
||||
rm -f demos/*/*.html
|
||||
rm -f demos/*/advanced-optimizations.*
|
||||
rm -f demos/*/simple-optimizations.*
|
||||
rm -rf build/apidoc
|
||||
|
||||
reallyclean: clean
|
||||
rm -f $(PLOVR_JAR)
|
||||
|
||||
Reference in New Issue
Block a user