yard_klippstein_template 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/License.rdoc ADDED
@@ -0,0 +1,17 @@
1
+
2
+ == License
3
+ Creative Commons Attribution-Share Alike 3.0 Germany
4
+
5
+ (cc-by-sa) http://creativecommons.org/licenses/by-sa/3.0/de/deed.en
6
+
7
+ AUTOR: Björn Klippstein
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
10
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
11
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
12
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
13
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
14
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
15
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16
+
17
+
data/Manifest.txt ADDED
@@ -0,0 +1,10 @@
1
+ License.rdoc
2
+ Manifest.txt
3
+ Rakefile.rb
4
+ README.rdoc
5
+ version.rb
6
+ templates/default/fulldoc/html/css/klippstein.css
7
+ templates/default/fulldoc/html/js/klippstein.js
8
+ templates/default/layout/html/setup.rb
9
+ lib/yard_klippstein_template.rb
10
+
data/README.rdoc ADDED
@@ -0,0 +1,24 @@
1
+
2
+ = Klippstein Template For Ruby Yard
3
+ http://bklippstein.github.com/yard_klippstein_template/frames.html
4
+
5
+
6
+ == Usage
7
+ require 'yard_klippstein_template'
8
+
9
+
10
+ == More Info
11
+ * *Documentation*: {http://bklippstein.github.com/yard_klippstein_template/frames.html github.com/yard_klippstein_template}
12
+ * *Source* *code*: {https://github.com/bklippstein/yard_klippstein_template github.com/bklippstein/yard_klippstein_template}
13
+ * *License*: {http://creativecommons.org/licenses/by-sa/3.0/de/deed.en cc-by-sa Creative Commons Attribution-Share Alike 3.0 Germany}
14
+ * *Autor*: {mailto:klippstein@klippstein.com Björn Klippstein}
15
+
16
+
17
+ == Disclaimer
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
22
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
23
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
24
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile.rb ADDED
@@ -0,0 +1,52 @@
1
+ # ruby encoding: utf-8
2
+
3
+ require 'drumherum'
4
+ smart_init
5
+ require 'version'
6
+ require 'yard'
7
+ require 'drumherum/rake'
8
+ YARD::Rake::YardocTask.new
9
+ Drumherum.github_username = 'bklippstein'
10
+
11
+
12
+
13
+ # ----------------------------------------------------------------------------------------------
14
+ # Hoe
15
+ #
16
+ # http://nubyonrails.com/articles/tutorial-publishing-rubygems-with-hoe
17
+ #
18
+ $hoe = Hoe.spec Drumherum.project_name do
19
+
20
+ # self.rubyforge_name = 'yourgemx' # if different than 'yourgem'
21
+
22
+ developer('Bjoern Klippstein', 'klippstein@klippstein.com')
23
+ summary = 'Yard template'
24
+ extra_dev_deps << ['drumherum', '>= 0.1.26']
25
+
26
+ remote_rdoc_dir = '' # Release to root only one project
27
+ urls = [[Drumherum.url_docs], [Drumherum.url_source]]
28
+
29
+
30
+ end
31
+
32
+ # require 'pp'
33
+ # pp $hoe
34
+
35
+
36
+
37
+
38
+ # ----------------------------------------------------------------------------------------------
39
+ # Hide Tasks
40
+ #
41
+
42
+ hide_tasks [ :announce, :audit, :check_extra_deps, :clobber_docs, :clobber_package, :default ]
43
+ hide_tasks [ :dcov, :debug_email, :docs, :gem, :git_add, :git_commit, :git_push, :install_gem ]
44
+ hide_tasks [ :newb, :package, :post_blog, :publish_docs, :release, :release_sanity, :release_to_gemcutter ]
45
+ hide_tasks [ :repackage, :ridocs, :sleep_15, :sleep_5, :utf8, :yard, :yard_post ]
46
+
47
+
48
+
49
+
50
+
51
+
52
+
@@ -0,0 +1,5 @@
1
+ # ruby encoding: utf-8
2
+ YARD::Templates::Engine.register_template_path File.dirname(__FILE__) + '/../templates'
3
+
4
+
5
+
@@ -0,0 +1,86 @@
1
+
2
+
3
+ /* Headlines */
4
+ h2 {
5
+ padding: 10px 0 3px 0;
6
+ border-top: 1px #555 solid;
7
+ border-bottom: 0px;
8
+ margin: 3em 0 0.5em;
9
+ font-size: 1.7em;
10
+ }
11
+
12
+ p.signature, h3.signature {
13
+ font-family: Monaco,Consolas,Courier,monospace;
14
+ font-size: 1.5em;
15
+ }
16
+
17
+ .method_details {
18
+ border-top: 0px;
19
+ margin-top: 50px;
20
+ padding-top: 0;
21
+ clear:both;
22
+ }
23
+
24
+ .method_details.first {
25
+ margin-top: 15px;
26
+ }
27
+
28
+
29
+
30
+ /* method summary */
31
+
32
+ ul.summary {
33
+ border-bottom: 1px #ccc dotted;
34
+ margin-left:0px; padding-left:0px;
35
+ }
36
+
37
+ ul.summary li {
38
+ border-top: 1px #ccc dotted;
39
+ margin: 0px;
40
+ padding: 1px 0px 1px 0px;
41
+
42
+ }
43
+
44
+
45
+ ul.summary a:link, ul.summary a:visited {
46
+ font-size: 0.9em;
47
+ font-weight:normal !important;
48
+ }
49
+
50
+ .summary .summary_signature {
51
+ background: none;
52
+ border: 0px;
53
+ padding: 1px 10px;
54
+ }
55
+
56
+ .summary .summary_desc {
57
+ display: inline;
58
+ margin:0px;
59
+ }
60
+
61
+ p.signature, h3.signature {
62
+ background: none repeat scroll 0 0 #FAEECC;
63
+ border: 0;
64
+
65
+ }
66
+
67
+
68
+ /* method details */
69
+ .note.returns_void {
70
+ display :none;
71
+ }
72
+
73
+
74
+ .showSource {
75
+ display: none;
76
+ float: right;
77
+ }
78
+
79
+ table.source_code {
80
+ margin-left: 100px;
81
+ border-left: 0px;
82
+ display: table !important;
83
+ }
84
+
85
+
86
+
@@ -0,0 +1,9 @@
1
+
2
+ function viewSource() {
3
+ $('.toggleSource').parent().nextAll('.source_code').slideDown(100);
4
+ $('.toggleSource').text("Hide source");
5
+ }
6
+
7
+
8
+
9
+ $(viewSource);
@@ -0,0 +1,10 @@
1
+
2
+ def stylesheets
3
+ # Load the existing stylesheets while appending the custom one
4
+ super + %w(css/klippstein.css)
5
+ end
6
+
7
+ def javascripts
8
+ # Load the existing javascripts while appending the custom one
9
+ super + %w(js/klippstein.js)
10
+ end
data/version.rb ADDED
@@ -0,0 +1,7 @@
1
+
2
+ module YardKlippsteinTemplate
3
+
4
+ VERSION = '0.0.3'
5
+
6
+ end
7
+
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: yard_klippstein_template
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Bjoern Klippstein
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rdoc
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '3.10'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.10'
30
+ - !ruby/object:Gem::Dependency
31
+ name: drumherum
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: 0.1.26
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.1.26
46
+ - !ruby/object:Gem::Dependency
47
+ name: hoe
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.1'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.1'
62
+ description: ''
63
+ email:
64
+ - klippstein@klippstein.com
65
+ executables: []
66
+ extensions: []
67
+ extra_rdoc_files:
68
+ - License.rdoc
69
+ - Manifest.txt
70
+ - README.rdoc
71
+ files:
72
+ - License.rdoc
73
+ - Manifest.txt
74
+ - Rakefile.rb
75
+ - README.rdoc
76
+ - version.rb
77
+ - templates/default/fulldoc/html/css/klippstein.css
78
+ - templates/default/fulldoc/html/js/klippstein.js
79
+ - templates/default/layout/html/setup.rb
80
+ - lib/yard_klippstein_template.rb
81
+ homepage: http://bklippstein.github.com/yard_klippstein_template/frames.html
82
+ licenses: []
83
+ post_install_message:
84
+ rdoc_options:
85
+ - --main
86
+ - README.rdoc
87
+ require_paths:
88
+ - lib
89
+ required_ruby_version: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ! '>='
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ requirements: []
102
+ rubyforge_project: yard_klippstein_template
103
+ rubygems_version: 1.8.24
104
+ signing_key:
105
+ specification_version: 3
106
+ summary: ''
107
+ test_files: []