Skip to content

Commit

Permalink
Merge pull request #21 from BranchMetrics/kirk-doc
Browse files Browse the repository at this point in the history
reorg docs to spawn Reference.md from README.md
  • Loading branch information
Kirkkt committed Oct 27, 2015
2 parents 02dfbf3 + 9e7b45b commit 3f7c608
Show file tree
Hide file tree
Showing 9 changed files with 848 additions and 1,008 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ EXTERN=Web-SDK/src/extern.js

.PHONY: clean

all: dist/build.min.js dist/build.js README.md README.md
all: dist/build.min.js dist/build.js Reference.md README.md
clean:
rm -f dist/** docs/cordova/3_branch_cordova.md README.md README.md
rm -f dist/** docs/cordova/3_branch_cordova.md Reference.md README.md

# Kinda gross, but will download closure compiler if you don't have it.
compiler/compiler.jar:
Expand Down Expand Up @@ -41,7 +41,7 @@ docs/cordova/3_branch_cordova.md: $(SOURCES)
jsdox Web-SDK/src/3_branch_cordova.js --output docs/cordova
rm Web-SDK/src/3_branch_cordova.js

README.md: docs/0_notice.md docs/cordova/1_intro.md docs/cordova/3_branch_cordova.md docs/4_footer.md
Reference.md: docs/cordova/3_branch_cordova.md docs/4_footer.md
perl Web-SDK/build_utils/toc_generator.pl Web-SDK/src/6_branch.js docs/cordova/2_table_of_contents.md CORDOVA
cat docs/0_notice.md docs/cordova/1_intro.md docs/cordova/2_table_of_contents.md docs/cordova/3_branch_cordova.md docs/4_footer.md > README.md
perl -p -i -e 's/# Global//' README.md
cat docs/cordova/2_table_of_contents.md docs/cordova/3_branch_cordova.md docs/4_footer.md > Reference.md
perl -p -i -e 's/# Global//' Reference.md
Loading

0 comments on commit 3f7c608

Please sign in to comment.