FooBarWidget-mizuho 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. data/LICENSE.txt +20 -0
  2. data/README.markdown +68 -0
  3. data/Rakefile +9 -0
  4. data/asciidoc/BUGS +34 -0
  5. data/asciidoc/BUGS.txt +28 -0
  6. data/asciidoc/CHANGELOG +1585 -0
  7. data/asciidoc/CHANGELOG.txt +1595 -0
  8. data/asciidoc/COPYING +339 -0
  9. data/asciidoc/COPYRIGHT +18 -0
  10. data/asciidoc/INSTALL +82 -0
  11. data/asciidoc/INSTALL.txt +71 -0
  12. data/asciidoc/README +46 -0
  13. data/asciidoc/README.txt +36 -0
  14. data/asciidoc/a2x +641 -0
  15. data/asciidoc/asciidoc.conf +404 -0
  16. data/asciidoc/asciidoc.py +4255 -0
  17. data/asciidoc/common.aap +9 -0
  18. data/asciidoc/dblatex/asciidoc-dblatex.sty +18 -0
  19. data/asciidoc/dblatex/asciidoc-dblatex.xsl +17 -0
  20. data/asciidoc/dblatex/dblatex-readme.txt +22 -0
  21. data/asciidoc/doc/a2x.1 +246 -0
  22. data/asciidoc/doc/a2x.1.txt +195 -0
  23. data/asciidoc/doc/article.css-embedded.html +579 -0
  24. data/asciidoc/doc/article.html +62 -0
  25. data/asciidoc/doc/article.pdf +0 -0
  26. data/asciidoc/doc/article.txt +124 -0
  27. data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
  28. data/asciidoc/doc/asciidoc.1 +161 -0
  29. data/asciidoc/doc/asciidoc.1.css-embedded.html +562 -0
  30. data/asciidoc/doc/asciidoc.1.css.html +212 -0
  31. data/asciidoc/doc/asciidoc.1.html +190 -0
  32. data/asciidoc/doc/asciidoc.1.txt +118 -0
  33. data/asciidoc/doc/asciidoc.conf +8 -0
  34. data/asciidoc/doc/asciidoc.css-embedded.html +7954 -0
  35. data/asciidoc/doc/asciidoc.css.html +7553 -0
  36. data/asciidoc/doc/asciidoc.dict +673 -0
  37. data/asciidoc/doc/asciidoc.html +3502 -0
  38. data/asciidoc/doc/asciidoc.txt +4757 -0
  39. data/asciidoc/doc/asciimath.txt +47 -0
  40. data/asciidoc/doc/book-multi.css-embedded.html +575 -0
  41. data/asciidoc/doc/book-multi.html +72 -0
  42. data/asciidoc/doc/book-multi.txt +159 -0
  43. data/asciidoc/doc/book.css-embedded.html +585 -0
  44. data/asciidoc/doc/book.html +60 -0
  45. data/asciidoc/doc/book.txt +133 -0
  46. data/asciidoc/doc/customers.csv +18 -0
  47. data/asciidoc/doc/faq.txt +262 -0
  48. data/asciidoc/doc/latex-backend.html +224 -0
  49. data/asciidoc/doc/latex-backend.txt +193 -0
  50. data/asciidoc/doc/latexmath.txt +35 -0
  51. data/asciidoc/doc/main.aap +293 -0
  52. data/asciidoc/doc/music-filter.html +513 -0
  53. data/asciidoc/doc/music-filter.pdf +0 -0
  54. data/asciidoc/doc/music-filter.txt +158 -0
  55. data/asciidoc/doc/source-highlight-filter.html +183 -0
  56. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  57. data/asciidoc/doc/source-highlight-filter.txt +174 -0
  58. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +71 -0
  59. data/asciidoc/docbook-xsl/chunked.xsl +19 -0
  60. data/asciidoc/docbook-xsl/common.xsl +67 -0
  61. data/asciidoc/docbook-xsl/fo.xsl +117 -0
  62. data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
  63. data/asciidoc/docbook-xsl/manpage.xsl +28 -0
  64. data/asciidoc/docbook-xsl/shaded-literallayout.patch +32 -0
  65. data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
  66. data/asciidoc/docbook.conf +606 -0
  67. data/asciidoc/examples/website/CHANGELOG.html +3828 -0
  68. data/asciidoc/examples/website/INSTALL.html +163 -0
  69. data/asciidoc/examples/website/README-website.html +129 -0
  70. data/asciidoc/examples/website/README-website.txt +29 -0
  71. data/asciidoc/examples/website/README.html +125 -0
  72. data/asciidoc/examples/website/a2x.1.html +395 -0
  73. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +165 -0
  74. data/asciidoc/examples/website/asciimath.html +157 -0
  75. data/asciidoc/examples/website/build-website.sh +25 -0
  76. data/asciidoc/examples/website/downloads.html +219 -0
  77. data/asciidoc/examples/website/downloads.txt +98 -0
  78. data/asciidoc/examples/website/faq.html +372 -0
  79. data/asciidoc/examples/website/index.html +398 -0
  80. data/asciidoc/examples/website/index.txt +222 -0
  81. data/asciidoc/examples/website/latex-backend.html +640 -0
  82. data/asciidoc/examples/website/latexmath.html +119 -0
  83. data/asciidoc/examples/website/layout1.conf +161 -0
  84. data/asciidoc/examples/website/layout1.css +65 -0
  85. data/asciidoc/examples/website/layout2.conf +158 -0
  86. data/asciidoc/examples/website/layout2.css +93 -0
  87. data/asciidoc/examples/website/manpage.html +266 -0
  88. data/asciidoc/examples/website/music-filter.html +242 -0
  89. data/asciidoc/examples/website/music1.abc +12 -0
  90. data/asciidoc/examples/website/music1.png +0 -0
  91. data/asciidoc/examples/website/music2.ly +9 -0
  92. data/asciidoc/examples/website/music2.png +0 -0
  93. data/asciidoc/examples/website/source-highlight-filter.html +251 -0
  94. data/asciidoc/examples/website/support.html +78 -0
  95. data/asciidoc/examples/website/support.txt +5 -0
  96. data/asciidoc/examples/website/userguide.html +7597 -0
  97. data/asciidoc/examples/website/version9.html +143 -0
  98. data/asciidoc/examples/website/version9.txt +48 -0
  99. data/asciidoc/filters/code-filter-readme.txt +37 -0
  100. data/asciidoc/filters/code-filter-test-c++.txt +7 -0
  101. data/asciidoc/filters/code-filter-test.txt +15 -0
  102. data/asciidoc/filters/code-filter.conf +8 -0
  103. data/asciidoc/filters/code-filter.py +239 -0
  104. data/asciidoc/filters/music-filter-test.txt +40 -0
  105. data/asciidoc/filters/music-filter.conf +40 -0
  106. data/asciidoc/filters/music2png.py +189 -0
  107. data/asciidoc/filters/source-highlight-filter-test.txt +19 -0
  108. data/asciidoc/filters/source-highlight-filter.conf +100 -0
  109. data/asciidoc/help.conf +213 -0
  110. data/asciidoc/html4.conf +363 -0
  111. data/asciidoc/images/highlighter.png +0 -0
  112. data/asciidoc/images/icons/README +5 -0
  113. data/asciidoc/images/icons/callouts/1.png +0 -0
  114. data/asciidoc/images/icons/callouts/10.png +0 -0
  115. data/asciidoc/images/icons/callouts/11.png +0 -0
  116. data/asciidoc/images/icons/callouts/12.png +0 -0
  117. data/asciidoc/images/icons/callouts/13.png +0 -0
  118. data/asciidoc/images/icons/callouts/14.png +0 -0
  119. data/asciidoc/images/icons/callouts/15.png +0 -0
  120. data/asciidoc/images/icons/callouts/2.png +0 -0
  121. data/asciidoc/images/icons/callouts/3.png +0 -0
  122. data/asciidoc/images/icons/callouts/4.png +0 -0
  123. data/asciidoc/images/icons/callouts/5.png +0 -0
  124. data/asciidoc/images/icons/callouts/6.png +0 -0
  125. data/asciidoc/images/icons/callouts/7.png +0 -0
  126. data/asciidoc/images/icons/callouts/8.png +0 -0
  127. data/asciidoc/images/icons/callouts/9.png +0 -0
  128. data/asciidoc/images/icons/caution.png +0 -0
  129. data/asciidoc/images/icons/example.png +0 -0
  130. data/asciidoc/images/icons/home.png +0 -0
  131. data/asciidoc/images/icons/important.png +0 -0
  132. data/asciidoc/images/icons/next.png +0 -0
  133. data/asciidoc/images/icons/note.png +0 -0
  134. data/asciidoc/images/icons/prev.png +0 -0
  135. data/asciidoc/images/icons/tip.png +0 -0
  136. data/asciidoc/images/icons/up.png +0 -0
  137. data/asciidoc/images/icons/warning.png +0 -0
  138. data/asciidoc/images/smallnew.png +0 -0
  139. data/asciidoc/images/tiger.png +0 -0
  140. data/asciidoc/install.sh +55 -0
  141. data/asciidoc/javascripts/ASCIIMathML.js +938 -0
  142. data/asciidoc/javascripts/LaTeXMathML.js +1223 -0
  143. data/asciidoc/javascripts/toc.js +69 -0
  144. data/asciidoc/lang-es.conf +15 -0
  145. data/asciidoc/latex.conf +663 -0
  146. data/asciidoc/linuxdoc.conf +285 -0
  147. data/asciidoc/math.conf +50 -0
  148. data/asciidoc/stylesheets/docbook-xsl.css +271 -0
  149. data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +21 -0
  150. data/asciidoc/stylesheets/xhtml-deprecated.css +247 -0
  151. data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
  152. data/asciidoc/stylesheets/xhtml11-quirks.css +49 -0
  153. data/asciidoc/stylesheets/xhtml11.css +284 -0
  154. data/asciidoc/t.conf +20 -0
  155. data/asciidoc/text.conf +16 -0
  156. data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
  157. data/asciidoc/vim/syntax/asciidoc.vim +139 -0
  158. data/asciidoc/xhtml-deprecated-css.conf +235 -0
  159. data/asciidoc/xhtml-deprecated.conf +351 -0
  160. data/asciidoc/xhtml11-quirks.conf +57 -0
  161. data/asciidoc/xhtml11.conf +514 -0
  162. data/bin/mizuho +40 -0
  163. data/lib/mizuho/chapter.rb +54 -0
  164. data/lib/mizuho/generator.rb +106 -0
  165. data/lib/mizuho/heading.rb +46 -0
  166. data/lib/mizuho/parser.rb +99 -0
  167. data/lib/mizuho/template.rb +50 -0
  168. data/mizuho.gemspec +34 -0
  169. data/templates/asciidoc.css +358 -0
  170. data/templates/asciidoc.html.erb +86 -0
  171. data/templates/manualsonrails.css +165 -0
  172. data/templates/manualsonrails.html.erb +97 -0
  173. data/test/parser_spec.rb +190 -0
  174. data/test/spec_helper.rb +43 -0
  175. metadata +234 -0
