Commit Graph

16 Commits

Author SHA1 Message Date
Dan Holmsand 163308a392 Make site and examples work with ClojureScript 2816
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.

Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00
Dan Holmsand 4d559ef862 Move syntax highlighting to ClojureScript, to reduce code size a bit 2015-02-09 21:02:31 +01:00
Dan Holmsand d57fbc8fd6 Simplify page handling in demo a little 2015-01-31 22:02:30 +01:00
Dan Holmsand 34e5af0aea Fix async demo 2014-12-12 09:42:24 +01:00
Dan Holmsand 59b2e6d6ee Cleanup and fix for ClojureScript 0.0-2411 2014-12-07 21:07:32 +01:00
Dan Holmsand 6e8a5178b3 Use new macro-based syntax highlighting 2014-12-07 19:26:20 +01:00
Dan Holmsand bc89612a76 Fix site-generation and simplify title setting 2014-11-29 19:51:45 +01:00
Dan Holmsand bffbae231d Reorganize build, tests and doc site
Tests and doc site can now run without node, using only
"lein figwheel". Tests and site are then re-run automatically
whenever a source file changes.

The doc site is now generated into "outsite/public", and can be
copied into the "gh-pages" branch with "make build-gh-pages".

"make push-gh-pages" builds the doc site and pushes it upstream
to the gh-pages branch there.

Generation of html pages is now handled completely in
ClojureScript, loaded from "bin/gen-site.js".

Link handling is a bit simplified.
2014-11-29 18:30:24 +01:00
Dan Holmsand 429ed50fab Make demo code more Light Table-friendly 2014-04-01 19:50:28 +02:00
Dan Holmsand 7792f493c0 Avoid duplicating :key in both wrapper and child 2014-02-12 07:16:55 +01:00
Dan Holmsand 12ee54b083 Allow "key" to be specified with meta-data
These are now equivalent
[foo {:key 1}] and
(with-meta [foo] {:key 1})
2014-02-11 20:56:48 +01:00
Dan Holmsand 953404b2cc Take advantage of anyargs in async demo 2014-02-11 13:58:50 +01:00
Dan Holmsand 805264ea61 Warn on deref in seqs instead of silently failing
Use warning to improve color palette demo
Fix page title
Move more code to util.cljs
2014-02-10 23:54:30 +01:00
Dan Holmsand 445f1da424 Only show summaries on news page 2014-02-03 10:27:17 +01:00
Dan Holmsand 1c702920bd Start writing copy about async rendering 2014-02-03 09:38:02 +01:00
Dan Holmsand 35bc336743 Add a little demo 2014-01-30 22:29:42 +01:00