GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: A lightweight and flexible website management system.
Homepage: http://webby.rubyforge.org/
Clone URL: git://github.com/TwP/webby.git
Updating documentation and version number
Tim Pease (author)
Sat Dec 29 12:46:23 -0800 2007
commit  4abf2f374fdc89fabbcfb4e651a12260cf7101fc
tree    dfd41c58e6b0c56e526c801bd9d771eac5c40926
parent  773688c96826e39d4be42f2b5f4bf4f27039b666
...
2
3
4
 
5
6
7
...
2
3
4
5
6
7
8
0
@@ -2,6 +2,7 @@
0
 
0
 * Refactored how the filters are handled (thanks Bruce Williams)
0
 * Added helper methods for URL and tag generation
0
+* Fixed a bug arising from the order of the logger creation
0
 
0
 == 0.6.0 / 2007-12-04
0
 
...
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
 
46
47
 
48
49
50
...
3
4
5
 
6
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
9
10
11
12
13
14
0
@@ -3,48 +3,12 @@ title: Manual
0
 created_at: Wed Aug 29 08:57:00 -0600 2007
0
 filter:
0
   - coderay
0
- - graphviz
0
   - textile
0
 ---
0
-<graphviz path="images" alt="test image">
0
-digraph my_graph {
0
- // order all the nodes from Left to Right
0
- rankdir=LR;
0
-
0
- // defaults for each node in the graph
0
- node [shape=rect,
0
- style=filled,
0
- fillcolor="#99CCCC",
0
- fontname="Verdana",
0
- fontsize=10];
0
-
0
- // defaults for each edge in the graph
0
- edge [fontname="Verdana", fontsize=8];
0
-
0
- // the graph
0
- a [URL="/index.html", label="Home"];
0
- b [URL="/download.html", label="Download"];
0
- c [URL="/tutorial.html", label="Tutorial"];
0
- d [label="Manual", fillcolor="#6699CC"];
0
- e [URL="/tips_and_tricks.html", label="Tips &\nTricks"];
0
-
0
- a -> b -> c;
0
- c -> d -> e;
0
- a -> c [URL="http://www.google.com" label="skipping\ndownload"];
0
-}
0
-</graphviz>
0
-
0
-h2. To-Do
0
-
0
-The Webby user's manual goes here.
0
-
0
-<coderay lang="ruby">
0
-def method( blah )
0
- blah.upcase
0
-end
0
-</coderay>
0
+h2. Installation
0
 
0
 directory structure
0
+
0
 * content
0
 * output
0
 * layouts
...
25
26
27
28
 
29
30
31
...
25
26
27
 
28
29
30
31
0
@@ -25,7 +25,7 @@ content/
0
 layouts/
0
 lib/
0
 output/
0
-tasks/
0
+rakelib/
0
 templates/
0
 </pre>
0
 
...
14
15
16
17
 
18
19
20
...
14
15
16
 
17
18
19
20
0
@@ -14,7 +14,7 @@ Logging::Appender.stdout.layout = Logging::Layouts::Pattern.new(
0
 
0
 module Webby
0
 
0
- VERSION = '0.6.0' # :nodoc:
0
+ VERSION = '0.7.0' # :nodoc:
0
 
0
   # Path to the Webby package
0
   PATH = ::File.expand_path(::File.join(::File.dirname(__FILE__), '..'))
...
81
82
83
 
 
 
 
 
 
84
85
86
...
81
82
83
84
85
86
87
88
89
90
91
92
0
@@ -81,6 +81,12 @@ class Resource
0
     @mdata = ::Webby::File.meta_data(@path)
0
     @have_mdata = !@mdata.nil?
0
 
0
+ # TODO - Fix the page_defaults bug
0
+ # This is a bug because some defaults should be settable in the layout
0
+ # (the extension for example) but this clobbers any chance of ever
0
+ # hitting the layout defined extension. Handle this on a case-by-case
0
+ # basis?
0
+ #
0
     @mdata ||= {}
0
     @mdata = ::Webby.site.page_defaults.merge(@mdata) if is_page?
0
     @mdata.sanitize!

Comments

    No one has commented yet.