@@ -0,0 +1,163 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <meta name="generator" content="AsciiDoc 8.2.7" />
7
+ <link rel="stylesheet" href="./xhtml11.css" type="text/css" />
8
+ <link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
9
+ <link rel="stylesheet" href="./layout1.css" type="text/css" />
10
+ <script type="text/javascript">
11
+ /*<![CDATA[*/
12
+ window.onload = function(){generateToc(1)}
13
+ /*]]>*/
14
+ </script>
15
+ <script type="text/javascript" src="./toc.js"></script>
16
+ <title>AsciiDoc Installation</title>
17
+ </head>
18
+ <body>
19
+ <div id="layout-banner">
20
+ <div id="layout-title">AsciiDoc</div>
21
+ <div id="layout-description">Text based document generation</div>
22
+ </div>
23
+ <table>
24
+ <tr valign="top">
25
+ <td id="layout-menu">
26
+ <div>&#187;<a href="index.html">Home</a></div>
27
+ <div>&#187;<a href="manpage.html">Man&nbsp;Page</a></div>
28
+ <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
29
+ <div>&#187;<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
30
+ <div>&#187;<a href="a2x.1.html">a2x</a></div>
31
+ <div>&#187;<a href="README.html">README</a></div>
32
+ <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
33
+ <div>&#187;<a href="INSTALL.html">Installation</a></div>
34
+ <div>&#187;<a href="downloads.html">Downloads</a></div>
35
+ <div>&#187;<a href="faq.html">FAQ</a></div>
36
+ <div>&#187;<a href="support.html">Support</a></div>
37
+ <div id="page-source">&#187;<a href="INSTALL.txt">Page&nbsp;Source</a></div>
38
+ </td>
39
+ <td>
40
+ <div id="layout-content">
41
+ <div id="header">
42
+ <h1>AsciiDoc Installation</h1>
43
+ </div>
44
+ <div id="toc">
45
+ <div id="toctitle">Table of Contents</div>
46
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
47
+ </div>
48
+ <div id="preamble">
49
+ <div class="sectionbody">
50
+ <div class="admonitionblock">
51
+ <table><tr>
52
+ <td class="icon">
53
+ <img src="./images/icons/note.png" alt="Note" />
54
+ </td>
55
+ <td class="content">The current version of <em>AsciiDoc</em> requires <strong>Python 2.4 or newer</strong>
56
+ to run. If you don't already have an up-to-date version of Python
57
+ installed it can be downloaded from the official Python website
58
+ <a href="http://www.python.org/">http://www.python.org/</a>.</td>
59
+ </tr></table>
60
+ </div>
61
+ <div class="para"><p>The latest <em>AsciiDoc</em> downloads can be found on the <em>AsciiDoc</em> website
62
+ <a href="http://www.methods.co.nz/asciidoc/downloads.html">http://www.methods.co.nz/asciidoc/downloads.html</a> and at the
63
+ SourceForge <a href="http://sourceforge.net/projects/asciidoc/">http://sourceforge.net/projects/asciidoc/</a>.</p></div>
64
+ </div>
65
+ </div>
66
+ <h2 id="_prepackaged_asciidoc_installation">Prepackaged AsciiDoc installation</h2>
67
+ <div class="sectionbody">
68
+ <div class="para"><p>The <em>AsciiDoc</em>
69
+ <a href="http://www.methods.co.nz/asciidoc/downloads.html">downloads page</a>
70
+ lists <em>AsciiDoc</em> packages for various Linux distributions.</p></div>
71
+ </div>
72
+ <h2 id="_distribution_tarball_installation">Distribution tarball installation</h2>
73
+ <div class="sectionbody">
74
+ <div class="para"><p>If your flavor or UNIX or Linux is not supported or you prefer to
75
+ install from source use the <tt>install.sh</tt> shell script in the tarball
76
+ root directory (thanks to <a href="mailto:jlm@ofb.net">Jacob Mandelson</a> for the
77
+ initial implementation of this script).</p></div>
78
+ <div class="para"><p><tt>install.sh</tt> installs <em>AsciiDoc</em> executables, configuration files and
79
+ man pages in the usual locations. Here's how:</p></div>
80
+ <div class="literalblock">
81
+ <div class="content">
82
+ <pre><tt>$ tar -xzf asciidoc-8.2.7.tar.gz
83
+ $ cd asciidoc-8.2.7
84
+ $ sudo ./install.sh</tt></pre>
85
+ </div></div>
86
+ <div class="admonitionblock">
87
+ <table><tr>
88
+ <td class="icon">
89
+ <img src="./images/icons/note.png" alt="Note" />
90
+ </td>
91
+ <td class="content">This script was tested on Ubuntu Linux. You may need to edit
92
+ <tt>install.sh</tt> if your file locations differ from those wired into the
93
+ script.</td>
94
+ </tr></table>
95
+ </div>
96
+ <div class="para"><p>The <tt>uninstall.sh</tt> script (actually just a symlink to <tt>install.sh</tt>)
97
+ will uninstall <em>AsciiDoc</em>.</p></div>
98
+ <div class="para"><p>If Vim is installed on your system <tt>install.sh</tt> will install the Vim
99
+ syntax highlighter and filetype detection scripts in the global
100
+ <tt>/etc/vim</tt> directory (<tt>asciidoc.vim</tt> in <tt>/etc/vim/syntax/</tt> and
101
+ <tt>asciidoc_filetype.vim</tt> in <tt>/etc/vim/ftdetect/</tt>).</p></div>
102
+ <div class="para"><p>To install locally put <tt>asciidoc.vim</tt> in <tt>~/.vim/syntax/</tt> and
103
+ <tt>asciidoc_filetype.vim</tt> in <tt>~/.vim/ftdetect/</tt>.</p></div>
104
+ </div>
105
+ <h2 id="_microsoft_windows_installation">Microsoft Windows installation</h2>
106
+ <div class="sectionbody">
107
+ <div class="para"><p>To install the zip formatted distribution just unzip the contents to a
108
+ new folder:</p></div>
109
+ <div class="literalblock">
110
+ <div class="content">
111
+ <pre><tt>$ mkdir asciidoc
112
+ $ cd asciidoc
113
+ $ unzip ../asciidoc-8.2.7.zip</tt></pre>
114
+ </div></div>
115
+ </div>
116
+ <h2 id="_testing_your_installation">Testing your installation</h2>
117
+ <div class="sectionbody">
118
+ <div class="para"><p>Test out asciidoc by changing to the <em>AsciiDoc</em> application directory
119
+ and convert the User Guide document (<tt>./doc/asciidoc.txt</tt>) to XHTML
120
+ (<tt>./doc/asciidoc.html</tt>):</p></div>
121
+ <div class="literalblock">
122
+ <div class="content">
123
+ <pre><tt>$ asciidoc doc/asciidoc.txt</tt></pre>
124
+ </div></div>
125
+ <div class="admonitionblock">
126
+ <table><tr>
127
+ <td class="icon">
128
+ <img src="./images/icons/note.png" alt="Note" />
129
+ </td>
130
+ <td class="content">Windows users will need to execute the <tt>asciidoc.py</tt> script
131
+ directly or create a suitable <tt>asciidoc.bat</tt> file.</td>
132
+ </tr></table>
133
+ </div>
134
+ </div>
135
+ <div id="footer">
136
+ <div id="footer-text">
137
+ Version 8.2.7<br />
138
+ Last updated 2008-07-04 23:29:26 NZDT
139
+ </div>
140
+ <div id="footer-badges">
141
+ <a href="http://validator.w3.org/check?uri=referer">
142
+ <img style="border:none; width:88px; height:31px;"
143
+ src="http://www.w3.org/Icons/valid-xhtml11"
144
+ alt="Valid XHTML 1.1!" />
145
+ </a>
146
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
147
+ <img style="border:none; width:88px; height:31px;"
148
+ src="http://jigsaw.w3.org/css-validator/images/vcss"
149
+ alt="Valid CSS!" />
150
+ </a>
151
+ <a href="http://www.mozilla.org/products/firefox/">
152
+ <img style="border:none; width:110px; height:32px;"
153
+ src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
154
+ alt="Get Firefox!" />
155
+ </a>
156
+ </div>
157
+ </div>
158
+ </div>
159
+ </td>
160
+ </tr>
161
+ </table>
162
+ </body>
163
+ </html>
@@ -0,0 +1,129 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <meta name="generator" content="AsciiDoc 8.2.7" />
7
+ <link rel="stylesheet" href="./xhtml11.css" type="text/css" />
8
+ <link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
9
+ <link rel="stylesheet" href="./layout1.css" type="text/css" />
10
+ <title>AsciiDoc Website</title>
11
+ </head>
12
+ <body>
13
+ <div id="layout-banner">
14
+ <div id="layout-title">AsciiDoc</div>
15
+ <div id="layout-description">Text based document generation</div>
16
+ </div>
17
+ <table>
18
+ <tr valign="top">
19
+ <td id="layout-menu">
20
+ <div>&#187;<a href="index.html">Home</a></div>
21
+ <div>&#187;<a href="manpage.html">Man&nbsp;Page</a></div>
22
+ <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
23
+ <div>&#187;<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
24
+ <div>&#187;<a href="a2x.1.html">a2x</a></div>
25
+ <div>&#187;<a href="README.html">README</a></div>
26
+ <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
27
+ <div>&#187;<a href="INSTALL.html">Installation</a></div>
28
+ <div>&#187;<a href="downloads.html">Downloads</a></div>
29
+ <div>&#187;<a href="faq.html">FAQ</a></div>
30
+ <div>&#187;<a href="support.html">Support</a></div>
31
+ <div id="page-source">&#187;<a href="README-website.txt">Page&nbsp;Source</a></div>
32
+ </td>
33
+ <td>
34
+ <div id="layout-content">
35
+ <div id="header">
36
+ <h1>AsciiDoc Website</h1>
37
+ </div>
38
+ <div id="preamble">
39
+ <div class="sectionbody">
40
+ <div class="para"><p>The <em>AsciiDoc</em> website source is included in the <em>AsciiDoc</em> distribution
41
+ (in <tt>./examples/website/</tt>) as an example of using <em>AsciiDoc</em> to build a
42
+ website.</p></div>
43
+ <div class="para"><p>A simple shell script (<tt>./examples/website/build-website.sh</tt>) will
44
+ build the site's web pages &#8212; just set the <tt>LAYOUT</tt> variable to the
45
+ desired layout.</p></div>
46
+ </div>
47
+ </div>
48
+ <h2 id="_website_layouts">Website Layouts</h2>
49
+ <div class="sectionbody">
50
+ <div class="para"><p>The website layout is determined by the layout configuration file
51
+ (<tt>layout1.conf</tt> or <tt>layout2.conf</tt>) and corresponding layout CSS file
52
+ (<tt>layout1.css</tt> or <tt>layout2.css</tt>). The example website comes with the
53
+ following layouts:</p></div>
54
+ <div class="tableblock">
55
+ <table rules="none"
56
+ frame="hsides"
57
+ cellspacing="0" cellpadding="4">
58
+ <col width="125" />
59
+ <col width="537" />
60
+ <thead>
61
+ <tr>
62
+ <th align="left">
63
+ Layout
64
+ </th>
65
+ <th align="left">
66
+ Description
67
+ </th>
68
+ </tr>
69
+ </thead>
70
+ <tbody valign="top">
71
+ <tr>
72
+ <td align="left">
73
+ layout1
74
+ </td>
75
+ <td align="left">
76
+ Table based layout (this is the default layout)
77
+ </td>
78
+ </tr>
79
+ <tr>
80
+ <td align="left">
81
+ layout2
82
+ </td>
83
+ <td align="left">
84
+ CSS based simulated frames layout
85
+ </td>
86
+ </tr>
87
+ </tbody>
88
+ </table>
89
+ </div>
90
+ <div class="para"><p>The default tables based layout (layout1) works with most modern
91
+ browsers.</p></div>
92
+ <div class="admonitionblock">
93
+ <table><tr>
94
+ <td class="icon">
95
+ <img src="./images/icons/note.png" alt="Note" />
96
+ </td>
97
+ <td class="content">The simulated frames layout (layout2) does not work with IE6.</td>
98
+ </tr></table>
99
+ </div>
100
+ </div>
101
+ <div id="footer">
102
+ <div id="footer-text">
103
+ Version 8.2.7<br />
104
+ Last updated 2008-07-04 23:29:32 NZDT
105
+ </div>
106
+ <div id="footer-badges">
107
+ <a href="http://validator.w3.org/check?uri=referer">
108
+ <img style="border:none; width:88px; height:31px;"
109
+ src="http://www.w3.org/Icons/valid-xhtml11"
110
+ alt="Valid XHTML 1.1!" />
111
+ </a>
112
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
113
+ <img style="border:none; width:88px; height:31px;"
114
+ src="http://jigsaw.w3.org/css-validator/images/vcss"
115
+ alt="Valid CSS!" />
116
+ </a>
117
+ <a href="http://www.mozilla.org/products/firefox/">
118
+ <img style="border:none; width:110px; height:32px;"
119
+ src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
120
+ alt="Get Firefox!" />
121
+ </a>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </td>
126
+ </tr>
127
+ </table>
128
+ </body>
129
+ </html>
@@ -0,0 +1,29 @@
1
+ AsciiDoc Website
2
+ ================
3
+
4
+ The AsciiDoc website source is included in the AsciiDoc distribution
5
+ (in `./examples/website/`) as an example of using AsciiDoc to build a
6
+ website.
7
+
8
+ A simple shell script (`./examples/website/build-website.sh`) will
9
+ build the site's web pages -- just set the `LAYOUT` variable to the
10
+ desired layout.
11
+
12
+ Website Layouts
13
+ ---------------
14
+ The website layout is determined by the layout configuration file
15
+ (`layout1.conf` or `layout2.conf`) and corresponding layout CSS file
16
+ (`layout1.css` or `layout2.css`). The example website comes with the
17
+ following layouts:
18
+
19
+ `----------`----------------------------------------------
20
+ Layout Description
21
+ ----------------------------------------------------------
22
+ layout1 Table based layout (this is the default layout)
23
+ layout2 CSS based simulated frames layout
24
+ ----------------------------------------------------------
25
+
26
+ The default tables based layout (layout1) works with most modern
27
+ browsers.
28
+
29
+ NOTE: The simulated frames layout (layout2) does not work with IE6.
@@ -0,0 +1,125 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2
+ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
+ <meta name="generator" content="AsciiDoc 8.2.7" />
7
+ <link rel="stylesheet" href="./xhtml11.css" type="text/css" />
8
+ <link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
9
+ <link rel="stylesheet" href="./layout1.css" type="text/css" />
10
+ <title>AsciiDoc README File</title>
11
+ </head>
12
+ <body>
13
+ <div id="layout-banner">
14
+ <div id="layout-title">AsciiDoc</div>
15
+ <div id="layout-description">Text based document generation</div>
16
+ </div>
17
+ <table>
18
+ <tr valign="top">
19
+ <td id="layout-menu">
20
+ <div>&#187;<a href="index.html">Home</a></div>
21
+ <div>&#187;<a href="manpage.html">Man&nbsp;Page</a></div>
22
+ <div>&#187;<a href="userguide.html">User&nbsp;Guide</a></div>
23
+ <div>&#187;<a href="http://powerman.name/doc/asciidoc">Cheatsheet</a></div>
24
+ <div>&#187;<a href="a2x.1.html">a2x</a></div>
25
+ <div>&#187;<a href="README.html">README</a></div>
26
+ <div>&#187;<a href="CHANGELOG.html">ChangeLog</a></div>
27
+ <div>&#187;<a href="INSTALL.html">Installation</a></div>
28
+ <div>&#187;<a href="downloads.html">Downloads</a></div>
29
+ <div>&#187;<a href="faq.html">FAQ</a></div>
30
+ <div>&#187;<a href="support.html">Support</a></div>
31
+ <div id="page-source">&#187;<a href="README.txt">Page&nbsp;Source</a></div>
32
+ </td>
33
+ <td>
34
+ <div id="layout-content">
35
+ <div id="header">
36
+ <h1>AsciiDoc README File</h1>
37
+ </div>
38
+ <h2 id="_prerequisites">Prerequisites</h2>
39
+ <div class="sectionbody">
40
+ <div class="para"><p><em>AsciiDoc</em> is written in Python so you need a Python interpreter
41
+ (version 2.4 or later) to execute <tt>asciidoc(1)</tt>. Python is installed by
42
+ default in most Linux distributions. You can download Python from the
43
+ official Python website <a href="http://www.python.org">http://www.python.org</a>.</p></div>
44
+ </div>
45
+ <h2 id="_obtaining_asciidoc">Obtaining AsciiDoc</h2>
46
+ <div class="sectionbody">
47
+ <div class="para"><p>The latest <em>AsciiDoc</em> version and online documentation can be found at
48
+ <a href="http://www.methods.co.nz/asciidoc/">http://www.methods.co.nz/asciidoc/</a> and at the SourceForge
49
+ <a href="http://sourceforge.net/projects/asciidoc/">http://sourceforge.net/projects/asciidoc/</a>.</p></div>
50
+ </div>
51
+ <h2 id="_tools">Tools</h2>
52
+ <div class="sectionbody">
53
+ <div class="para"><p>Current <em>AsciiDoc</em> version tested on Xubuntu Linux 7.10 with:</p></div>
54
+ <div class="ilist"><ul>
55
+ <li>
56
+ <p>
57
+ Python 2.5.1
58
+ </p>
59
+ </li>
60
+ <li>
61
+ <p>
62
+ bash 3.2.25(1)
63
+ </p>
64
+ </li>
65
+ <li>
66
+ <p>
67
+ DocBook XSL Stylesheets 1.72.0 (with <em>AsciiDoc</em> drivers and patches).
68
+ </p>
69
+ </li>
70
+ <li>
71
+ <p>
72
+ xsltproc (libxml 20629, libxslt 10121 and libexslt 813).
73
+ </p>
74
+ </li>
75
+ <li>
76
+ <p>
77
+ lynx 2.8.5rel.1.
78
+ </p>
79
+ </li>
80
+ <li>
81
+ <p>
82
+ dblatex 0.2.8
83
+ </p>
84
+ </li>
85
+ <li>
86
+ <p>
87
+ FOP 0.95beta
88
+ </p>
89
+ </li>
90
+ </ul></div>
91
+ </div>
92
+ <h2 id="_copying">COPYING</h2>
93
+ <div class="sectionbody">
94
+ <div class="para"><p>Copyright &#169; 2002-2008 Stuart Rackham. Free use of this software
95
+ is granted under the terms of the GNU General Public License (GPL).</p></div>
96
+ </div>
97
+ <div id="footer">
98
+ <div id="footer-text">
99
+ Version 8.2.7<br />
100
+ Last updated 2008-07-04 23:29:31 NZDT
101
+ </div>
102
+ <div id="footer-badges">
103
+ <a href="http://validator.w3.org/check?uri=referer">
104
+ <img style="border:none; width:88px; height:31px;"
105
+ src="http://www.w3.org/Icons/valid-xhtml11"
106
+ alt="Valid XHTML 1.1!" />
107
+ </a>
108
+ <a href="http://jigsaw.w3.org/css-validator/check/referer">
109
+ <img style="border:none; width:88px; height:31px;"
110
+ src="http://jigsaw.w3.org/css-validator/images/vcss"
111
+ alt="Valid CSS!" />
112
+ </a>
113
+ <a href="http://www.mozilla.org/products/firefox/">
114
+ <img style="border:none; width:110px; height:32px;"
115
+ src="http://www.spreadfirefox.com/community/images/affiliates/Buttons/110x32/safer.gif"
116
+ alt="Get Firefox!" />
117
+ </a>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </td>
122
+ </tr>
123
+ </table>
124
+ </body>
125
+ </html>