Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Updates documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
robotlolita committed Apr 19, 2015
1 parent a2a4b16 commit 1341d1b
Show file tree
Hide file tree
Showing 9 changed files with 2,235 additions and 774 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ node_modules/
dist/
lib/
npm-debug.log
docs/
docs/build/
examples/*.js
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/source/caffeine-theme"]
path = docs/source/caffeine-theme
url = git://github.com/robotlolita/caffeine-theme
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ $(TEST_BLD)/%.js: $(TEST_DIR)/%.sjs
--output $@ \
$<

docs/source/index.rst: src/index.sjs
$(dollphie) --input javascript --output sphinx src/index.sjs > docs/source/index.rst


# -- Tasks -------------------------------------------------------------
source: $(TGT)
Expand All @@ -78,8 +81,8 @@ bundle: dist/$(PACKAGE).umd.js

minify: dist/$(PACKAGE).umd.min.js

documentation:
$(dollphie) --input javascript --output markdown src/index.sjs > docs.md
documentation: docs/source/index.rst
cd docs && $(MAKE) html

clean:
rm -rf dist build $(LIB_DIR)
Expand Down
Loading

0 comments on commit 1341d1b

Please sign in to comment.