webby 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. data/History.txt +13 -1
  2. data/Manifest.txt +36 -27
  3. data/README.txt +21 -1
  4. data/Rakefile +12 -8
  5. data/bin/webby +2 -10
  6. data/data/Rakefile +1 -0
  7. data/data/tasks/create.rake +1 -0
  8. data/data/tasks/deploy.rake +1 -0
  9. data/data/tasks/growl.rake +13 -12
  10. data/data/tasks/heel.rake +29 -32
  11. data/data/tasks/setup.rb +4 -9
  12. data/{website → examples/webby}/Rakefile +0 -0
  13. data/{website → examples/webby}/content/css/blueprint/lib/buttons.css +0 -0
  14. data/{website → examples/webby}/content/css/blueprint/lib/compressed.css +0 -0
  15. data/{website → examples/webby}/content/css/blueprint/lib/grid.css +0 -0
  16. data/{website → examples/webby}/content/css/blueprint/lib/img/grid.png +0 -0
  17. data/{website → examples/webby}/content/css/blueprint/lib/img/icons/cross.png +0 -0
  18. data/{website → examples/webby}/content/css/blueprint/lib/img/icons/textfield_key.png +0 -0
  19. data/{website → examples/webby}/content/css/blueprint/lib/img/icons/tick.png +0 -0
  20. data/{website → examples/webby}/content/css/blueprint/lib/reset.css +0 -0
  21. data/{website → examples/webby}/content/css/blueprint/lib/typography.css +0 -0
  22. data/{website → examples/webby}/content/css/blueprint/print.css +0 -0
  23. data/{website → examples/webby}/content/css/blueprint/screen.css +0 -0
  24. data/{website → examples/webby}/content/css/coderay.css +0 -0
  25. data/{website → examples/webby}/content/css/site.css +0 -0
  26. data/{website → examples/webby}/content/download.txt +0 -0
  27. data/{website → examples/webby}/content/index.txt +0 -0
  28. data/examples/webby/content/manual.txt +24 -0
  29. data/{website → examples/webby}/content/robots.txt +0 -0
  30. data/{website → examples/webby}/content/tips_and_tricks.txt +0 -0
  31. data/{website → examples/webby}/content/tutorial.txt +6 -6
  32. data/{website → examples/webby}/layouts/default.rhtml +0 -0
  33. data/{website → examples/webby}/tasks/create.rake +0 -0
  34. data/{website → examples/webby}/tasks/deploy.rake +0 -0
  35. data/{website → examples/webby}/tasks/growl.rake +12 -12
  36. data/{website → examples/webby}/tasks/heel.rake +28 -32
  37. data/{website → examples/webby}/tasks/setup.rb +3 -9
  38. data/{website → examples/webby}/templates/page.erb +0 -0
  39. data/lib/webby/file.rb +33 -1
  40. data/lib/webby/filters/coderay.rb +8 -2
  41. data/lib/webby/filters/erb.rb +11 -0
  42. data/lib/webby/filters/graphviz.rb +22 -8
  43. data/lib/webby/filters/haml.rb +16 -0
  44. data/lib/webby/filters/markdown.rb +10 -0
  45. data/lib/webby/filters/sass.rb +11 -0
  46. data/lib/webby/filters/textile.rb +10 -0
  47. data/lib/webby/filters/tidy.rb +8 -1
  48. data/lib/webby/filters.rb +90 -0
  49. data/lib/webby/helpers/tag_helper.rb +61 -0
  50. data/lib/webby/helpers/url_helper.rb +162 -0
  51. data/lib/webby/pages_db.rb +8 -9
  52. data/lib/webby/renderer.rb +20 -113
  53. data/lib/webby/resource.rb +13 -6
  54. data/lib/webby/utils.rb +13 -1
  55. data/lib/webby/webby_task.rb +7 -1
  56. data/lib/webby.rb +21 -17
  57. data/spec/spec_helper.rb +3 -9
  58. data/tasks/annotations.rake +30 -0
  59. data/tasks/doc.rake +7 -1
  60. data/tasks/gem.rake +6 -2
  61. data/tasks/manifest.rake +6 -4
  62. data/tasks/rubyforge.rake +1 -1
  63. data/tasks/setup.rb +29 -7
  64. data/tasks/spec.rake +8 -5
  65. data/tasks/website.rake +2 -2
  66. metadata +123 -116
  67. data/website/content/manual.txt +0 -60
@@ -1,60 +0,0 @@
1
- ---
2
- title: Manual
3
- created_at: Wed Aug 29 08:57:00 -0600 2007
4
- filter:
5
- - coderay
6
- - graphviz
7
- - textile
8
- ---
9
- <graphviz path="images" alt="test image">
10
- digraph my_graph {
11
- // order all the nodes from Left to Right
12
- rankdir=LR;
13
-
14
- // defaults for each node in the graph
15
- node [shape=rect,
16
- style=filled,
17
- fillcolor="#99CCCC",
18
- fontname="Verdana",
19
- fontsize=10];
20
-
21
- // defaults for each edge in the graph
22
- edge [fontname="Verdana", fontsize=8];
23
-
24
- // the graph
25
- a [URL="/index.html", label="Home"];
26
- b [URL="/download.html", label="Download"];
27
- c [URL="/tutorial.html", label="Tutorial"];
28
- d [label="Manual", fillcolor="#6699CC"];
29
- e [URL="/tips_and_tricks.html", label="Tips &\nTricks"];
30
-
31
- a -> b -> c;
32
- c -> d -> e;
33
- a -> c [URL="http://www.google.com" label="skipping\ndownload"];
34
- }
35
- </graphviz>
36
-
37
- h2. To-Do
38
-
39
- The Webby user's manual goes here.
40
-
41
- <coderay lang="ruby">
42
- def method( blah )
43
- blah.upcase
44
- end
45
- </coderay>
46
-
47
- directory structure
48
- * content
49
- * output
50
- * layouts
51
- * templates
52
- * lib
53
- * tasks
54
-
55
- resources
56
-
57
- renderer
58
-
59
- pages database
60
-