webby 0.9.3-x86-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +206 -0
- data/Manifest.txt +228 -0
- data/README.txt +92 -0
- data/Rakefile +49 -0
- data/bin/webby +41 -0
- data/bin/webby-gen +41 -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 +25 -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/communicate/index.txt +28 -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 +196 -0
- data/examples/webby/content/css/uv/twilight.css +137 -0
- data/examples/webby/content/index.txt +37 -0
- data/examples/webby/content/learn/index.txt +28 -0
- data/examples/webby/content/reference/index.txt +204 -0
- data/examples/webby/content/release-notes/index.txt +21 -0
- data/examples/webby/content/release-notes/rel-0-9-0/index.txt +74 -0
- data/examples/webby/content/release-notes/rel-0-9-1/index.txt +93 -0
- data/examples/webby/content/release-notes/rel-0-9-2/index.txt +14 -0
- data/examples/webby/content/release-notes/rel-0-9-3/index.txt +49 -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 +97 -0
- data/examples/webby/content/tutorial/index.txt +135 -0
- data/examples/webby/content/user-manual/index.txt +419 -0
- data/examples/webby/layouts/default.txt +49 -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/lib/webby.rb +221 -0
- data/lib/webby/apps.rb +12 -0
- data/lib/webby/apps/generator.rb +276 -0
- data/lib/webby/apps/main.rb +255 -0
- data/lib/webby/auto_builder.rb +157 -0
- data/lib/webby/builder.rb +180 -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 +26 -0
- data/lib/webby/core_ext/string.rb +163 -0
- data/lib/webby/core_ext/time.rb +9 -0
- data/lib/webby/filters.rb +83 -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 +309 -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/filters/wiki_words.rb +14 -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 +241 -0
- data/lib/webby/journal.rb +126 -0
- data/lib/webby/link_validator.rb +152 -0
- data/lib/webby/renderer.rb +386 -0
- data/lib/webby/resources.rb +136 -0
- data/lib/webby/resources/db.rb +251 -0
- data/lib/webby/resources/layout.rb +54 -0
- data/lib/webby/resources/meta_file.rb +211 -0
- data/lib/webby/resources/page.rb +81 -0
- data/lib/webby/resources/partial.rb +85 -0
- data/lib/webby/resources/resource.rb +201 -0
- data/lib/webby/resources/static.rb +36 -0
- data/lib/webby/stelan/mktemp.rb +135 -0
- data/lib/webby/stelan/paginator.rb +165 -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 +16 -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/data/hooligans/bad_meta_data_1.txt +34 -0
- data/spec/data/hooligans/bad_meta_data_2.txt +34 -0
- data/spec/data/outline/basic.out +81 -0
- data/spec/data/outline/basic.txt +25 -0
- data/spec/data/outline/no_clobber.out +86 -0
- data/spec/data/outline/numbering.out +81 -0
- data/spec/data/outline/numbering_only.out +21 -0
- data/spec/data/outline/toc_range_1.out +66 -0
- data/spec/data/outline/toc_range_2.out +55 -0
- data/spec/data/outline/toc_style.out +81 -0
- data/spec/data/site/Sitefile +9 -0
- data/spec/data/site/content/_partial.txt +10 -0
- data/spec/data/site/content/css/coderay.css +111 -0
- data/spec/data/site/content/css/site.css +67 -0
- data/spec/data/site/content/css/tumblog.css +308 -0
- data/spec/data/site/content/images/tumblog/permalink.gif +0 -0
- data/spec/data/site/content/images/tumblog/rss.gif +0 -0
- data/spec/data/site/content/index.txt +19 -0
- data/spec/data/site/content/photos.txt +21 -0
- data/spec/data/site/content/tumblog/200806/the-noble-chicken/index.txt +12 -0
- data/spec/data/site/content/tumblog/200807/historical-perspectives-on-the-classic-chicken-joke/index.txt +12 -0
- data/spec/data/site/content/tumblog/200807/mad-city-chickens/index.txt +10 -0
- data/spec/data/site/content/tumblog/200807/the-wisdom-of-the-dutch/index.txt +11 -0
- data/spec/data/site/content/tumblog/200807/up-a-tree/index.txt +13 -0
- data/spec/data/site/content/tumblog/index.txt +37 -0
- data/spec/data/site/content/tumblog/rss.txt +37 -0
- data/spec/data/site/layouts/default.txt +58 -0
- data/spec/data/site/layouts/tumblog/default.txt +44 -0
- data/spec/data/site/layouts/tumblog/post.txt +15 -0
- data/spec/data/site/lib/breadcrumbs.rb +28 -0
- data/spec/data/site/lib/tumblog_helper.rb +32 -0
- data/spec/data/site/tasks/tumblog.rake +30 -0
- data/spec/data/site/templates/_partial.erb +10 -0
- data/spec/data/site/templates/atom_feed.erb +40 -0
- data/spec/data/site/templates/page.erb +18 -0
- data/spec/data/site/templates/presentation.erb +40 -0
- data/spec/data/site/templates/tumblog/conversation.erb +12 -0
- data/spec/data/site/templates/tumblog/link.erb +10 -0
- data/spec/data/site/templates/tumblog/photo.erb +13 -0
- data/spec/data/site/templates/tumblog/post.erb +12 -0
- data/spec/data/site/templates/tumblog/quote.erb +11 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +51 -0
- data/spec/webby/apps/generator_spec.rb +116 -0
- data/spec/webby/apps/main_spec.rb +88 -0
- data/spec/webby/filters/basepath_spec.rb +167 -0
- data/spec/webby/filters/outline_spec.rb +92 -0
- data/spec/webby/filters/textile_spec.rb +20 -0
- data/spec/webby/helpers/capture_helper_spec.rb +56 -0
- data/spec/webby/renderer_spec.rb +139 -0
- data/spec/webby/resources/db_spec.rb +250 -0
- data/spec/webby/resources/layout_spec.rb +83 -0
- data/spec/webby/resources/meta_file_spec.rb +171 -0
- data/spec/webby/resources/page_spec.rb +111 -0
- data/spec/webby/resources/partial_spec.rb +58 -0
- data/spec/webby/resources/resource_spec.rb +219 -0
- data/spec/webby/resources/static_spec.rb +49 -0
- data/spec/webby/resources_spec.rb +69 -0
- data/tasks/ann.rake +81 -0
- data/tasks/bones.rake +21 -0
- data/tasks/gem.rake +187 -0
- data/tasks/git.rake +41 -0
- data/tasks/manifest.rake +48 -0
- data/tasks/notes.rake +28 -0
- data/tasks/post_load.rake +39 -0
- data/tasks/rdoc.rake +51 -0
- data/tasks/rubyforge.rake +55 -0
- data/tasks/setup.rb +268 -0
- data/tasks/spec.rake +55 -0
- data/tasks/website.rake +38 -0
- metadata +365 -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,196 @@
|
|
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
|
+
.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 20px
|
85
|
+
a
|
86
|
+
:color = !header
|
87
|
+
:text-decoration none
|
88
|
+
h1
|
89
|
+
:margin 0
|
90
|
+
:font-size 2.0em
|
91
|
+
:letter-spacing 0.25em
|
92
|
+
p
|
93
|
+
:font-style italic
|
94
|
+
:font-weight normal
|
95
|
+
:color = !quiet
|
96
|
+
ul
|
97
|
+
:float right
|
98
|
+
:margin 0
|
99
|
+
:padding 0
|
100
|
+
:text-align right
|
101
|
+
:font-size 1.0em
|
102
|
+
:list-style-type circle
|
103
|
+
li
|
104
|
+
:display inline
|
105
|
+
:margin 0 0 0 2.5em
|
106
|
+
a
|
107
|
+
:color = !quiet
|
108
|
+
:font-weight bold
|
109
|
+
&:hover
|
110
|
+
:color = !header
|
111
|
+
|
112
|
+
#footer
|
113
|
+
:margin-top 18px
|
114
|
+
:font-size 0.8em
|
115
|
+
hr
|
116
|
+
:margin-bottom 18px
|
117
|
+
p
|
118
|
+
:text-align center
|
119
|
+
|
120
|
+
.CodeRay
|
121
|
+
pre
|
122
|
+
:font 12px monospace, courier
|
123
|
+
|
124
|
+
div.toc
|
125
|
+
:float right
|
126
|
+
:padding 8px
|
127
|
+
:margin-left 16px
|
128
|
+
:margin-bottom 16px
|
129
|
+
:background-color = !highlight
|
130
|
+
:border = 1px solid !border
|
131
|
+
ol
|
132
|
+
:margin-bottom 0.5em
|
133
|
+
ol
|
134
|
+
:margin-bottom 0
|
135
|
+
p.title
|
136
|
+
:margin-bottom 0.25em
|
137
|
+
:font-weight bold
|
138
|
+
:font-size 1.2em
|
139
|
+
:text-align center
|
140
|
+
|
141
|
+
ul
|
142
|
+
ul
|
143
|
+
:margin-bottom 0
|
144
|
+
|
145
|
+
span.heading-num
|
146
|
+
:margin-right 10px
|
147
|
+
|
148
|
+
p.fn
|
149
|
+
:color = !blockquote
|
150
|
+
:margin-left 1.5em
|
151
|
+
|
152
|
+
p.span-2
|
153
|
+
:clear left
|
154
|
+
|
155
|
+
pre.option
|
156
|
+
:float left
|
157
|
+
:margin-left 80px
|
158
|
+
:width 500px
|
159
|
+
:clear both
|
160
|
+
|
161
|
+
div.label
|
162
|
+
:float left
|
163
|
+
:clear left
|
164
|
+
:margin-right 10px
|
165
|
+
:width 110px
|
166
|
+
:font-weight bold
|
167
|
+
|
168
|
+
div.desc
|
169
|
+
:float left
|
170
|
+
:margin
|
171
|
+
:right 0
|
172
|
+
:bottom 1.5em
|
173
|
+
:width 510px
|
174
|
+
ul
|
175
|
+
:margin-bottom 0
|
176
|
+
|
177
|
+
p.TODO
|
178
|
+
:color white
|
179
|
+
:background-color red
|
180
|
+
:font-weight bold
|
181
|
+
:padding 5px 0.5em
|
182
|
+
|
183
|
+
p.pull
|
184
|
+
:float left
|
185
|
+
:clear left
|
186
|
+
:margin 0 10px 0 -120px
|
187
|
+
:width 110px
|
188
|
+
:text-align right
|
189
|
+
|
190
|
+
p.pulltext
|
191
|
+
:float left
|
192
|
+
:clear right
|
193
|
+
:margin-right 10px
|
194
|
+
:width 670px
|
195
|
+
|
196
|
+
// 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*.
|