forked from stamen/modestmaps-js
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from shawnbot/merge-docs
Static docs and VERSION file This collection of commits moves the modestmaps-js version number from src/start.js to a standalone VERSION fo;e, the contents of which is inserted into modestmaps.js (and modestmaps.min.js) by the Makefile. To update the modestmaps-js version from now on, edit the VERSION file and run `make clean all`. These commits also include static documentation in the doc/ directory. You'll need to `npm install marked` to build them. Also not that the docs are *not* built automatically by the project-level Makefile; you'll need to `cd doc && make clean all` to rebuild the docs with the current version number. And don't forget to update the corresponding entries in doc/api.md if you make changes to the public API!
- Loading branch information
Showing
15 changed files
with
2,884 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
node_modules | ||
.swp | ||
.*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.3.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
api.html | ||
toc.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# to install marked: `npm install marked` | ||
MARKED ?= ../node_modules/marked/bin/marked --gfm | ||
VERSION = `cat ../VERSION` | ||
|
||
all: index.html | ||
|
||
index.html: toc.html api.html | ||
cat start.html toc.html middle.html api.html end.html \ | ||
| perl -pi -e "s/{VERSION}/$(VERSION)/g" > $@ | ||
|
||
%.html: %.md | ||
$(MARKED) $< > $@ | ||
|
||
clean: | ||
rm -f index.html toc.html api.html |
Oops, something went wrong.