webby 0.9.3-x86-mswin32
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 +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,86 @@
|
|
1
|
+
<div>
|
2
|
+
<p>This is the title</p>
|
3
|
+
<ol>
|
4
|
+
<li>
|
5
|
+
<a href="#h1">First Header</a>
|
6
|
+
<ol>
|
7
|
+
<li>
|
8
|
+
<a href="#h1_1">Second Header</a>
|
9
|
+
</li>
|
10
|
+
<li>
|
11
|
+
<a href="#h1_2">Third Header</a>
|
12
|
+
</li>
|
13
|
+
</ol>
|
14
|
+
</li>
|
15
|
+
<li>
|
16
|
+
<a href="#h2">Fourth Header</a>
|
17
|
+
</li>
|
18
|
+
<li>
|
19
|
+
<a href="#h3">Fifth Header</a>
|
20
|
+
<ol>
|
21
|
+
<li>
|
22
|
+
<a href="#h3_1">Sixth Header</a>
|
23
|
+
<ol>
|
24
|
+
<li>
|
25
|
+
<a href="#h3_1_1">Seventh Header</a>
|
26
|
+
<ol>
|
27
|
+
<li>
|
28
|
+
<a href="#h3_1_1_1">Eighth Header</a>
|
29
|
+
<ol>
|
30
|
+
<li>
|
31
|
+
<a href="#h3_1_1_1_1">Ninth Header</a>
|
32
|
+
<ol>
|
33
|
+
<li>
|
34
|
+
<a href="#h3_1_1_1_1_1">Tenth Header</a>
|
35
|
+
</li>
|
36
|
+
</ol>
|
37
|
+
</li>
|
38
|
+
</ol>
|
39
|
+
</li>
|
40
|
+
</ol>
|
41
|
+
</li>
|
42
|
+
</ol>
|
43
|
+
</li>
|
44
|
+
<li>
|
45
|
+
<a href="#h3_2">Eleventh Header</a>
|
46
|
+
<ol>
|
47
|
+
<li>
|
48
|
+
<a href="#h3_2_1">Twelfth Header</a>
|
49
|
+
</li>
|
50
|
+
<li>
|
51
|
+
<a href="#h3_2_2">Thirteenth Header</a>
|
52
|
+
</li>
|
53
|
+
</ol>
|
54
|
+
</li>
|
55
|
+
</ol>
|
56
|
+
</li>
|
57
|
+
<li>
|
58
|
+
<a href="#h4">Fourteenth Header</a>
|
59
|
+
<ol>
|
60
|
+
<li>
|
61
|
+
<a href="#h4_1">Fifteenth Header</a>
|
62
|
+
</li>
|
63
|
+
</ol></li></ol>
|
64
|
+
<p>And some sampler text</p>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
|
68
|
+
<h1 id="h1"><span class="heading-num">1</span>First Header</h1>
|
69
|
+
<h2 id="h1_1"><span class="heading-num">1.1</span>Second Header</h2>
|
70
|
+
<h2 id="h1_2"><span class="heading-num">1.2</span>Third Header</h2>
|
71
|
+
|
72
|
+
<h1 id="h2"><span class="heading-num">2</span>Fourth Header</h1>
|
73
|
+
|
74
|
+
<h1 id="h3"><span class="heading-num">3</span>Fifth Header</h1>
|
75
|
+
<h2 id="h3_1"><span class="heading-num">3.1</span>Sixth Header</h2>
|
76
|
+
<h3 id="h3_1_1"><span class="heading-num">3.1.1</span>Seventh Header</h3>
|
77
|
+
<h4 id="h3_1_1_1"><span class="heading-num">3.1.1.1</span>Eighth Header</h4>
|
78
|
+
<h5 id="h3_1_1_1_1"><span class="heading-num">3.1.1.1.1</span>Ninth Header</h5>
|
79
|
+
<h6 id="h3_1_1_1_1_1"><span class="heading-num">3.1.1.1.1.1</span>Tenth Header</h6>
|
80
|
+
|
81
|
+
<h2 id="h3_2"><span class="heading-num">3.2</span>Eleventh Header</h2>
|
82
|
+
<h3 id="h3_2_1"><span class="heading-num">3.2.1</span>Twelfth Header</h3>
|
83
|
+
<h3 id="h3_2_2"><span class="heading-num">3.2.2</span>Thirteenth Header</h3>
|
84
|
+
|
85
|
+
<h1 id="h4"><span class="heading-num">4</span>Fourteenth Header</h1>
|
86
|
+
<h2 id="h4_1"><span class="heading-num">4.1</span>Fifteenth Header</h2>
|
@@ -0,0 +1,81 @@
|
|
1
|
+
<ol start="3">
|
2
|
+
<li>
|
3
|
+
<a href="#h3">First Header</a>
|
4
|
+
<ol>
|
5
|
+
<li>
|
6
|
+
<a href="#h3_1">Second Header</a>
|
7
|
+
</li>
|
8
|
+
<li>
|
9
|
+
<a href="#h3_2">Third Header</a>
|
10
|
+
</li>
|
11
|
+
</ol>
|
12
|
+
</li>
|
13
|
+
<li>
|
14
|
+
<a href="#h4">Fourth Header</a>
|
15
|
+
</li>
|
16
|
+
<li>
|
17
|
+
<a href="#h5">Fifth Header</a>
|
18
|
+
<ol>
|
19
|
+
<li>
|
20
|
+
<a href="#h5_1">Sixth Header</a>
|
21
|
+
<ol>
|
22
|
+
<li>
|
23
|
+
<a href="#h5_1_1">Seventh Header</a>
|
24
|
+
<ol>
|
25
|
+
<li>
|
26
|
+
<a href="#h5_1_1_1">Eighth Header</a>
|
27
|
+
<ol>
|
28
|
+
<li>
|
29
|
+
<a href="#h5_1_1_1_1">Ninth Header</a>
|
30
|
+
<ol>
|
31
|
+
<li>
|
32
|
+
<a href="#h5_1_1_1_1_1">Tenth Header</a>
|
33
|
+
</li>
|
34
|
+
</ol>
|
35
|
+
</li>
|
36
|
+
</ol>
|
37
|
+
</li>
|
38
|
+
</ol>
|
39
|
+
</li>
|
40
|
+
</ol>
|
41
|
+
</li>
|
42
|
+
<li>
|
43
|
+
<a href="#h5_2">Eleventh Header</a>
|
44
|
+
<ol>
|
45
|
+
<li>
|
46
|
+
<a href="#h5_2_1">Twelfth Header</a>
|
47
|
+
</li>
|
48
|
+
<li>
|
49
|
+
<a href="#h5_2_2">Thirteenth Header</a>
|
50
|
+
</li>
|
51
|
+
</ol>
|
52
|
+
</li>
|
53
|
+
</ol>
|
54
|
+
</li>
|
55
|
+
<li>
|
56
|
+
<a href="#h6">Fourteenth Header</a>
|
57
|
+
<ol>
|
58
|
+
<li>
|
59
|
+
<a href="#h6_1">Fifteenth Header</a>
|
60
|
+
</li>
|
61
|
+
</ol></li></ol>
|
62
|
+
|
63
|
+
<h1 id="h3"><span class="heading-num">3</span>First Header</h1>
|
64
|
+
<h2 id="h3_1"><span class="heading-num">3.1</span>Second Header</h2>
|
65
|
+
<h2 id="h3_2"><span class="heading-num">3.2</span>Third Header</h2>
|
66
|
+
|
67
|
+
<h1 id="h4"><span class="heading-num">4</span>Fourth Header</h1>
|
68
|
+
|
69
|
+
<h1 id="h5"><span class="heading-num">5</span>Fifth Header</h1>
|
70
|
+
<h2 id="h5_1"><span class="heading-num">5.1</span>Sixth Header</h2>
|
71
|
+
<h3 id="h5_1_1"><span class="heading-num">5.1.1</span>Seventh Header</h3>
|
72
|
+
<h4 id="h5_1_1_1"><span class="heading-num">5.1.1.1</span>Eighth Header</h4>
|
73
|
+
<h5 id="h5_1_1_1_1"><span class="heading-num">5.1.1.1.1</span>Ninth Header</h5>
|
74
|
+
<h6 id="h5_1_1_1_1_1"><span class="heading-num">5.1.1.1.1.1</span>Tenth Header</h6>
|
75
|
+
|
76
|
+
<h2 id="h5_2"><span class="heading-num">5.2</span>Eleventh Header</h2>
|
77
|
+
<h3 id="h5_2_1"><span class="heading-num">5.2.1</span>Twelfth Header</h3>
|
78
|
+
<h3 id="h5_2_2"><span class="heading-num">5.2.2</span>Thirteenth Header</h3>
|
79
|
+
|
80
|
+
<h1 id="h6"><span class="heading-num">6</span>Fourteenth Header</h1>
|
81
|
+
<h2 id="h6_1"><span class="heading-num">6.1</span>Fifteenth Header</h2>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
<h1 id="h1"><span class="heading-num">1</span>First Header</h1>
|
4
|
+
<h2 id="h1_1"><span class="heading-num">1.1</span>Second Header</h2>
|
5
|
+
<h2 id="h1_2"><span class="heading-num">1.2</span>Third Header</h2>
|
6
|
+
|
7
|
+
<h1 id="h2"><span class="heading-num">2</span>Fourth Header</h1>
|
8
|
+
|
9
|
+
<h1 id="h3"><span class="heading-num">3</span>Fifth Header</h1>
|
10
|
+
<h2 id="h3_1"><span class="heading-num">3.1</span>Sixth Header</h2>
|
11
|
+
<h3 id="h3_1_1"><span class="heading-num">3.1.1</span>Seventh Header</h3>
|
12
|
+
<h4 id="h3_1_1_1"><span class="heading-num">3.1.1.1</span>Eighth Header</h4>
|
13
|
+
<h5 id="h3_1_1_1_1"><span class="heading-num">3.1.1.1.1</span>Ninth Header</h5>
|
14
|
+
<h6 id="h3_1_1_1_1_1"><span class="heading-num">3.1.1.1.1.1</span>Tenth Header</h6>
|
15
|
+
|
16
|
+
<h2 id="h3_2"><span class="heading-num">3.2</span>Eleventh Header</h2>
|
17
|
+
<h3 id="h3_2_1"><span class="heading-num">3.2.1</span>Twelfth Header</h3>
|
18
|
+
<h3 id="h3_2_2"><span class="heading-num">3.2.2</span>Thirteenth Header</h3>
|
19
|
+
|
20
|
+
<h1 id="h4"><span class="heading-num">4</span>Fourteenth Header</h1>
|
21
|
+
<h2 id="h4_1"><span class="heading-num">4.1</span>Fifteenth Header</h2>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<ol>
|
2
|
+
<li>
|
3
|
+
<a href="#h1">First Header</a>
|
4
|
+
<ol>
|
5
|
+
<li>
|
6
|
+
<a href="#h1_1">Second Header</a>
|
7
|
+
</li>
|
8
|
+
<li>
|
9
|
+
<a href="#h1_2">Third Header</a>
|
10
|
+
</li>
|
11
|
+
</ol>
|
12
|
+
</li>
|
13
|
+
<li>
|
14
|
+
<a href="#h2">Fourth Header</a>
|
15
|
+
</li>
|
16
|
+
<li>
|
17
|
+
<a href="#h3">Fifth Header</a>
|
18
|
+
<ol>
|
19
|
+
<li>
|
20
|
+
<a href="#h3_1">Sixth Header</a>
|
21
|
+
<ol>
|
22
|
+
<li>
|
23
|
+
<a href="#h3_1_1">Seventh Header</a>
|
24
|
+
</li>
|
25
|
+
</ol>
|
26
|
+
</li>
|
27
|
+
<li>
|
28
|
+
<a href="#h3_2">Eleventh Header</a>
|
29
|
+
<ol>
|
30
|
+
<li>
|
31
|
+
<a href="#h3_2_1">Twelfth Header</a>
|
32
|
+
</li>
|
33
|
+
<li>
|
34
|
+
<a href="#h3_2_2">Thirteenth Header</a>
|
35
|
+
</li>
|
36
|
+
</ol>
|
37
|
+
</li>
|
38
|
+
</ol>
|
39
|
+
</li>
|
40
|
+
<li>
|
41
|
+
<a href="#h4">Fourteenth Header</a>
|
42
|
+
<ol>
|
43
|
+
<li>
|
44
|
+
<a href="#h4_1">Fifteenth Header</a>
|
45
|
+
</li>
|
46
|
+
</ol></li></ol>
|
47
|
+
|
48
|
+
<h1 id="h1"><span class="heading-num">1</span>First Header</h1>
|
49
|
+
<h2 id="h1_1"><span class="heading-num">1.1</span>Second Header</h2>
|
50
|
+
<h2 id="h1_2"><span class="heading-num">1.2</span>Third Header</h2>
|
51
|
+
|
52
|
+
<h1 id="h2"><span class="heading-num">2</span>Fourth Header</h1>
|
53
|
+
|
54
|
+
<h1 id="h3"><span class="heading-num">3</span>Fifth Header</h1>
|
55
|
+
<h2 id="h3_1"><span class="heading-num">3.1</span>Sixth Header</h2>
|
56
|
+
<h3 id="h3_1_1"><span class="heading-num">3.1.1</span>Seventh Header</h3>
|
57
|
+
<h4>Eighth Header</h4>
|
58
|
+
<h5>Ninth Header</h5>
|
59
|
+
<h6>Tenth Header</h6>
|
60
|
+
|
61
|
+
<h2 id="h3_2"><span class="heading-num">3.2</span>Eleventh Header</h2>
|
62
|
+
<h3 id="h3_2_1"><span class="heading-num">3.2.1</span>Twelfth Header</h3>
|
63
|
+
<h3 id="h3_2_2"><span class="heading-num">3.2.2</span>Thirteenth Header</h3>
|
64
|
+
|
65
|
+
<h1 id="h4"><span class="heading-num">4</span>Fourteenth Header</h1>
|
66
|
+
<h2 id="h4_1"><span class="heading-num">4.1</span>Fifteenth Header</h2>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
<ol>
|
2
|
+
<li>
|
3
|
+
<a href="#h1">Second Header</a>
|
4
|
+
</li>
|
5
|
+
<li>
|
6
|
+
<a href="#h2">Third Header</a>
|
7
|
+
</li>
|
8
|
+
<li>
|
9
|
+
<a href="#h3">Sixth Header</a>
|
10
|
+
<ol>
|
11
|
+
<li>
|
12
|
+
<a href="#h3_1">Seventh Header</a>
|
13
|
+
<ol>
|
14
|
+
<li>
|
15
|
+
<a href="#h3_1_1">Eighth Header</a>
|
16
|
+
</li>
|
17
|
+
</ol>
|
18
|
+
</li>
|
19
|
+
</ol>
|
20
|
+
</li>
|
21
|
+
<li>
|
22
|
+
<a href="#h4">Eleventh Header</a>
|
23
|
+
<ol>
|
24
|
+
<li>
|
25
|
+
<a href="#h4_1">Twelfth Header</a>
|
26
|
+
</li>
|
27
|
+
<li>
|
28
|
+
<a href="#h4_2">Thirteenth Header</a>
|
29
|
+
</li>
|
30
|
+
</ol>
|
31
|
+
</li>
|
32
|
+
<li>
|
33
|
+
<a href="#h5">Fifteenth Header</a>
|
34
|
+
</li>
|
35
|
+
</ol>
|
36
|
+
|
37
|
+
<h1>First Header</h1>
|
38
|
+
<h2 id="h1"><span class="heading-num">1</span>Second Header</h2>
|
39
|
+
<h2 id="h2"><span class="heading-num">2</span>Third Header</h2>
|
40
|
+
|
41
|
+
<h1>Fourth Header</h1>
|
42
|
+
|
43
|
+
<h1>Fifth Header</h1>
|
44
|
+
<h2 id="h3"><span class="heading-num">3</span>Sixth Header</h2>
|
45
|
+
<h3 id="h3_1"><span class="heading-num">3.1</span>Seventh Header</h3>
|
46
|
+
<h4 id="h3_1_1"><span class="heading-num">3.1.1</span>Eighth Header</h4>
|
47
|
+
<h5>Ninth Header</h5>
|
48
|
+
<h6>Tenth Header</h6>
|
49
|
+
|
50
|
+
<h2 id="h4"><span class="heading-num">4</span>Eleventh Header</h2>
|
51
|
+
<h3 id="h4_1"><span class="heading-num">4.1</span>Twelfth Header</h3>
|
52
|
+
<h3 id="h4_2"><span class="heading-num">4.2</span>Thirteenth Header</h3>
|
53
|
+
|
54
|
+
<h1>Fourteenth Header</h1>
|
55
|
+
<h2 id="h5"><span class="heading-num">5</span>Fifteenth Header</h2>
|
@@ -0,0 +1,81 @@
|
|
1
|
+
<ul>
|
2
|
+
<li>
|
3
|
+
<a href="#h1">First Header</a>
|
4
|
+
<ul>
|
5
|
+
<li>
|
6
|
+
<a href="#h1_1">Second Header</a>
|
7
|
+
</li>
|
8
|
+
<li>
|
9
|
+
<a href="#h1_2">Third Header</a>
|
10
|
+
</li>
|
11
|
+
</ul>
|
12
|
+
</li>
|
13
|
+
<li>
|
14
|
+
<a href="#h2">Fourth Header</a>
|
15
|
+
</li>
|
16
|
+
<li>
|
17
|
+
<a href="#h3">Fifth Header</a>
|
18
|
+
<ul>
|
19
|
+
<li>
|
20
|
+
<a href="#h3_1">Sixth Header</a>
|
21
|
+
<ul>
|
22
|
+
<li>
|
23
|
+
<a href="#h3_1_1">Seventh Header</a>
|
24
|
+
<ul>
|
25
|
+
<li>
|
26
|
+
<a href="#h3_1_1_1">Eighth Header</a>
|
27
|
+
<ul>
|
28
|
+
<li>
|
29
|
+
<a href="#h3_1_1_1_1">Ninth Header</a>
|
30
|
+
<ul>
|
31
|
+
<li>
|
32
|
+
<a href="#h3_1_1_1_1_1">Tenth Header</a>
|
33
|
+
</li>
|
34
|
+
</ul>
|
35
|
+
</li>
|
36
|
+
</ul>
|
37
|
+
</li>
|
38
|
+
</ul>
|
39
|
+
</li>
|
40
|
+
</ul>
|
41
|
+
</li>
|
42
|
+
<li>
|
43
|
+
<a href="#h3_2">Eleventh Header</a>
|
44
|
+
<ul>
|
45
|
+
<li>
|
46
|
+
<a href="#h3_2_1">Twelfth Header</a>
|
47
|
+
</li>
|
48
|
+
<li>
|
49
|
+
<a href="#h3_2_2">Thirteenth Header</a>
|
50
|
+
</li>
|
51
|
+
</ul>
|
52
|
+
</li>
|
53
|
+
</ul>
|
54
|
+
</li>
|
55
|
+
<li>
|
56
|
+
<a href="#h4">Fourteenth Header</a>
|
57
|
+
<ul>
|
58
|
+
<li>
|
59
|
+
<a href="#h4_1">Fifteenth Header</a>
|
60
|
+
</li>
|
61
|
+
</ul></li></ul>
|
62
|
+
|
63
|
+
<h1 id="h1"><span class="heading-num">1</span>First Header</h1>
|
64
|
+
<h2 id="h1_1"><span class="heading-num">1.1</span>Second Header</h2>
|
65
|
+
<h2 id="h1_2"><span class="heading-num">1.2</span>Third Header</h2>
|
66
|
+
|
67
|
+
<h1 id="h2"><span class="heading-num">2</span>Fourth Header</h1>
|
68
|
+
|
69
|
+
<h1 id="h3"><span class="heading-num">3</span>Fifth Header</h1>
|
70
|
+
<h2 id="h3_1"><span class="heading-num">3.1</span>Sixth Header</h2>
|
71
|
+
<h3 id="h3_1_1"><span class="heading-num">3.1.1</span>Seventh Header</h3>
|
72
|
+
<h4 id="h3_1_1_1"><span class="heading-num">3.1.1.1</span>Eighth Header</h4>
|
73
|
+
<h5 id="h3_1_1_1_1"><span class="heading-num">3.1.1.1.1</span>Ninth Header</h5>
|
74
|
+
<h6 id="h3_1_1_1_1_1"><span class="heading-num">3.1.1.1.1.1</span>Tenth Header</h6>
|
75
|
+
|
76
|
+
<h2 id="h3_2"><span class="heading-num">3.2</span>Eleventh Header</h2>
|
77
|
+
<h3 id="h3_2_1"><span class="heading-num">3.2.1</span>Twelfth Header</h3>
|
78
|
+
<h3 id="h3_2_2"><span class="heading-num">3.2.2</span>Thirteenth Header</h3>
|
79
|
+
|
80
|
+
<h1 id="h4"><span class="heading-num">4</span>Fourteenth Header</h1>
|
81
|
+
<h2 id="h4_1"><span class="heading-num">4.1</span>Fifteenth Header</h2>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
filter: erb
|
3
|
+
---
|
4
|
+
A partial has access to the page from which it was called. The title below will be the title of the page in which this partial is rendered.
|
5
|
+
|
6
|
+
<%%= h(@page.title) %>
|
7
|
+
|
8
|
+
A partial does not have access to it's own meta-data. The partial meta-data is used primarily for finding partials or for use in other pages. The filter(s) specified in the meta-data will be applied to the partial text when it is rendered.
|
9
|
+
|
10
|
+
A partial does not require meta-data at all. They can contain just text.
|
@@ -0,0 +1,111 @@
|
|
1
|
+
.CodeRay {
|
2
|
+
padding: 0.5em;
|
3
|
+
margin-bottom: 1.3em;
|
4
|
+
background-color: #eee;
|
5
|
+
border: 1px solid #aaa;
|
6
|
+
font: 1.1em Monaco, 'Courier New', 'Terminal', monospace;
|
7
|
+
color: #100;
|
8
|
+
}
|
9
|
+
.CodeRay pre {
|
10
|
+
padding: 0px;
|
11
|
+
margin: 0px;
|
12
|
+
overflow: auto;
|
13
|
+
background-color: transparent;
|
14
|
+
border: none;
|
15
|
+
}
|
16
|
+
|
17
|
+
div.CodeRay { }
|
18
|
+
|
19
|
+
span.CodeRay { white-space: pre; border: 0px; padding: 2px }
|
20
|
+
|
21
|
+
table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
|
22
|
+
table.CodeRay td { padding: 2px 4px; vertical-align: top }
|
23
|
+
|
24
|
+
.CodeRay .line_numbers, .CodeRay .no {
|
25
|
+
background-color: #def;
|
26
|
+
color: gray;
|
27
|
+
text-align: right;
|
28
|
+
}
|
29
|
+
.CodeRay .line_numbers tt { font-weight: bold }
|
30
|
+
.CodeRay .no { padding: 0px 4px }
|
31
|
+
|
32
|
+
ol.CodeRay { font-size: 10pt }
|
33
|
+
ol.CodeRay li { white-space: pre }
|
34
|
+
|
35
|
+
.CodeRay .debug { color:white ! important; background:blue ! important; }
|
36
|
+
|
37
|
+
.CodeRay .af { color:#00C }
|
38
|
+
.CodeRay .an { color:#007 }
|
39
|
+
.CodeRay .av { color:#700 }
|
40
|
+
.CodeRay .aw { color:#C00 }
|
41
|
+
.CodeRay .bi { color:#509; font-weight:bold }
|
42
|
+
.CodeRay .c { color:#666; }
|
43
|
+
|
44
|
+
.CodeRay .ch { color:#04D }
|
45
|
+
.CodeRay .ch .k { color:#04D }
|
46
|
+
.CodeRay .ch .dl { color:#039 }
|
47
|
+
|
48
|
+
.CodeRay .cl { color:#B06; font-weight:bold }
|
49
|
+
.CodeRay .co { color:#036; font-weight:bold }
|
50
|
+
.CodeRay .cr { color:#0A0 }
|
51
|
+
.CodeRay .cv { color:#369 }
|
52
|
+
.CodeRay .df { color:#099; font-weight:bold }
|
53
|
+
.CodeRay .di { color:#088; font-weight:bold }
|
54
|
+
.CodeRay .dl { color:black }
|
55
|
+
.CodeRay .do { color:#970 }
|
56
|
+
.CodeRay .ds { color:#D42; font-weight:bold }
|
57
|
+
.CodeRay .e { color:#666; font-weight:bold }
|
58
|
+
.CodeRay .en { color:#800; font-weight:bold }
|
59
|
+
.CodeRay .er { color:#F00; background-color:#FAA }
|
60
|
+
.CodeRay .ex { color:#F00; font-weight:bold }
|
61
|
+
.CodeRay .fl { color:#60E; font-weight:bold }
|
62
|
+
.CodeRay .fu { color:#06B; font-weight:bold }
|
63
|
+
.CodeRay .gv { color:#d70; font-weight:bold }
|
64
|
+
.CodeRay .hx { color:#058; font-weight:bold }
|
65
|
+
.CodeRay .i { color:#00D; font-weight:bold }
|
66
|
+
.CodeRay .ic { color:#B44; font-weight:bold }
|
67
|
+
|
68
|
+
.CodeRay .il { background: #eee }
|
69
|
+
.CodeRay .il .il { background: #ddd }
|
70
|
+
.CodeRay .il .il .il { background: #ccc }
|
71
|
+
.CodeRay .il .idl { font-weight: bold; color: #888 }
|
72
|
+
|
73
|
+
.CodeRay .in { color:#B2B; font-weight:bold }
|
74
|
+
.CodeRay .iv { color:#33B }
|
75
|
+
.CodeRay .la { color:#970; font-weight:bold }
|
76
|
+
.CodeRay .lv { color:#963 }
|
77
|
+
.CodeRay .oc { color:#40E; font-weight:bold }
|
78
|
+
.CodeRay .of { color:#000; font-weight:bold }
|
79
|
+
.CodeRay .op { }
|
80
|
+
.CodeRay .pc { color:#038; font-weight:bold }
|
81
|
+
.CodeRay .pd { color:#369; font-weight:bold }
|
82
|
+
.CodeRay .pp { color:#579 }
|
83
|
+
.CodeRay .pt { color:#339; font-weight:bold }
|
84
|
+
.CodeRay .r { color:#080; font-weight:bold }
|
85
|
+
|
86
|
+
.CodeRay .rx { background-color:#fff0ff }
|
87
|
+
.CodeRay .rx .k { color:#808 }
|
88
|
+
.CodeRay .rx .dl { color:#404 }
|
89
|
+
.CodeRay .rx .mod { color:#C2C }
|
90
|
+
.CodeRay .rx .fu { color:#404; font-weight: bold }
|
91
|
+
|
92
|
+
.CodeRay .s { background-color:#fff0f0 }
|
93
|
+
.CodeRay .s .s { background-color:#ffe0e0 }
|
94
|
+
.CodeRay .s .s .s { background-color:#ffd0d0 }
|
95
|
+
.CodeRay .s .k { color:#D20 }
|
96
|
+
.CodeRay .s .dl { color:#710 }
|
97
|
+
|
98
|
+
.CodeRay .sh { background-color:#f0fff0 }
|
99
|
+
.CodeRay .sh .k { color:#2B2 }
|
100
|
+
.CodeRay .sh .dl { color:#161 }
|
101
|
+
|
102
|
+
.CodeRay .sy { color:#A60 }
|
103
|
+
.CodeRay .sy .k { color:#A60 }
|
104
|
+
.CodeRay .sy .dl { color:#630 }
|
105
|
+
|
106
|
+
.CodeRay .ta { color:#070 }
|
107
|
+
.CodeRay .tf { color:#070; font-weight:bold }
|
108
|
+
.CodeRay .ts { color:#D70; font-weight:bold }
|
109
|
+
.CodeRay .ty { color:#339; font-weight:bold }
|
110
|
+
.CodeRay .v { color:#036 }
|
111
|
+
.CodeRay .xt { color:#444 }
|