hanna-nouveau 1.0.4 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +105 -0
- data/LICENSE +1 -1
- data/README.rdoc +22 -46
- data/lib/hanna-nouveau/template_files/class_index.erb +4 -0
- data/lib/hanna-nouveau/template_files/file_index.erb +9 -0
- data/lib/hanna-nouveau/template_files/index.erb +15 -0
- data/lib/hanna-nouveau/template_files/layout.erb +34 -0
- data/lib/hanna-nouveau/template_files/method_index.erb +11 -0
- data/lib/hanna-nouveau/template_files/method_list.erb +58 -0
- data/lib/hanna-nouveau/template_files/method_search.js +41 -59
- data/lib/hanna-nouveau/template_files/page.erb +48 -0
- data/lib/hanna-nouveau/template_files/sections.erb +92 -0
- data/lib/hanna-nouveau/template_files/styles.css +353 -0
- data/lib/hanna-nouveau.rb +111 -161
- metadata +28 -29
- data/Rakefile +0 -13
- data/VERSION +0 -1
- data/lib/hanna-nouveau/template_files/class_index.haml +0 -3
- data/lib/hanna-nouveau/template_files/file_index.haml +0 -12
- data/lib/hanna-nouveau/template_files/index.haml +0 -11
- data/lib/hanna-nouveau/template_files/layout.haml +0 -34
- data/lib/hanna-nouveau/template_files/method_index.haml +0 -13
- data/lib/hanna-nouveau/template_files/method_list.haml +0 -56
- data/lib/hanna-nouveau/template_files/page.haml +0 -48
- data/lib/hanna-nouveau/template_files/prototype-1.6.0.3.js +0 -4320
- data/lib/hanna-nouveau/template_files/sections.haml +0 -88
- data/lib/hanna-nouveau/template_files/styles.sass +0 -370
@@ -1,48 +0,0 @@
|
|
1
|
-
- file_page = !values[:classmod]
|
2
|
-
- title_in_description = values[:entry].description && values[:entry].description =~ /^\s*<h1>/m
|
3
|
-
|
4
|
-
.header
|
5
|
-
- title = capture_haml do
|
6
|
-
- if file_page
|
7
|
-
= values[:file].name
|
8
|
-
- else
|
9
|
-
%span.type= values[:classmod]
|
10
|
-
= values[:entry].full_name
|
11
|
-
- if title_in_description
|
12
|
-
.name= title
|
13
|
-
- else
|
14
|
-
%h1.name= title
|
15
|
-
|
16
|
-
- if file_page
|
17
|
-
.paths
|
18
|
-
= values[:file].relative_name
|
19
|
-
- else
|
20
|
-
%ol.paths
|
21
|
-
- values[:entry].in_files.each_with_index do |file, index|
|
22
|
-
%li{ :class => index > 0 ? 'other' : nil }
|
23
|
-
-# FIXME cleanup
|
24
|
-
= link_to file.full_name, Pathname.new(file.path).relative_path_from(Pathname.new(values[:entry].path).dirname)
|
25
|
-
- if values[:entry].in_files.size > 1
|
26
|
-
%li
|
27
|
-
%a.show{ :href => '#', :onclick => 'this.parentNode.parentNode.className += " expanded"; this.parentNode.removeChild(this); return false' } show all
|
28
|
-
|
29
|
-
- if !file_page && values[:entry].type == "class"
|
30
|
-
.parent
|
31
|
-
Superclass:
|
32
|
-
- if values[:entry].superclass.kind_of?(String) || !values[:entry].superclass
|
33
|
-
%strong= values[:entry].superclass
|
34
|
-
- else
|
35
|
-
%strong= link_to values[:entry].superclass.name, Pathname.new(class_dir) + Pathname.new(values[:entry].superclass.path).relative_path_from(Pathname.new values[:entry].path)
|
36
|
-
|
37
|
-
|
38
|
-
- if values[:entry].respond_to?(:last_modified) and values[:entry].last_modified
|
39
|
-
.last-update
|
40
|
-
Last Update:
|
41
|
-
%span.datetime= values[:entry].last_modified
|
42
|
-
|
43
|
-
#content
|
44
|
-
#text
|
45
|
-
- if values[:description]
|
46
|
-
#description~ sanitize_code_blocks frame_link values[:description]
|
47
|
-
|
48
|
-
= frame_link yield
|