diff --git a/.gitignore b/.gitignore index f8f6df66..db02cd10 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ v8.log .DS_Store benchmark.js analyse.r +docs/html +docs/man diff --git a/Makefile b/Makefile index 7ad36363..d100b43e 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,33 @@ -doc: - makedoc lib/abstract-class.js lib/schema.js lib/validatable.js -t "JugglingDB API docs" +# doc: +# makedoc lib/abstract-class.js lib/schema.js lib/validatable.js -t "JugglingDB API docs" test: @./node_modules/.bin/mocha --require should test/*.test.js -.PHONY: test -.PHONY: doc +MAN_DOCS = $(shell find docs -name '*.md' \ + |sed 's|.md|.3|g' \ + |sed 's|docs/|docs/man/|g' ) + +HTML_DOCS = $(shell find docs -name '*.md' \ + |sed 's|.md|.3.html|g' \ + |sed 's|docs/|docs/html/|g' ) \ + docs/html/index.html + +docs/man/%.3: docs/%.md scripts/doc.sh + scripts/doc.sh $< $@ + +docs/html/%.3.html: docs/%.md scripts/doc.sh + scripts/doc.sh $< $@ + +docs/html/index.html: docs/jugglingdb.md scripts/doc.sh + scripts/doc.sh $< $@ + +man: $(MAN_DOCS) +html: $(HTML_DOCS) + +release: man + +web: html + rsync ./docs/html/* jugglingdb.co:/var/www/apps/jugglingdb.co/public + +.PHONY: test docs diff --git a/docs/changelog.md b/docs/changelog.md new file mode 100644 index 00000000..36a5233a --- /dev/null +++ b/docs/changelog.md @@ -0,0 +1,17 @@ +jugglingdb-changelog(3) - The History of JugglingDB +=================================================== + +## HISTORY + +### upcoming release + +### 0.2.1 + +### 0.2.0 + +### 0.1.27 +### 0.1.23 +### 0.1.21 +### 0.1.1 +### 0.0.4 +### 0.0.2 diff --git a/docs/html/index.html b/docs/html/index.html new file mode 100644 index 00000000..be1ed638 --- /dev/null +++ b/docs/html/index.html @@ -0,0 +1,197 @@ + + +
+ + +
+ JugglingDB
- cross-database ORM for nodejs and browser
+
JugglingDB is cross-db ORM for nodejs, providing common interface to access +most popular database formats. Currently supported are: mysql, sqlite3, +postgres, couchdb, mongodb, redis, neo4j and in-memory-storage.
+ +JugglingDB also works on client-side (using WebService and Memory adapters), +which allows to write rich client-side apps talking to server using JSON API.
+ +Use npm to install core package:
+ +npm install jugglingdb --save
+
+
+Alternatively you can install jugglingdb core from github:
+ +npm install 1602/jugglingdb
+
+
+Then install adapter for specific database, for example jugglingdb-redis
:
npm install jugglingdb-redis
+
+
+See jugglingdb-adapters(3) for list of available adapters.
+ +Autogenerated documentation available at jsdoc.info/1602/jugglingdb. Human-written manual sections are:
+ +Everything about schema, data types and model definition.
Model methods, features and internals.
Built-in validators, creating custom validations, syncronous and asyncronous +object validation.
Hooks and object lifecycle.
See jugglingdb-roadmap(3) and [github issues][issues] to catch up current +development and see how you can help jugglingdb to grow up.
+ +When you find issues, please report them:
+ +JugglingDB has MIT license, see jugglingdb-license(3) for details.
+ +410 Anatoliy Chakkaev 73.9%
+ 31 Sébastien Drouyer 5.6%
+ 25 1602 4.5%
+ 9 Muneeb Samuels 1.6%
+ 6 Henri Bergius 1.1%
+
+
+