Ben Hollis
e1b338041b
Validate the template option for "middleman init"
2011-12-13 23:58:47 -08:00
Thomas Reynolds
0b5094e953
fix compressors. closes #192
2011-12-12 14:20:39 -08:00
Thomas Reynolds
f4436eb49e
testing alternative (passthrough) compressor works inline, but not through Sprockets
2011-12-12 13:54:04 -08:00
Ben Hollis
911fe031bd
Fix previous checkin on Ruby 1.8.7
2011-12-11 20:51:44 -08:00
Ben Hollis
b73c58e59d
Merge pull request #185 from bhollis/instancevars
...
Scenario for using instance vars to pass data to layouts and templates, and prevent changes to instance vars being shared between different templates.
2011-12-11 20:15:55 -08:00
Ben Hollis
97dc2c9742
Scenario for using instance vars to pass data to layouts and templates, and prevent
...
changes to instance vars being shared between different templates.
2011-12-11 20:13:41 -08:00
Thomas Reynolds
433275d71f
frontmatter extensions. closes #191
2011-12-11 16:22:38 -08:00
Thomas Reynolds
6f4c1b816a
default to redcarpet for markdown. closes #196
2011-12-11 16:02:40 -08:00
Thomas Reynolds
f2221cd9a0
make sure failed builds exit with correct status code
2011-12-11 15:49:13 -08:00
Thomas Reynolds
ecc77ae89f
use same compressor for Sprockets and Rack, make sure it's configurable
2011-12-10 20:28:37 -08:00
Thomas Reynolds
bf025b85e9
more guard docs
2011-12-10 17:41:16 -08:00
Thomas Reynolds
6f7c2f881d
Simplyify local templates, add docs, enable mobile html5b
2011-12-10 11:17:47 -08:00
Thomas Reynolds
789983c1ee
install our own ctrl-c handler, try to shut down guard and thin more gracefully
2011-12-09 16:15:44 -08:00
Thomas Reynolds
c48679e993
Catch exceptions at Rack level. closes #183
2011-12-09 11:11:17 -08:00
Thomas Reynolds
7da1edeb6e
support old request.path api
2011-12-09 10:25:51 -08:00
Thomas Reynolds
e2d5839874
page helper uses provides_metadata to apply options at last minute to final output path. closes #182
2011-12-07 21:00:27 -08:00
Thomas Reynolds
9b07bf24dd
add test for helpers in external files
2011-12-06 10:28:55 -08:00
Thomas Reynolds
6aac51f6f0
Tell Guard that we REALLY want to know about ALL changes
2011-12-05 15:04:58 -08:00
Thomas Reynolds
a494d782e6
move some feature stuff into main mm file
2011-12-04 11:58:45 -08:00
Thomas Reynolds
833a229770
fix multi engine partials
2011-12-01 23:05:03 -08:00
Thomas Reynolds
51a00c4174
add very basic lorem test
2011-12-01 08:43:26 -08:00
Thomas Reynolds
6582a2f75a
re-enable builder error catching
2011-12-01 00:01:16 -08:00
Ben Hollis
167b213a07
Fix build --clean when the build directory doesn't exist.
...
Before this fix, "build --clean" with no build directory would do
nothing. Now it behaves just like a normal build.
2011-11-30 23:07:09 -08:00
Ben Hollis
8648aaed7c
Fix build --clean when paths are rerouted.
...
This was mostly apparent when using directory indexes - because the
rewrite of the destination path happened after the point where the
path was removed from the "to clean" list, directory indexes would
get removed on the next build --clean.
2011-11-30 23:07:09 -08:00
Ben Hollis
c92ccbb613
Trim down frontmatter data storage by not storing the source of the template after stripping frontmatter in the local_data hash.
2011-11-30 22:08:46 -08:00
Ben Hollis
d08b825607
Fix typo desination -> destination
2011-11-30 22:08:46 -08:00
Ben Hollis
1b330e7a27
Oops - the change to the frontmatter regex broke it somehow. This reverts that change (but also reigns in the file_deleted hook).
2011-11-30 22:08:11 -08:00
Ben Hollis
17e3735d44
A slight speedup in the sitemap extension by only scanning the source directory.
...
This way sitemap will not scan through all the files in your project (including
.git files and such) when it doesn't ever need to know about those files. This
also includes a slight tightening of the regex for filtering paths for front_matter.
2011-11-30 20:04:23 -08:00
Thomas Reynolds
dd0836b9d5
maruku is abandonware, default to rdiscount
2011-11-30 10:11:08 -08:00
Thomas Reynolds
46ddfe747f
Tweak docs
2011-11-29 23:43:01 -08:00
Thomas Reynolds
4b8beba7a3
initial tests for file change api
2011-11-29 22:26:01 -08:00
Thomas Reynolds
baa3c32b45
cleanup generator feature steps
2011-11-29 22:12:33 -08:00
Thomas Reynolds
e02173425b
reorg cucumber steps so gem extensions can reuse them
2011-11-29 14:17:07 -08:00
Thomas Reynolds
2ed409b5e1
make sure chained templates work with data
2011-11-29 11:49:42 -08:00
Ben Hollis
67fe8215e8
Build .htaccess files (and other things in the sitemap) directly even when directory-indexes are on
2011-11-28 00:18:13 -08:00
Thomas Reynolds
223cf09c8f
Merge pull request #170 from bhollis/partials
...
Fix partials with locals
2011-11-27 22:07:49 -08:00
Thomas Reynolds
41f4a30824
Merge branch 'master' of github.com:tdreyno/middleman
2011-11-27 22:04:29 -08:00
Thomas Reynolds
9ac114406f
re-order some callbacks
2011-11-27 22:04:19 -08:00
Ben Hollis
7a4d8c7533
Fix partials with locals
2011-11-27 21:56:21 -08:00
Thomas Reynolds
a14853e2bf
Merge pull request #169 from bhollis/master
...
Include .htaccess files when building a site
2011-11-27 21:16:17 -08:00
Thomas Reynolds
0ef8de6106
reorg build constants. Update docs
2011-11-27 20:49:46 -08:00
Ben Hollis
0cc00a74b4
Include .htaccess files when building a site.
2011-11-27 20:24:19 -08:00
Thomas Reynolds
d12b3a95d2
update RbConfig call. Fixes #164
2011-11-26 23:12:15 -08:00
Thomas Reynolds
7ab8f0cdd1
support for svgz gzip
2011-11-26 23:09:18 -08:00
Thomas Reynolds
4cfbd6e5d9
include svg when looking for image extensions
2011-11-26 20:53:05 -08:00
Thomas Reynolds
abbd489c91
implement new http-based messaging between guard and instance
2011-11-26 20:09:14 -08:00
Thomas Reynolds
e2fdd9a4d3
add more content_for helpers, disable caching for now
2011-11-26 18:12:15 -08:00
Thomas Reynolds
ddb15b2e35
add some more rdocs
2011-11-26 16:23:38 -08:00
Thomas Reynolds
fed3dd5a85
move rendering into rendering extension, instead of sitemap
2011-11-26 16:17:18 -08:00
Thomas Reynolds
7c50c9e4d5
tests for partials
2011-11-26 15:32:41 -08:00