staticmatic 0.11.0.alpha.0 → 0.11.0.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -2
- data/VERSION.yml +1 -1
- data/bin/staticmatic +2 -2
- metadata +3 -3
data/README.markdown
CHANGED
@@ -27,9 +27,11 @@ After this command you'll have the following files:
|
|
27
27
|
stylesheets/
|
28
28
|
javascripts/
|
29
29
|
src/
|
30
|
+
config/
|
31
|
+
site.rb
|
30
32
|
helpers/
|
31
33
|
layouts/
|
32
|
-
|
34
|
+
default.haml
|
33
35
|
pages/
|
34
36
|
index.haml
|
35
37
|
stylesheets/
|
@@ -40,7 +42,7 @@ edited the pages and stylesheets, you can generate the static site:
|
|
40
42
|
|
41
43
|
staticmatic build <directory>
|
42
44
|
|
43
|
-
All of the pages are parsed and wrapped up in
|
45
|
+
All of the pages are parsed and wrapped up in default.haml and put into the site directory.
|
44
46
|
|
45
47
|
## Templates
|
46
48
|
|
data/VERSION.yml
CHANGED
data/bin/staticmatic
CHANGED
@@ -5,13 +5,13 @@ require File.dirname(__FILE__) + '/../lib/staticmatic'
|
|
5
5
|
command = ARGV[0]
|
6
6
|
directory = ARGV[1]
|
7
7
|
|
8
|
-
$:.push File.join(directory, "lib")
|
9
|
-
|
10
8
|
if !command || !directory
|
11
9
|
puts "Usage: #{$0} <build|setup|preview> <directory>"
|
12
10
|
exit
|
13
11
|
end
|
14
12
|
|
13
|
+
$:.push File.join(directory, "lib")
|
14
|
+
|
15
15
|
configuration = StaticMatic::Configuration.new
|
16
16
|
|
17
17
|
config_file = File.join(directory, "config", "site.rb")
|
metadata
CHANGED
@@ -7,8 +7,8 @@ version: !ruby/object:Gem::Version
|
|
7
7
|
- 11
|
8
8
|
- 0
|
9
9
|
- alpha
|
10
|
-
-
|
11
|
-
version: 0.11.0.alpha.
|
10
|
+
- 1
|
11
|
+
version: 0.11.0.alpha.1
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Stephen Bartholomew
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-04-
|
19
|
+
date: 2010-04-21 00:00:00 +01:00
|
20
20
|
default_executable: staticmatic
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|