webgen 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +340 -0
- data/ChangeLog +2172 -0
- data/README +16 -0
- data/Rakefile +283 -0
- data/TODO +133 -0
- data/VERSION +1 -0
- data/bin/webgen +5 -0
- data/doc/extension.config +55 -0
- data/doc/src/default.css +129 -0
- data/doc/src/default.template +45 -0
- data/doc/src/design.gallery +18 -0
- data/doc/src/designs/default.png +0 -0
- data/doc/src/designs/nostyle.png +0 -0
- data/doc/src/designs/old.png +0 -0
- data/doc/src/documentation/extloader.page +20 -0
- data/doc/src/documentation/filehandler/backing.page +16 -0
- data/doc/src/documentation/filehandler/copy.page +12 -0
- data/doc/src/documentation/filehandler/directory.page +15 -0
- data/doc/src/documentation/filehandler/index.page +13 -0
- data/doc/src/documentation/filehandler/page.page +122 -0
- data/doc/src/documentation/filehandler/picturegallery.page +25 -0
- data/doc/src/documentation/filehandler/template.page +21 -0
- data/doc/src/documentation/index.page +47 -0
- data/doc/src/documentation/tags/date.page +19 -0
- data/doc/src/documentation/tags/executecommand.page +19 -0
- data/doc/src/documentation/tags/includefile.page +15 -0
- data/doc/src/documentation/tags/index.page +39 -0
- data/doc/src/documentation/tags/lang.de.page +6 -0
- data/doc/src/documentation/tags/lang.page +27 -0
- data/doc/src/documentation/tags/menu.de.page +11 -0
- data/doc/src/documentation/tags/menu.page +30 -0
- data/doc/src/documentation/tags/meta.page +20 -0
- data/doc/src/documentation/tags/multilang.de.page +4 -0
- data/doc/src/documentation/tags/multilang.fr.page +4 -0
- data/doc/src/documentation/tags/multilang.page +4 -0
- data/doc/src/documentation/tags/navbar.page +19 -0
- data/doc/src/documentation/tags/relocatable.page +16 -0
- data/doc/src/documentation/tags/wikilink.page +18 -0
- data/doc/src/download.page +42 -0
- data/doc/src/features.page +14 -0
- data/doc/src/index.page +48 -0
- data/doc/src/logo.png +0 -0
- data/doc/src/meta.info +22 -0
- data/install.rb +19 -0
- data/lib/util/composite.rb +101 -0
- data/lib/util/listener.rb +105 -0
- data/lib/webgen/configuration.rb +216 -0
- data/lib/webgen/logging.rb +73 -0
- data/lib/webgen/node.rb +147 -0
- data/lib/webgen/plugins/extloader.rb +88 -0
- data/lib/webgen/plugins/filehandler/backing.rb +200 -0
- data/lib/webgen/plugins/filehandler/directory.rb +96 -0
- data/lib/webgen/plugins/filehandler/filecopy.rb +59 -0
- data/lib/webgen/plugins/filehandler/filehandler.rb +209 -0
- data/lib/webgen/plugins/filehandler/pagehandler/html.rb +43 -0
- data/lib/webgen/plugins/filehandler/pagehandler/markdown.rb +53 -0
- data/lib/webgen/plugins/filehandler/pagehandler/page.rb +205 -0
- data/lib/webgen/plugins/filehandler/pagehandler/rdoc.rb +50 -0
- data/lib/webgen/plugins/filehandler/pagehandler/textile.rb +52 -0
- data/lib/webgen/plugins/filehandler/picturegallery.rb +194 -0
- data/lib/webgen/plugins/filehandler/template.rb +98 -0
- data/lib/webgen/plugins/tags/date.rb +46 -0
- data/lib/webgen/plugins/tags/executecommand.rb +53 -0
- data/lib/webgen/plugins/tags/includefile.rb +60 -0
- data/lib/webgen/plugins/tags/lang.rb +50 -0
- data/lib/webgen/plugins/tags/menu.rb +198 -0
- data/lib/webgen/plugins/tags/meta.rb +54 -0
- data/lib/webgen/plugins/tags/navbar.rb +62 -0
- data/lib/webgen/plugins/tags/relocatable.rb +58 -0
- data/lib/webgen/plugins/tags/tags.rb +247 -0
- data/lib/webgen/plugins/tags/wikilink.rb +58 -0
- data/lib/webgen/plugins/treewalker.rb +81 -0
- data/lib/webgen/webgen.rb +155 -0
- data/setup.rb +1331 -0
- data/testsite/config.yaml +7 -0
- data/testsite/src/bluecloth.page +102 -0
- data/testsite/src/default.css +146 -0
- data/testsite/src/default.template +33 -0
- data/testsite/src/home.en.page +22 -0
- data/testsite/src/home.page +22 -0
- data/testsite/src/images/bghack.png +0 -0
- data/testsite/src/images/o.png +0 -0
- data/testsite/src/images/smagacor.png +0 -0
- data/testsite/src/images/tictactoe.png +0 -0
- data/testsite/src/images/x.png +0 -0
- data/testsite/src/index.page +21 -0
- data/testsite/src/meta.info +15 -0
- data/testsite/src/news.page +20 -0
- data/testsite/src/news_are_so-cool.de.page +19 -0
- data/testsite/src/noindex/noindex.page +20 -0
- data/testsite/src/pictures/index.page +20 -0
- data/testsite/src/projects.de.page +11 -0
- data/testsite/src/projects.es.page +11 -0
- data/testsite/src/projects.page +17 -0
- data/testsite/src/projects/00.index.de.page +10 -0
- data/testsite/src/projects/01.project2.page +20 -0
- data/testsite/src/projects/02.project1.page +20 -0
- data/testsite/src/projects/05.project3.page +22 -0
- data/testsite/src/projects/index.page +20 -0
- data/testsite/src/projects/subproj/index.page +22 -0
- data/testsite/src/projects/subproj/project3.page +21 -0
- data/testsite/src/rdoc.page +12 -0
- data/testsite/src/redcloth.page +106 -0
- data/testsite/src/test.gallery +5 -0
- metadata +155 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
title: Pictures index
|
3
|
+
inMenu: true
|
4
|
+
blocks:
|
5
|
+
- {name: content, format: html}
|
6
|
+
---
|
7
|
+
<h1>The pictures index page</h1>
|
8
|
+
Solvitur acris hiems grata vice veris et Favoni, Trahuntque siccas
|
9
|
+
machinae carinas, Ac neque iam stabulis gaudet pecus aut arator
|
10
|
+
igni, Nec prata canis albicant pruinis. Iam Cytherea chores ducit
|
11
|
+
Venus imminente luna, Iunctaeque Nymphis Gratiae decentes Alterno
|
12
|
+
terram quatiunt pede, dum gravis Cyclopum Volcanus ardens visit
|
13
|
+
officinas. Nunc decet aut viridi nitidum caput impedire myrto Aut
|
14
|
+
flore terrae quem ferunt solutae; Nunc et in umbrosis Fauno decet
|
15
|
+
immolare lucis, Seu poscat agna sive malit haedo. Pallida mors aequo
|
16
|
+
pulsat pede pauperum tabernas Regumque turris. 0 beate Sesti, Vitae
|
17
|
+
summa brevis spem nos vetat incohare longam. Iam te premet nox,
|
18
|
+
fabulaeque Manes, Et domus exilis Plutonia; quo simul mearis, Nec
|
19
|
+
regna vini sortiere talis Nec tenerum Lycidan mirabere, quo calet
|
20
|
+
iuventus Nunc omnis et mox virgines tepebunt.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
---
|
2
|
+
title: Projekt Seite
|
3
|
+
inMenu: true
|
4
|
+
revision: |
|
5
|
+
$Id: projects.de.page 175 2005-01-19 23:03:03Z thomas $
|
6
|
+
blocks:
|
7
|
+
- {name: content, format: html}
|
8
|
+
---
|
9
|
+
<h1>Projekt Seite</h1>
|
10
|
+
Dies ist eine dummy Projektseite mit Umlauten äüüöüpßÖÄÖÜPÄÖ'*
|
11
|
+
Revision: {revision: }
|
@@ -0,0 +1,17 @@
|
|
1
|
+
---
|
2
|
+
title: YAML Projects page
|
3
|
+
template: /default.template
|
4
|
+
blocks:
|
5
|
+
- {name: content, format: html}
|
6
|
+
---
|
7
|
+
<h1>The News page</h1>
|
8
|
+
askdjfölajsödf öaksdfka södfkasdök jaslkdfaösdf sdkfasödlfasdfasdf
|
9
|
+
aöfkaöskdföksdöfkasöd kös
|
10
|
+
askdjfölajsödf öaksdfka södfkasdök jaslkdfaösdf sdkfasödlfasdfasdf
|
11
|
+
aöfkaöskdföksdöfkasöd kös
|
12
|
+
askdjfölajsödf öaksdfka södfkasdök jaslkdfaösdf sdkfasödlfasdfasdf
|
13
|
+
aöfkaöskdföksdöfkasöd kös
|
14
|
+
askdjfölajsödf öaksdfka södfkasdök jaslkdfaösdf sdkfasödlfasdfasdf
|
15
|
+
aöfkaöskdföksdöfkasöd kös
|
16
|
+
askdjfölajsödf öaksdfka södfkasdök jaslkdfaösdf sdkfasödlfasdfasdf
|
17
|
+
aöfkaöskdföksdöfkasöd k
|
@@ -0,0 +1,10 @@
|
|
1
|
+
---
|
2
|
+
title: Projekte Seite
|
3
|
+
inMenu: true
|
4
|
+
menuOrder: 3
|
5
|
+
directoryName: Projekte
|
6
|
+
blocks:
|
7
|
+
- {name: content, format: html}
|
8
|
+
---
|
9
|
+
<h1>Projekt Seite</h1>
|
10
|
+
Dies ist eine dummy Projektseite mit öasdöföasdfljd <a href="{relocatable: /home.html}">Hauptseite</a>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
title: Projekte 2
|
3
|
+
inMenu: true
|
4
|
+
blocks:
|
5
|
+
- {name: content, format: html}
|
6
|
+
---
|
7
|
+
<h1>The Project 2 page</h1>
|
8
|
+
Solvitur acris hiems grata vice veris et Favoni, Trahuntque siccas
|
9
|
+
machinae carinas, Ac neque iam stabulis gaudet pecus aut arator
|
10
|
+
igni, Nec prata canis albicant pruinis. Iam Cytherea chores ducit
|
11
|
+
Venus imminente luna, Iunctaeque Nymphis Gratiae decentes Alterno
|
12
|
+
terram quatiunt pede, dum gravis Cyclopum Volcanus ardens visit
|
13
|
+
officinas. Nunc decet aut viridi nitidum caput impedire myrto Aut
|
14
|
+
flore terrae quem ferunt solutae; Nunc et in umbrosis Fauno decet
|
15
|
+
immolare lucis, Seu poscat agna sive malit haedo. Pallida mors aequo
|
16
|
+
pulsat pede pauperum tabernas Regumque turris. 0 beate Sesti, Vitae
|
17
|
+
summa brevis spem nos vetat incohare longam. Iam te premet nox,
|
18
|
+
fabulaeque Manes, Et domus exilis Plutonia; quo simul mearis, Nec
|
19
|
+
regna vini sortiere talis Nec tenerum Lycidan mirabere, quo calet
|
20
|
+
iuventus Nunc omnis et mox virgines tepebunt.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
title: Projekte 1
|
3
|
+
inMenu: true
|
4
|
+
blocks:
|
5
|
+
- {name: content, format: html}
|
6
|
+
---
|
7
|
+
<h1>The Project 1 page</h1>
|
8
|
+
Solvitur acris hiems grata vice veris et Favoni, Trahuntque siccas
|
9
|
+
machinae carinas, Ac neque iam stabulis gaudet pecus aut arator
|
10
|
+
igni, Nec prata canis albicant pruinis. Iam Cytherea chores ducit
|
11
|
+
Venus imminente luna, Iunctaeque Nymphis Gratiae decentes Alterno
|
12
|
+
terram quatiunt pede, dum gravis Cyclopum Volcanus ardens visit
|
13
|
+
officinas. Nunc decet aut viridi nitidum caput impedire myrto Aut
|
14
|
+
flore terrae quem ferunt solutae; Nunc et in umbrosis Fauno decet
|
15
|
+
immolare lucis, Seu poscat agna sive malit haedo. Pallida mors aequo
|
16
|
+
pulsat pede pauperum tabernas Regumque turris. 0 beate Sesti, Vitae
|
17
|
+
summa brevis spem nos vetat incohare longam. Iam te premet nox,
|
18
|
+
fabulaeque Manes, Et domus exilis Plutonia; quo simul mearis, Nec
|
19
|
+
regna vini sortiere talis Nec tenerum Lycidan mirabere, quo calet
|
20
|
+
iuventus Nunc omnis et mox virgines tepebunt.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
title: Projekte 2
|
3
|
+
inMenu: true
|
4
|
+
blocks:
|
5
|
+
- {name: content, format: html}
|
6
|
+
---
|
7
|
+
<h1>The Project 3 page</h1>
|
8
|
+
Solvitur acris hiems grata vice veris et Favoni, Trahuntque siccas
|
9
|
+
machinae carinas, Ac neque iam stabulis gaudet pecus aut arator
|
10
|
+
igni, Nec prata canis albicant pruinis. Iam Cytherea chores ducit
|
11
|
+
Venus imminente luna, Iunctaeque Nymphis Gratiae decentes Alterno
|
12
|
+
terram quatiunt pede, dum gravis Cyclopum Volcanus ardens visit
|
13
|
+
officinas. Nunc decet aut viridi nitidum caput impedire myrto Aut
|
14
|
+
flore terrae quem ferunt solutae; Nunc et in umbrosis Fauno decet
|
15
|
+
immolare lucis, Seu poscat agna sive malit haedo. Pallida mors aequo
|
16
|
+
pulsat pede pauperum tabernas Regumque turris. 0 beate Sesti, Vitae
|
17
|
+
summa brevis spem nos vetat incohare longam. Iam te premet nox,
|
18
|
+
fabulaeque Manes, Et domus exilis Plutonia; quo simul mearis, Nec
|
19
|
+
regna vini sortiere talis Nec tenerum Lycidan mirabere, quo calet
|
20
|
+
iuventus Nunc omnis et mox virgines tepebunt.
|
21
|
+
<img src="{relocatable: /images/bghack.png}" width="100" height="100"/>
|
22
|
+
<img src="{relocatable: ../images/bghack.png}" width="100" height="100"/>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
---
|
2
|
+
title: Project index
|
3
|
+
directoryName: Projects
|
4
|
+
blocks:
|
5
|
+
- {name: content, format: html}
|
6
|
+
---
|
7
|
+
<h1>The project index page</h1>
|
8
|
+
Solvitur acris hiems grata vice veris et Favoni, Trahuntque siccas
|
9
|
+
machinae carinas, Ac neque iam stabulis gaudet pecus aut arator
|
10
|
+
igni, Nec prata canis albicant pruinis. Iam Cytherea chores ducit
|
11
|
+
Venus imminente luna, Iunctaeque Nymphis Gratiae decentes Alterno
|
12
|
+
terram quatiunt pede, dum gravis Cyclopum Volcanus ardens visit
|
13
|
+
officinas. Nunc decet aut viridi nitidum caput impedire myrto Aut
|
14
|
+
flore terrae quem ferunt solutae; Nunc et in umbrosis Fauno decet
|
15
|
+
immolare lucis, Seu poscat agna sive malit haedo. Pallida mors aequo
|
16
|
+
pulsat pede pauperum tabernas Regumque turris. 0 beate Sesti, Vitae
|
17
|
+
summa brevis spem nos vetat incohare longam. Iam te premet nox,
|
18
|
+
fabulaeque Manes, Et domus exilis Plutonia; quo simul mearis, Nec
|
19
|
+
regna vini sortiere talis Nec tenerum Lycidan mirabere, quo calet
|
20
|
+
iuventus Nunc omnis et mox virgines tepebunt.
|
@@ -0,0 +1,22 @@
|
|
1
|
+
---
|
2
|
+
title: Project index
|
3
|
+
directoryName: Projects
|
4
|
+
inMenu: true
|
5
|
+
menuOrder: 4
|
6
|
+
blocks:
|
7
|
+
- {name: content, format: html}
|
8
|
+
---
|
9
|
+
<h1>The project index page</h1>
|
10
|
+
Solvitur acris hiems grata vice veris et Favoni, Trahuntque siccas
|
11
|
+
machinae carinas, Ac neque iam stabulis gaudet pecus aut arator
|
12
|
+
igni, Nec prata canis albicant pruinis. Iam Cytherea chores ducit
|
13
|
+
Venus imminente luna, Iunctaeque Nymphis Gratiae decentes Alterno
|
14
|
+
terram quatiunt pede, dum gravis Cyclopum Volcanus ardens visit
|
15
|
+
officinas. Nunc decet aut viridi nitidum caput impedire myrto Aut
|
16
|
+
flore terrae quem ferunt solutae; Nunc et in umbrosis Fauno decet
|
17
|
+
immolare lucis, Seu poscat agna sive malit haedo. Pallida mors aequo
|
18
|
+
pulsat pede pauperum tabernas Regumque turris. 0 beate Sesti, Vitae
|
19
|
+
summa brevis spem nos vetat incohare longam. Iam te premet nox,
|
20
|
+
fabulaeque Manes, Et domus exilis Plutonia; quo simul mearis, Nec
|
21
|
+
regna vini sortiere talis Nec tenerum Lycidan mirabere, quo calet
|
22
|
+
iuventus Nunc omnis et mox virgines tepebunt.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
title: Project 3
|
3
|
+
inMenu: true
|
4
|
+
blocks:
|
5
|
+
- {name: content, format: html}
|
6
|
+
---
|
7
|
+
<h1>The Project 3 page</h1>
|
8
|
+
Solvitur acris hiems grata vice veris et Favoni, Trahuntque siccas
|
9
|
+
machinae carinas, Ac neque iam stabulis gaudet pecus aut arator
|
10
|
+
igni, Nec prata canis albicant pruinis. Iam Cytherea chores ducit
|
11
|
+
Venus imminente luna, Iunctaeque Nymphis Gratiae decentes Alterno
|
12
|
+
terram quatiunt pede, dum gravis Cyclopum Volcanus ardens visit
|
13
|
+
officinas. Nunc decet aut viridi nitidum caput impedire myrto Aut
|
14
|
+
flore terrae quem ferunt solutae; Nunc et in umbrosis Fauno decet
|
15
|
+
immolare lucis, Seu poscat agna sive malit haedo. Pallida mors aequo
|
16
|
+
pulsat pede pauperum tabernas Regumque turris. 0 beate Sesti, Vitae
|
17
|
+
summa brevis spem nos vetat incohare longam. Iam te premet nox,
|
18
|
+
fabulaeque Manes, Et domus exilis Plutonia; quo simul mearis, Nec
|
19
|
+
regna vini sortiere talis Nec tenerum Lycidan mirabere, quo calet
|
20
|
+
iuventus Nunc omnis et mox virgines tepebunt.
|
21
|
+
<img src="{relocatable: /images/bghack.png}" width="100" height="100"/>
|
@@ -0,0 +1,106 @@
|
|
1
|
+
p=. !redcloth-title.png!
|
2
|
+
|
3
|
+
<div id="sidebar">
|
4
|
+
|
5
|
+
h4. Get RedCloth
|
6
|
+
|
7
|
+
p(example1). *Latest version:* "2.0.10":http://rubyforge.org/frs/download.php/670/redcloth-2.0.10.tar.gz
|
8
|
+
|
9
|
+
Take a complete tour of Textile at "A Textile Reference":http://hobix.com/textile/.
|
10
|
+
|
11
|
+
For fast syntax checking, try the "Quick Reference":http://hobix.com/textile/quick.html.
|
12
|
+
|
13
|
+
p(example1). Upgrade with RubyGems! Try:
|
14
|
+
@gem -Ri RedCloth@.
|
15
|
+
|
16
|
+
See the "project page":http://rubyforge.org/projects/redcloth/ for bug reporting, old releases and CVS instructions. "Documentation":http://redcloth.rubyforge.org/rdoc/ is also hosted at RubyForge.
|
17
|
+
|
18
|
+
h4. RedCloth Links
|
19
|
+
|
20
|
+
"Instiki":http://www.instiki.org is the greatest Wiki ever! Uses RedCloth for its markup!
|
21
|
+
|
22
|
+
"Hobix":http://hobix.com is a lovely little blogging package which uses RedCloth for blog entries.
|
23
|
+
|
24
|
+
<div id="css-buttons">
|
25
|
+
|
26
|
+
* "(css-button w3c)%W3C% xhtml 1.0(Valid XHTML 1.0!)":http://validator.w3.org/check?uri=referer
|
27
|
+
* "(css-button w3c w3c2)%W3C% valid css(Valid CSS!)":http://jigsaw.w3.org/css-validator/check/referer
|
28
|
+
|
29
|
+
</div>
|
30
|
+
|
31
|
+
</div>
|
32
|
+
|
33
|
+
RedCloth is a module for using Textile in Ruby. Textile is a text format. A very simple text format. Another stab at making readable text that can be converted to HTML.
|
34
|
+
|
35
|
+
h2. What is Textile?
|
36
|
+
|
37
|
+
Textile is a simple markup language.
|
38
|
+
|
39
|
+
table{width:400px}.
|
40
|
+
|_. textile|_. to|_. html|
|
41
|
+
| ==_a phrase_== |->|_a phrase_|
|
42
|
+
| ==*a phrase*== |->|*a phrase*|
|
43
|
+
| ==_*a phrase*_== |->|_*a phrase*_|
|
44
|
+
| =="Google":http://google.com== |->|"Google":http://google.com|
|
45
|
+
|
46
|
+
No need to use verbose HTML to build your docs, your blogs, your pages. Textile gives you readable text while you're writing and beautiful text for your readers. And if you need to break out into HTML, Textile will allow you to do so.
|
47
|
+
|
48
|
+
Textile also handles some subtleties of formatting which will enhance your document's readability:
|
49
|
+
|
50
|
+
* Single- and double-quotes around words or phrases are converted to curly quotations, much easier on
|
51
|
+
the eye. "Observe!"
|
52
|
+
|
53
|
+
* Double hyphens are replaced with an em-dash. Observe -- very nice!
|
54
|
+
|
55
|
+
* Single hyphens are replaced with en-dashes. Observe - so cute!
|
56
|
+
|
57
|
+
* Triplets of periods become an ellipsis. Observe...
|
58
|
+
|
59
|
+
* The letter 'x' becomes a dimension sign when used alone. Observe: 2 x 2.
|
60
|
+
|
61
|
+
* Conversion of ==(TM)== to (TM), ==(R)== to (R), ==(C)== to (C).
|
62
|
+
|
63
|
+
For more on Textile's language, hop over to "A Textile Reference":http://hobix.com/textile/.
|
64
|
+
|
65
|
+
h2. Using RedCloth
|
66
|
+
|
67
|
+
The RedCloth class is an extension of Ruby's String class. Use it like you would a String:
|
68
|
+
|
69
|
+
<pre>
|
70
|
+
>> r = RedCloth.new "*strong text* and _emphasized text_"
|
71
|
+
=> "*strong text* and _emphasized text_"
|
72
|
+
>> r.gsub!( 'text', 'words' )
|
73
|
+
=> "*strong words* and _emphasized words_"
|
74
|
+
</pre>
|
75
|
+
|
76
|
+
To generate HTML from your RedCloth object, use the @RedCloth#to_html@ method:
|
77
|
+
|
78
|
+
<pre>
|
79
|
+
>> r.to_html
|
80
|
+
=> "<p><strong>strong words</strong> and <em>emphasized words</em></p>"
|
81
|
+
</pre>
|
82
|
+
|
83
|
+
|
84
|
+
h2. Installing RedCloth
|
85
|
+
|
86
|
+
To install RedCloth via RubyGems:
|
87
|
+
|
88
|
+
<pre>
|
89
|
+
gem -Ri RedCloth
|
90
|
+
</pre>
|
91
|
+
|
92
|
+
Or "download RedCloth":http://rubyforge.org/frs/download.php/670/redcloth-2.0.10.tar.gz and simply run the install.rb like so:
|
93
|
+
|
94
|
+
<pre>
|
95
|
+
ruby install.rb config
|
96
|
+
ruby install.rb setup
|
97
|
+
sudo ruby install.rb install
|
98
|
+
</pre>
|
99
|
+
|
100
|
+
|
101
|
+
h2. Acknowledgements
|
102
|
+
|
103
|
+
Textile is (c) 2003 Dean Allen. All rights reserved. You can read more "here":http://www.textism.com/tools/textile/.
|
104
|
+
|
105
|
+
RedCloth is also based on PyTextile, which is: Copyright (c) 2003, "Mark Pilgrim":http://diveintomark.org/. All rights reserved. You can read more about PyTextile "here":http://dealmeida.net/projects/textile.
|
106
|
+
|
metadata
ADDED
@@ -0,0 +1,155 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.4
|
3
|
+
specification_version: 1
|
4
|
+
name: webgen
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.3.0
|
7
|
+
date: 2005-02-21
|
8
|
+
summary: Webgen is a templated based static website generator.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: t_leitner@gmx.at
|
12
|
+
homepage: webgen.rubyforge.org
|
13
|
+
rubyforge_project: webgen
|
14
|
+
description: Webgen is a web page generator implemented in Ruby. It is used to generate static web pages from templates and page description files.
|
15
|
+
autorequire:
|
16
|
+
default_executable: webgen
|
17
|
+
bindir: bin
|
18
|
+
has_rdoc: true
|
19
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
+
requirements:
|
21
|
+
-
|
22
|
+
- ">"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.0.0
|
25
|
+
version:
|
26
|
+
platform: ruby
|
27
|
+
authors:
|
28
|
+
- Thomas Leitner
|
29
|
+
files:
|
30
|
+
- setup.rb
|
31
|
+
- TODO
|
32
|
+
- COPYING
|
33
|
+
- README
|
34
|
+
- Rakefile
|
35
|
+
- ChangeLog
|
36
|
+
- VERSION
|
37
|
+
- install.rb
|
38
|
+
- bin/webgen
|
39
|
+
- lib/util/composite.rb
|
40
|
+
- lib/util/listener.rb
|
41
|
+
- lib/webgen/configuration.rb
|
42
|
+
- lib/webgen/node.rb
|
43
|
+
- lib/webgen/logging.rb
|
44
|
+
- lib/webgen/webgen.rb
|
45
|
+
- lib/webgen/plugins/extloader.rb
|
46
|
+
- lib/webgen/plugins/treewalker.rb
|
47
|
+
- lib/webgen/plugins/tags/date.rb
|
48
|
+
- lib/webgen/plugins/tags/executecommand.rb
|
49
|
+
- lib/webgen/plugins/tags/lang.rb
|
50
|
+
- lib/webgen/plugins/tags/navbar.rb
|
51
|
+
- lib/webgen/plugins/tags/wikilink.rb
|
52
|
+
- lib/webgen/plugins/tags/tags.rb
|
53
|
+
- lib/webgen/plugins/tags/menu.rb
|
54
|
+
- lib/webgen/plugins/tags/meta.rb
|
55
|
+
- lib/webgen/plugins/tags/includefile.rb
|
56
|
+
- lib/webgen/plugins/tags/relocatable.rb
|
57
|
+
- lib/webgen/plugins/filehandler/picturegallery.rb
|
58
|
+
- lib/webgen/plugins/filehandler/backing.rb
|
59
|
+
- lib/webgen/plugins/filehandler/template.rb
|
60
|
+
- lib/webgen/plugins/filehandler/directory.rb
|
61
|
+
- lib/webgen/plugins/filehandler/filecopy.rb
|
62
|
+
- lib/webgen/plugins/filehandler/filehandler.rb
|
63
|
+
- lib/webgen/plugins/filehandler/pagehandler/rdoc.rb
|
64
|
+
- lib/webgen/plugins/filehandler/pagehandler/textile.rb
|
65
|
+
- lib/webgen/plugins/filehandler/pagehandler/markdown.rb
|
66
|
+
- lib/webgen/plugins/filehandler/pagehandler/page.rb
|
67
|
+
- lib/webgen/plugins/filehandler/pagehandler/html.rb
|
68
|
+
- testsite/src
|
69
|
+
- testsite/config.yaml
|
70
|
+
- testsite/src/bluecloth.page
|
71
|
+
- testsite/src/news_are_so-cool.de.page
|
72
|
+
- testsite/src/default.css
|
73
|
+
- testsite/src/projects.es.page
|
74
|
+
- testsite/src/projects.page
|
75
|
+
- testsite/src/rdoc.page
|
76
|
+
- testsite/src/pictures
|
77
|
+
- testsite/src/index.page
|
78
|
+
- testsite/src/images
|
79
|
+
- testsite/src/default.template
|
80
|
+
- testsite/src/noindex
|
81
|
+
- testsite/src/meta.info
|
82
|
+
- testsite/src/test.gallery
|
83
|
+
- testsite/src/projects
|
84
|
+
- testsite/src/home.page
|
85
|
+
- testsite/src/projects.de.page
|
86
|
+
- testsite/src/news.page
|
87
|
+
- testsite/src/home.en.page
|
88
|
+
- testsite/src/redcloth.page
|
89
|
+
- testsite/src/pictures/index.page
|
90
|
+
- testsite/src/images/o.png
|
91
|
+
- testsite/src/images/x.png
|
92
|
+
- testsite/src/images/tictactoe.png
|
93
|
+
- testsite/src/images/bghack.png
|
94
|
+
- testsite/src/images/smagacor.png
|
95
|
+
- testsite/src/noindex/noindex.page
|
96
|
+
- testsite/src/projects/05.project3.page
|
97
|
+
- testsite/src/projects/index.page
|
98
|
+
- testsite/src/projects/subproj
|
99
|
+
- testsite/src/projects/01.project2.page
|
100
|
+
- testsite/src/projects/00.index.de.page
|
101
|
+
- testsite/src/projects/02.project1.page
|
102
|
+
- testsite/src/projects/subproj/index.page
|
103
|
+
- testsite/src/projects/subproj/project3.page
|
104
|
+
- doc/src
|
105
|
+
- doc/extension.config
|
106
|
+
- doc/src/designs
|
107
|
+
- doc/src/default.css
|
108
|
+
- doc/src/features.page
|
109
|
+
- doc/src/index.page
|
110
|
+
- doc/src/documentation
|
111
|
+
- doc/src/download.page
|
112
|
+
- doc/src/design.gallery
|
113
|
+
- doc/src/default.template
|
114
|
+
- doc/src/meta.info
|
115
|
+
- doc/src/logo.png
|
116
|
+
- doc/src/designs/default.png
|
117
|
+
- doc/src/designs/nostyle.png
|
118
|
+
- doc/src/designs/old.png
|
119
|
+
- doc/src/documentation/tags
|
120
|
+
- doc/src/documentation/extloader.page
|
121
|
+
- doc/src/documentation/index.page
|
122
|
+
- doc/src/documentation/filehandler
|
123
|
+
- doc/src/documentation/tags/multilang.fr.page
|
124
|
+
- doc/src/documentation/tags/multilang.page
|
125
|
+
- doc/src/documentation/tags/menu.page
|
126
|
+
- doc/src/documentation/tags/relocatable.page
|
127
|
+
- doc/src/documentation/tags/lang.de.page
|
128
|
+
- doc/src/documentation/tags/date.page
|
129
|
+
- doc/src/documentation/tags/executecommand.page
|
130
|
+
- doc/src/documentation/tags/menu.de.page
|
131
|
+
- doc/src/documentation/tags/index.page
|
132
|
+
- doc/src/documentation/tags/navbar.page
|
133
|
+
- doc/src/documentation/tags/multilang.de.page
|
134
|
+
- doc/src/documentation/tags/meta.page
|
135
|
+
- doc/src/documentation/tags/wikilink.page
|
136
|
+
- doc/src/documentation/tags/lang.page
|
137
|
+
- doc/src/documentation/tags/includefile.page
|
138
|
+
- doc/src/documentation/filehandler/template.page
|
139
|
+
- doc/src/documentation/filehandler/directory.page
|
140
|
+
- doc/src/documentation/filehandler/page.page
|
141
|
+
- doc/src/documentation/filehandler/picturegallery.page
|
142
|
+
- doc/src/documentation/filehandler/index.page
|
143
|
+
- doc/src/documentation/filehandler/copy.page
|
144
|
+
- doc/src/documentation/filehandler/backing.page
|
145
|
+
test_files: []
|
146
|
+
rdoc_options:
|
147
|
+
- "--line-numbers"
|
148
|
+
- "-m README"
|
149
|
+
extra_rdoc_files:
|
150
|
+
- README
|
151
|
+
executables:
|
152
|
+
- webgen
|
153
|
+
extensions: []
|
154
|
+
requirements: []
|
155
|
+
dependencies: []
|