Shazburg-webby 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +176 -0
- data/Manifest.txt +171 -0
- data/README.txt +92 -0
- data/Rakefile +54 -0
- data/bin/webby +8 -0
- data/bin/webby-gen +8 -0
- data/examples/blog/Sitefile +7 -0
- data/examples/blog/tasks/blog.rake +72 -0
- data/examples/blog/templates/atom_feed.erb +40 -0
- data/examples/blog/templates/blog/month.erb +22 -0
- data/examples/blog/templates/blog/post.erb +16 -0
- data/examples/blog/templates/blog/year.erb +22 -0
- data/examples/presentation/Sitefile +10 -0
- data/examples/presentation/content/css/uv/twilight.css +137 -0
- data/examples/presentation/content/presentation/_sample_code.txt +10 -0
- data/examples/presentation/content/presentation/index.txt +63 -0
- data/examples/presentation/content/presentation/s5/blank.gif +0 -0
- data/examples/presentation/content/presentation/s5/bodybg.gif +0 -0
- data/examples/presentation/content/presentation/s5/framing.css +23 -0
- data/examples/presentation/content/presentation/s5/iepngfix.htc +42 -0
- data/examples/presentation/content/presentation/s5/opera.css +7 -0
- data/examples/presentation/content/presentation/s5/outline.css +15 -0
- data/examples/presentation/content/presentation/s5/pretty.css +86 -0
- data/examples/presentation/content/presentation/s5/print.css +1 -0
- data/examples/presentation/content/presentation/s5/s5-core.css +9 -0
- data/examples/presentation/content/presentation/s5/slides.css +3 -0
- data/examples/presentation/content/presentation/s5/slides.js +553 -0
- data/examples/presentation/layouts/presentation.txt +43 -0
- data/examples/presentation/templates/_code_partial.erb +13 -0
- data/examples/presentation/templates/presentation.erb +40 -0
- data/examples/tumblog/Sitefile +9 -0
- data/examples/tumblog/content/css/tumblog.css +308 -0
- data/examples/tumblog/content/images/tumblog/permalink.gif +0 -0
- data/examples/tumblog/content/images/tumblog/rss.gif +0 -0
- data/examples/tumblog/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
- data/examples/tumblog/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
- data/examples/tumblog/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
- data/examples/tumblog/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
- data/examples/tumblog/content/tumblog/200807/up-a-tree/index.txt +13 -0
- data/examples/tumblog/content/tumblog/index.txt +37 -0
- data/examples/tumblog/content/tumblog/rss.txt +37 -0
- data/examples/tumblog/layouts/tumblog/default.txt +44 -0
- data/examples/tumblog/layouts/tumblog/post.txt +15 -0
- data/examples/tumblog/lib/tumblog_helper.rb +32 -0
- data/examples/tumblog/tasks/tumblog.rake +30 -0
- data/examples/tumblog/templates/atom_feed.erb +40 -0
- data/examples/tumblog/templates/tumblog/conversation.erb +12 -0
- data/examples/tumblog/templates/tumblog/link.erb +10 -0
- data/examples/tumblog/templates/tumblog/photo.erb +13 -0
- data/examples/tumblog/templates/tumblog/post.erb +12 -0
- data/examples/tumblog/templates/tumblog/quote.erb +11 -0
- data/examples/webby/Sitefile +19 -0
- data/examples/webby/content/css/background.gif +0 -0
- data/examples/webby/content/css/blueprint/print.css +76 -0
- data/examples/webby/content/css/blueprint/screen.css +696 -0
- data/examples/webby/content/css/coderay.css +96 -0
- data/examples/webby/content/css/site.css +184 -0
- data/examples/webby/content/css/uv/twilight.css +137 -0
- data/examples/webby/content/index.txt +37 -0
- data/examples/webby/content/manual/index.txt +430 -0
- data/examples/webby/content/reference/index.txt +202 -0
- data/examples/webby/content/release-notes/rel-0-9-0/index.txt +73 -0
- data/examples/webby/content/robots.txt +6 -0
- data/examples/webby/content/script/jquery.corner.js +152 -0
- data/examples/webby/content/script/jquery.js +31 -0
- data/examples/webby/content/sitemap.txt +31 -0
- data/examples/webby/content/tips_and_tricks/index.txt +96 -0
- data/examples/webby/content/tutorial/index.txt +131 -0
- data/examples/webby/layouts/default.txt +55 -0
- data/examples/webby/templates/page.erb +10 -0
- data/examples/website/Sitefile +7 -0
- data/examples/website/content/css/blueprint/License.txt +21 -0
- data/examples/website/content/css/blueprint/Readme.txt +100 -0
- data/examples/website/content/css/blueprint/compressed/print.css +76 -0
- data/examples/website/content/css/blueprint/compressed/screen.css +696 -0
- data/examples/website/content/css/blueprint/lib/forms.css +45 -0
- data/examples/website/content/css/blueprint/lib/grid.css +193 -0
- data/examples/website/content/css/blueprint/lib/grid.png +0 -0
- data/examples/website/content/css/blueprint/lib/ie.css +30 -0
- data/examples/website/content/css/blueprint/lib/reset.css +39 -0
- data/examples/website/content/css/blueprint/lib/typography.css +116 -0
- data/examples/website/content/css/blueprint/plugins/buttons/Readme +31 -0
- data/examples/website/content/css/blueprint/plugins/buttons/buttons.css +97 -0
- data/examples/website/content/css/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/examples/website/content/css/blueprint/plugins/buttons/icons/key.png +0 -0
- data/examples/website/content/css/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/examples/website/content/css/blueprint/plugins/css-classes/Readme +14 -0
- data/examples/website/content/css/blueprint/plugins/css-classes/css-classes.css +24 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/Readme +22 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type-compressed.css +5 -0
- data/examples/website/content/css/blueprint/plugins/fancy-type/fancy-type.css +74 -0
- data/examples/website/content/css/blueprint/print.css +68 -0
- data/examples/website/content/css/blueprint/screen.css +22 -0
- data/examples/website/content/css/coderay.css +111 -0
- data/examples/website/content/css/site.css +67 -0
- data/examples/website/content/index.txt +19 -0
- data/examples/website/layouts/default.txt +58 -0
- data/examples/website/lib/breadcrumbs.rb +28 -0
- data/examples/website/templates/_partial.erb +10 -0
- data/examples/website/templates/page.erb +18 -0
- data/examples/website/templates/presentation.erb +40 -0
- data/lib/webby.rb +227 -0
- data/lib/webby/apps.rb +12 -0
- data/lib/webby/apps/generator.rb +283 -0
- data/lib/webby/apps/main.rb +221 -0
- data/lib/webby/auto_builder.rb +83 -0
- data/lib/webby/builder.rb +183 -0
- data/lib/webby/core_ext/enumerable.rb +11 -0
- data/lib/webby/core_ext/hash.rb +28 -0
- data/lib/webby/core_ext/kernel.rb +21 -0
- data/lib/webby/core_ext/string.rb +163 -0
- data/lib/webby/core_ext/time.rb +9 -0
- data/lib/webby/filters.rb +91 -0
- data/lib/webby/filters/basepath.rb +97 -0
- data/lib/webby/filters/erb.rb +9 -0
- data/lib/webby/filters/haml.rb +18 -0
- data/lib/webby/filters/markdown.rb +16 -0
- data/lib/webby/filters/outline.rb +308 -0
- data/lib/webby/filters/sass.rb +17 -0
- data/lib/webby/filters/slides.rb +56 -0
- data/lib/webby/filters/textile.rb +16 -0
- data/lib/webby/filters/tidy.rb +76 -0
- data/lib/webby/helpers.rb +30 -0
- data/lib/webby/helpers/capture_helper.rb +141 -0
- data/lib/webby/helpers/coderay_helper.rb +69 -0
- data/lib/webby/helpers/graphviz_helper.rb +136 -0
- data/lib/webby/helpers/tag_helper.rb +65 -0
- data/lib/webby/helpers/tex_img_helper.rb +133 -0
- data/lib/webby/helpers/ultraviolet_helper.rb +63 -0
- data/lib/webby/helpers/url_helper.rb +235 -0
- data/lib/webby/link_validator.rb +152 -0
- data/lib/webby/renderer.rb +379 -0
- data/lib/webby/resources.rb +96 -0
- data/lib/webby/resources/db.rb +251 -0
- data/lib/webby/resources/file.rb +221 -0
- data/lib/webby/resources/layout.rb +63 -0
- data/lib/webby/resources/page.rb +118 -0
- data/lib/webby/resources/partial.rb +79 -0
- data/lib/webby/resources/resource.rb +160 -0
- data/lib/webby/resources/static.rb +52 -0
- data/lib/webby/stelan/mktemp.rb +135 -0
- data/lib/webby/stelan/paginator.rb +150 -0
- data/lib/webby/stelan/spawner.rb +339 -0
- data/lib/webby/tasks/build.rake +27 -0
- data/lib/webby/tasks/create.rake +22 -0
- data/lib/webby/tasks/deploy.rake +22 -0
- data/lib/webby/tasks/growl.rake +15 -0
- data/lib/webby/tasks/heel.rake +28 -0
- data/lib/webby/tasks/validate.rake +19 -0
- data/spec/core_ext/hash_spec.rb +47 -0
- data/spec/core_ext/string_spec.rb +110 -0
- data/spec/core_ext/time_spec.rb +19 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/webby/apps/generator_spec.rb +111 -0
- data/spec/webby/apps/main_spec.rb +75 -0
- data/spec/webby/helpers/capture_helper_spec.rb +56 -0
- data/spec/webby/resources/file_spec.rb +104 -0
- data/spec/webby/resources_spec.rb +17 -0
- data/tasks/ann.rake +81 -0
- data/tasks/bones.rake +21 -0
- data/tasks/gem.rake +126 -0
- data/tasks/git.rake +41 -0
- data/tasks/manifest.rake +49 -0
- data/tasks/notes.rake +28 -0
- data/tasks/post_load.rake +39 -0
- data/tasks/rdoc.rake +51 -0
- data/tasks/rubyforge.rake +57 -0
- data/tasks/setup.rb +268 -0
- data/tasks/spec.rake +55 -0
- data/tasks/website.rake +38 -0
- metadata +287 -0
@@ -0,0 +1,96 @@
|
|
1
|
+
|
2
|
+
div.CodeRay { }
|
3
|
+
|
4
|
+
span.CodeRay { white-space: pre; border: 0px; padding: 2px }
|
5
|
+
|
6
|
+
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
|
7
|
+
table.CodeRay td { padding: 2px 4px; vertical-align: top }
|
8
|
+
|
9
|
+
.CodeRay .line_numbers, .CodeRay .no {
|
10
|
+
background-color: #def;
|
11
|
+
color: gray;
|
12
|
+
text-align: right;
|
13
|
+
}
|
14
|
+
.CodeRay .line_numbers tt { font-weight: bold }
|
15
|
+
.CodeRay .no { padding: 0px 4px }
|
16
|
+
|
17
|
+
ol.CodeRay { font-size: 10pt }
|
18
|
+
ol.CodeRay li { white-space: pre }
|
19
|
+
|
20
|
+
.CodeRay .debug { color:white ! important; background:blue ! important; }
|
21
|
+
|
22
|
+
.CodeRay .af { color:#00C }
|
23
|
+
.CodeRay .an { color:#007 }
|
24
|
+
.CodeRay .av { color:#700 }
|
25
|
+
.CodeRay .aw { color:#C00 }
|
26
|
+
.CodeRay .bi { color:#509; font-weight:bold }
|
27
|
+
.CodeRay .c { color:#666; }
|
28
|
+
|
29
|
+
.CodeRay .ch { color:#04D }
|
30
|
+
.CodeRay .ch .k { color:#04D }
|
31
|
+
.CodeRay .ch .dl { color:#039 }
|
32
|
+
|
33
|
+
.CodeRay .cl { color:#B06; font-weight:bold }
|
34
|
+
.CodeRay .co { color:#036; font-weight:bold }
|
35
|
+
.CodeRay .cr { color:#0A0 }
|
36
|
+
.CodeRay .cv { color:#369 }
|
37
|
+
.CodeRay .df { color:#099; font-weight:bold }
|
38
|
+
.CodeRay .di { color:#088; font-weight:bold }
|
39
|
+
.CodeRay .dl { color:black }
|
40
|
+
.CodeRay .do { color:#970 }
|
41
|
+
.CodeRay .ds { color:#D42; font-weight:bold }
|
42
|
+
.CodeRay .e { color:#666; font-weight:bold }
|
43
|
+
.CodeRay .en { color:#800; font-weight:bold }
|
44
|
+
.CodeRay .er { color:#F00; background-color:#FAA }
|
45
|
+
.CodeRay .ex { color:#F00; font-weight:bold }
|
46
|
+
.CodeRay .fl { color:#60E; font-weight:bold }
|
47
|
+
.CodeRay .fu { color:#06B; font-weight:bold }
|
48
|
+
.CodeRay .gv { color:#d70; font-weight:bold }
|
49
|
+
.CodeRay .hx { color:#058; font-weight:bold }
|
50
|
+
.CodeRay .i { color:#00D; font-weight:bold }
|
51
|
+
.CodeRay .ic { color:#B44; font-weight:bold }
|
52
|
+
|
53
|
+
.CodeRay .il { background: #eee }
|
54
|
+
.CodeRay .il .il { background: #ddd }
|
55
|
+
.CodeRay .il .il .il { background: #ccc }
|
56
|
+
.CodeRay .il .idl { font-weight: bold; color: #888 }
|
57
|
+
|
58
|
+
.CodeRay .in { color:#B2B; font-weight:bold }
|
59
|
+
.CodeRay .iv { color:#33B }
|
60
|
+
.CodeRay .la { color:#970; font-weight:bold }
|
61
|
+
.CodeRay .lv { color:#963 }
|
62
|
+
.CodeRay .oc { color:#40E; font-weight:bold }
|
63
|
+
.CodeRay .of { color:#000; font-weight:bold }
|
64
|
+
.CodeRay .op { }
|
65
|
+
.CodeRay .pc { color:#038; font-weight:bold }
|
66
|
+
.CodeRay .pd { color:#369; font-weight:bold }
|
67
|
+
.CodeRay .pp { color:#579 }
|
68
|
+
.CodeRay .pt { color:#339; font-weight:bold }
|
69
|
+
.CodeRay .r { color:#080; font-weight:bold }
|
70
|
+
|
71
|
+
.CodeRay .rx { background-color:#fff0ff }
|
72
|
+
.CodeRay .rx .k { color:#808 }
|
73
|
+
.CodeRay .rx .dl { color:#404 }
|
74
|
+
.CodeRay .rx .mod { color:#C2C }
|
75
|
+
.CodeRay .rx .fu { color:#404; font-weight: bold }
|
76
|
+
|
77
|
+
.CodeRay .s { background-color:#fff0f0 }
|
78
|
+
.CodeRay .s .s { background-color:#ffe0e0 }
|
79
|
+
.CodeRay .s .s .s { background-color:#ffd0d0 }
|
80
|
+
.CodeRay .s .k { color:#D20 }
|
81
|
+
.CodeRay .s .dl { color:#710 }
|
82
|
+
|
83
|
+
.CodeRay .sh { background-color:#f0fff0 }
|
84
|
+
.CodeRay .sh .k { color:#2B2 }
|
85
|
+
.CodeRay .sh .dl { color:#161 }
|
86
|
+
|
87
|
+
.CodeRay .sy { color:#A60 }
|
88
|
+
.CodeRay .sy .k { color:#A60 }
|
89
|
+
.CodeRay .sy .dl { color:#630 }
|
90
|
+
|
91
|
+
.CodeRay .ta { color:#070 }
|
92
|
+
.CodeRay .tf { color:#070; font-weight:bold }
|
93
|
+
.CodeRay .ts { color:#D70; font-weight:bold }
|
94
|
+
.CodeRay .ty { color:#339; font-weight:bold }
|
95
|
+
.CodeRay .v { color:#036 }
|
96
|
+
.CodeRay .xt { color:#444 }
|
@@ -0,0 +1,184 @@
|
|
1
|
+
---
|
2
|
+
extension: css
|
3
|
+
filter: sass
|
4
|
+
layout: nil # no layout
|
5
|
+
sass_options:
|
6
|
+
:style: :expanded
|
7
|
+
---
|
8
|
+
!text = #000
|
9
|
+
!border = #CCC
|
10
|
+
!header = #111
|
11
|
+
!link = #125AA7
|
12
|
+
!link_hover = #000
|
13
|
+
!blockquote = #666
|
14
|
+
!code = #000
|
15
|
+
!box_bg = #EEE
|
16
|
+
!highlight = #B2CCFF
|
17
|
+
!quiet = #666
|
18
|
+
!alt = #666
|
19
|
+
|
20
|
+
@import blueprint/screen.css
|
21
|
+
|
22
|
+
body
|
23
|
+
:margin 0
|
24
|
+
:color = !text
|
25
|
+
:font-family Verdana, sans-serif
|
26
|
+
:background white url('background.gif') repeat-x left top
|
27
|
+
|
28
|
+
// Headings
|
29
|
+
// ------------------------------------------------------------------------
|
30
|
+
h1,h2,h3,h4,h5,h6
|
31
|
+
:color = !header
|
32
|
+
:font-weight bold
|
33
|
+
|
34
|
+
h2,h3,h4,h5,h6
|
35
|
+
:border-bottom = 2px solid !highlight
|
36
|
+
|
37
|
+
// Text Elements
|
38
|
+
// ------------------------------------------------------------------------
|
39
|
+
a
|
40
|
+
:color = !link
|
41
|
+
&:hover
|
42
|
+
:color = !link_hover
|
43
|
+
|
44
|
+
blockquote
|
45
|
+
:color = !blockquote
|
46
|
+
|
47
|
+
pre
|
48
|
+
:margin-left 18px
|
49
|
+
:padding 8px 8px 8px 18px
|
50
|
+
:color = !code
|
51
|
+
:font-family monospace, courier
|
52
|
+
:overflow auto
|
53
|
+
// :background = !box_bg
|
54
|
+
// :border = 1px solid !border
|
55
|
+
:border-left = 3px solid !border
|
56
|
+
|
57
|
+
hr
|
58
|
+
:background = !highlight
|
59
|
+
:color = !highlight
|
60
|
+
|
61
|
+
code
|
62
|
+
:background-color = !box_bg
|
63
|
+
|
64
|
+
// Tables
|
65
|
+
// ------------------------------------------------------------------------
|
66
|
+
table
|
67
|
+
:border-top = 1px solid !border
|
68
|
+
:border-left = 1px solid !border
|
69
|
+
th,td
|
70
|
+
:border-bottom = 1px solid !border
|
71
|
+
:border-right = 1px solid !border
|
72
|
+
|
73
|
+
// Default Classes
|
74
|
+
// ------------------------------------------------------------------------
|
75
|
+
p.quiet
|
76
|
+
:color = !quiet
|
77
|
+
.alt
|
78
|
+
:color = !alt
|
79
|
+
|
80
|
+
// My Site Stylings
|
81
|
+
// ------------------------------------------------------------------------
|
82
|
+
#header
|
83
|
+
:margin 0 0 25px 0
|
84
|
+
:padding-top 25px
|
85
|
+
h1
|
86
|
+
:margin 0
|
87
|
+
a
|
88
|
+
:color = !header
|
89
|
+
:text-decoration none
|
90
|
+
p
|
91
|
+
:padding 0
|
92
|
+
:font-size 1.2em
|
93
|
+
:font-style italic
|
94
|
+
:color = !quiet
|
95
|
+
|
96
|
+
#navigation
|
97
|
+
ul
|
98
|
+
:margin-left 0
|
99
|
+
:text-align right
|
100
|
+
:font-size 16px
|
101
|
+
:list-style-type none
|
102
|
+
li
|
103
|
+
:display block
|
104
|
+
:padding-right 5px
|
105
|
+
:background-color = !box_bg
|
106
|
+
a
|
107
|
+
:display block
|
108
|
+
:text-decoration none
|
109
|
+
:margin-right -5px
|
110
|
+
:padding-right 5px
|
111
|
+
:background-color white
|
112
|
+
&:hover
|
113
|
+
:background-color = !highlight
|
114
|
+
|
115
|
+
#footer
|
116
|
+
hr
|
117
|
+
:margin-bottom 18px
|
118
|
+
p
|
119
|
+
:text-align right
|
120
|
+
|
121
|
+
.CodeRay
|
122
|
+
pre
|
123
|
+
:font 12px monospace, courier
|
124
|
+
|
125
|
+
div.toc
|
126
|
+
:float right
|
127
|
+
:padding 8px
|
128
|
+
:margin-left 16px
|
129
|
+
:margin-bottom 16px
|
130
|
+
:background-color = !highlight
|
131
|
+
:border = 1px solid !border
|
132
|
+
ol
|
133
|
+
:margin-bottom 0.5em
|
134
|
+
ol
|
135
|
+
:margin-bottom 0
|
136
|
+
p.title
|
137
|
+
:margin-bottom 0.25em
|
138
|
+
:font-weight bold
|
139
|
+
:font-size 1.2em
|
140
|
+
:text-align center
|
141
|
+
|
142
|
+
ul
|
143
|
+
ul
|
144
|
+
:margin-bottom 0
|
145
|
+
|
146
|
+
span.heading-num
|
147
|
+
:margin-right 10px
|
148
|
+
|
149
|
+
p.fn
|
150
|
+
:color = !blockquote
|
151
|
+
:margin-left 1.5em
|
152
|
+
|
153
|
+
p.span-2
|
154
|
+
:clear left
|
155
|
+
|
156
|
+
pre.option
|
157
|
+
:float left
|
158
|
+
:margin-left 80px
|
159
|
+
:width 500px
|
160
|
+
:clear both
|
161
|
+
|
162
|
+
div.label
|
163
|
+
:float left
|
164
|
+
:clear left
|
165
|
+
:margin-right 10px
|
166
|
+
:width 110px
|
167
|
+
:font-weight bold
|
168
|
+
|
169
|
+
div.desc
|
170
|
+
:float left
|
171
|
+
:margin
|
172
|
+
:right 0
|
173
|
+
:bottom 1.5em
|
174
|
+
:width 510px
|
175
|
+
ul
|
176
|
+
:margin-bottom 0
|
177
|
+
|
178
|
+
p.TODO
|
179
|
+
:color white
|
180
|
+
:background-color red
|
181
|
+
:font-weight bold
|
182
|
+
:padding 5px 0.5em
|
183
|
+
|
184
|
+
// EOF
|
@@ -0,0 +1,137 @@
|
|
1
|
+
pre.twilight .DiffInserted {
|
2
|
+
background-color: #253B22;
|
3
|
+
color: #F8F8F8;
|
4
|
+
}
|
5
|
+
pre.twilight .DiffHeader {
|
6
|
+
background-color: #0E2231;
|
7
|
+
color: #F8F8F8;
|
8
|
+
font-style: italic;
|
9
|
+
}
|
10
|
+
pre.twilight .CssPropertyValue {
|
11
|
+
color: #F9EE98;
|
12
|
+
}
|
13
|
+
pre.twilight .CCCPreprocessorDirective {
|
14
|
+
color: #AFC4DB;
|
15
|
+
}
|
16
|
+
pre.twilight .Constant {
|
17
|
+
color: #CF6A4C;
|
18
|
+
}
|
19
|
+
pre.twilight .DiffChanged {
|
20
|
+
background-color: #4A410D;
|
21
|
+
color: #F8F8F8;
|
22
|
+
}
|
23
|
+
pre.twilight .EmbeddedSource {
|
24
|
+
background-color: #A3A6AD;
|
25
|
+
}
|
26
|
+
pre.twilight .Support {
|
27
|
+
color: #9B859D;
|
28
|
+
}
|
29
|
+
pre.twilight .MarkupList {
|
30
|
+
color: #F9EE98;
|
31
|
+
}
|
32
|
+
pre.twilight .CssConstructorArgument {
|
33
|
+
color: #8F9D6A;
|
34
|
+
}
|
35
|
+
pre.twilight .Storage {
|
36
|
+
color: #F9EE98;
|
37
|
+
}
|
38
|
+
pre.twilight .line-numbers {
|
39
|
+
background-color: inherit;
|
40
|
+
color: #999999;
|
41
|
+
}
|
42
|
+
pre.twilight .CssClass {
|
43
|
+
color: #9B703F;
|
44
|
+
}
|
45
|
+
pre.twilight .StringConstant {
|
46
|
+
color: #DDF2A4;
|
47
|
+
}
|
48
|
+
pre.twilight .CssAtRule {
|
49
|
+
color: #8693A5;
|
50
|
+
}
|
51
|
+
pre.twilight .MetaTagInline {
|
52
|
+
color: #E0C589;
|
53
|
+
}
|
54
|
+
pre.twilight .MarkupHeading {
|
55
|
+
color: #CF6A4C;
|
56
|
+
}
|
57
|
+
pre.twilight .CssTagName {
|
58
|
+
color: #CDA869;
|
59
|
+
}
|
60
|
+
pre.twilight .SupportConstant {
|
61
|
+
color: #CF6A4C;
|
62
|
+
}
|
63
|
+
pre.twilight .DiffDeleted {
|
64
|
+
background-color: #420E09;
|
65
|
+
color: #F8F8F8;
|
66
|
+
}
|
67
|
+
pre.twilight .CCCPreprocessorLine {
|
68
|
+
color: #8996A8;
|
69
|
+
}
|
70
|
+
pre.twilight .StringRegexpSpecial {
|
71
|
+
color: #CF7D34;
|
72
|
+
}
|
73
|
+
pre.twilight .EmbeddedSourceBright {
|
74
|
+
background-color: #9C9EA4;
|
75
|
+
}
|
76
|
+
pre.twilight .InvalidIllegal {
|
77
|
+
background-color: #241A24;
|
78
|
+
color: #F8F8F8;
|
79
|
+
}
|
80
|
+
pre.twilight .SupportFunction {
|
81
|
+
color: #DAD085;
|
82
|
+
}
|
83
|
+
pre.twilight .CssAdditionalConstants {
|
84
|
+
color: #CA7840;
|
85
|
+
}
|
86
|
+
pre.twilight .MetaTagAll {
|
87
|
+
color: #AC885B;
|
88
|
+
}
|
89
|
+
pre.twilight .StringRegexp {
|
90
|
+
color: #E9C062;
|
91
|
+
}
|
92
|
+
pre.twilight .StringEmbeddedSource {
|
93
|
+
color: #DAEFA3;
|
94
|
+
}
|
95
|
+
pre.twilight .EntityInheritedClass {
|
96
|
+
color: #9B5C2E;
|
97
|
+
font-style: italic;
|
98
|
+
}
|
99
|
+
pre.twilight .CssId {
|
100
|
+
color: #8B98AB;
|
101
|
+
}
|
102
|
+
pre.twilight .CssPseudoClass {
|
103
|
+
color: #8F9D6A;
|
104
|
+
}
|
105
|
+
pre.twilight .StringVariable {
|
106
|
+
color: #8A9A95;
|
107
|
+
}
|
108
|
+
pre.twilight .String {
|
109
|
+
color: #8F9D6A;
|
110
|
+
}
|
111
|
+
pre.twilight .Keyword {
|
112
|
+
color: #CDA869;
|
113
|
+
}
|
114
|
+
pre.twilight {
|
115
|
+
background-color: #141414;
|
116
|
+
color: #F8F8F8;
|
117
|
+
}
|
118
|
+
pre.twilight .CssPropertyName {
|
119
|
+
color: #C5AF75;
|
120
|
+
}
|
121
|
+
pre.twilight .DoctypeXmlProcessing {
|
122
|
+
color: #494949;
|
123
|
+
}
|
124
|
+
pre.twilight .InvalidDeprecated {
|
125
|
+
color: #D2A8A1;
|
126
|
+
font-style: italic;
|
127
|
+
}
|
128
|
+
pre.twilight .Variable {
|
129
|
+
color: #7587A6;
|
130
|
+
}
|
131
|
+
pre.twilight .Entity {
|
132
|
+
color: #9B703F;
|
133
|
+
}
|
134
|
+
pre.twilight .Comment {
|
135
|
+
color: #5F5A60;
|
136
|
+
font-style: italic;
|
137
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
title: Webby
|
3
|
+
created_at: 2007-08-21 11:25:06.000000 -06:00
|
4
|
+
filter: textile
|
5
|
+
---
|
6
|
+
*Webby* is a fantastic little website management system. It would be called a _content management system_ if it were a bigger kid. But, it's just a runt with a special knack for transforming text. And that's really all it does - manages the legwork of turning text into something else, an *ASCII Alchemist* if you will.
|
7
|
+
|
8
|
+
Webby works by combining the contents of a *page* with a *layout* to produce HTML. The layout contains everything common to all the pages - HTML headers, navigation menu, footer, etc. - and the page contains just the information for that page. You can use your favorite markup language to write your pages; Webby supports quite a few.
|
9
|
+
|
10
|
+
Install Webby and try it out!
|
11
|
+
|
12
|
+
pre. sudo gem install webby
|
13
|
+
|
14
|
+
h2. Features
|
15
|
+
|
16
|
+
* choose your templating language: *ERB*, *Textile*, *Markdown*, *HAML*, *SASS*
|
17
|
+
* support for "UltraViolet":http://ultraviolet.rubyforge.org/ and "CodeRay":http://coderay.rubychan.de/ syntax highlighting
|
18
|
+
* embeddable DOT scripts for "Graphviz":http://www.graphviz.org/ graphs
|
19
|
+
* "LaTeX":http://www.latex-project.org/ snippets for mathematical formulas
|
20
|
+
* automatically clean up generated content using "Tidy":http://tidy.sourceforge.net/
|
21
|
+
* quick and speedy - only builds pages that have changed
|
22
|
+
* deploy anywhere - it's just HTML, no special server stuff required
|
23
|
+
* happy "rake":http://docs.rubyrake.org/ tasks for deploying your website to a server
|
24
|
+
* build new pages from templates for quicker blog posts and news items
|
25
|
+
|
26
|
+
h2. But Wait! There's More!
|
27
|
+
|
28
|
+
Webby has a great _autobuild_ feature that continuously generates HTML whenever the *pages* or *layouts* change. The HTML is served up via "heel":http://copiousfreetime.rubyforge.org/heel/, a static file webserver based on mongrel. Whenever you change a page, you can immediately see those changes without having to run any commands.
|
29
|
+
|
30
|
+
pre. $ webby autobuild
|
31
|
+
[10:21:26] INFO: starting autobuild (Ctrl-C to stop)
|
32
|
+
[10:21:26] INFO: creating output/index.html
|
33
|
+
[10:22:57] INFO: creating output/index.html
|
34
|
+
|
35
|
+
Webby is not limited to producing HTML. By no means! Do you ever get tired of repeating the same color code *#D3C4A2* in your CSS files? Webby can help. Need some customized JavaScript for your website. Webby can help. Anytime you find yourself repeating the same bit of text over and over, then you should be using Webby.
|
36
|
+
|
37
|
+
Read the "tutorial":/tutorial section for a quick introduction to Webby, and enjoy the wonders of *ASCII Alchemy*.
|