emmett 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,146 @@
1
+ /* GitHub Theme for Pygments. */
2
+
3
+ .hll { background-color: #ffffcc }
4
+ .c { color: #999988; font-style: italic } /* Comment */
5
+ .err { color: #a61717; background-color: #e3d2d2 } /* Error */
6
+ .k { color: #000000; font-weight: bold } /* Keyword */
7
+ .o { color: #000000; font-weight: bold } /* Operator */
8
+ .cm { color: #999988; font-style: italic } /* Comment.Multiline */
9
+ .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
10
+ .c1 { color: #999988; font-style: italic } /* Comment.Single */
11
+ .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
12
+ .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
13
+ .ge { color: #000000; font-style: italic } /* Generic.Emph */
14
+ .gr { color: #aa0000 } /* Generic.Error */
15
+ .gh { color: #999999 } /* Generic.Heading */
16
+ .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
17
+ .go { color: #888888 } /* Generic.Output */
18
+ .gp { color: #555555 } /* Generic.Prompt */
19
+ .gs { font-weight: bold } /* Generic.Strong */
20
+ .gu { color: #aaaaaa } /* Generic.Subheading */
21
+ .gt { color: #aa0000 } /* Generic.Traceback */
22
+ .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
23
+ .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
24
+ .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
25
+ .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
26
+ .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
27
+ .kt { color: #445588; font-weight: bold } /* Keyword.Type */
28
+ .m { color: #009999 } /* Literal.Number */
29
+ .s { color: #d01040 } /* Literal.String */
30
+ .na { color: #008080 } /* Name.Attribute */
31
+ .nb { color: #0086B3 } /* Name.Builtin */
32
+ .nc { color: #445588; font-weight: bold } /* Name.Class */
33
+ .no { color: #008080 } /* Name.Constant */
34
+ .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
35
+ .ni { color: #800080 } /* Name.Entity */
36
+ .ne { color: #990000; font-weight: bold } /* Name.Exception */
37
+ .nf { color: #990000; font-weight: bold } /* Name.Function */
38
+ .nl { color: #990000; font-weight: bold } /* Name.Label */
39
+ .nn { color: #555555 } /* Name.Namespace */
40
+ .nt { color: #000080 } /* Name.Tag */
41
+ .nv { color: #008080 } /* Name.Variable */
42
+ .ow { color: #000000; font-weight: bold } /* Operator.Word */
43
+ .w { color: #bbbbbb } /* Text.Whitespace */
44
+ .mf { color: #009999 } /* Literal.Number.Float */
45
+ .mh { color: #009999 } /* Literal.Number.Hex */
46
+ .mi { color: #009999 } /* Literal.Number.Integer */
47
+ .mo { color: #009999 } /* Literal.Number.Oct */
48
+ .sb { color: #d01040 } /* Literal.String.Backtick */
49
+ .sc { color: #d01040 } /* Literal.String.Char */
50
+ .sd { color: #d01040 } /* Literal.String.Doc */
51
+ .s2 { color: #d01040 } /* Literal.String.Double */
52
+ .se { color: #d01040 } /* Literal.String.Escape */
53
+ .sh { color: #d01040 } /* Literal.String.Heredoc */
54
+ .si { color: #d01040 } /* Literal.String.Interpol */
55
+ .sx { color: #d01040 } /* Literal.String.Other */
56
+ .sr { color: #009926 } /* Literal.String.Regex */
57
+ .s1 { color: #d01040 } /* Literal.String.Single */
58
+ .ss { color: #990073 } /* Literal.String.Symbol */
59
+ .bp { color: #999999 } /* Name.Builtin.Pseudo */
60
+ .vc { color: #008080 } /* Name.Variable.Class */
61
+ .vg { color: #008080 } /* Name.Variable.Global */
62
+ .vi { color: #008080 } /* Name.Variable.Instance */
63
+ .il { color: #009999 } /* Literal.Number.Integer.Long */
64
+
65
+ #page-navigation .container {
66
+ width: 1300px;
67
+ }
68
+
69
+ body {
70
+ padding-top: 50px
71
+ }
72
+
73
+ .navbar a.brand {
74
+ color: #FFF;
75
+ font-weight: bold;
76
+ }
77
+
78
+ footer.footer {
79
+ margin-top: 2em;
80
+ border-top: 1px solid #DDD;
81
+ padding: 1em 0;
82
+ color: #555;
83
+ overflow: hidden;
84
+ }
85
+
86
+ #content h1:before, #content h2:before {
87
+ content: "";
88
+ display: block;
89
+ height: 50px;
90
+ margin: -50px 0 0;
91
+ }
92
+
93
+ #document-index {
94
+ padding-top: 10px;
95
+ border-top: 1px solid #DDD;
96
+ display: block;
97
+ }
98
+
99
+ #document-index #inner-index {
100
+ -moz-column-count: 3;
101
+ -moz-column-gap: 1em;
102
+ -moz-column-rule: 1px solid #DDD;
103
+ -webkit-column-count: 3;
104
+ -webkit-column-gap: 1em;
105
+ -webkit-column-rule: 1px solid #DDD;
106
+ column-count: 3;
107
+ column-gap: 1em;
108
+ column-rule: 1px solid #DDD;
109
+ }
110
+
111
+ #document-index h2 {
112
+ margin: 0 0 0.5em;
113
+ font-size: 2em;
114
+ }
115
+
116
+ #document-index ul {
117
+ list-style: none;
118
+ margin: 0;
119
+ padding: 0;
120
+ }
121
+
122
+ #document-index h3 {
123
+ font-size: 1.25em;
124
+ font-weight: bold;
125
+ }
126
+
127
+ #inner-index > ul > li {
128
+ padding: 1em 0;
129
+ -webkit-column-break-inside: avoid;
130
+ -moz-column-break-inside: avoid;
131
+ column-break-inside: avoid;
132
+ }
133
+
134
+ #document-index h3 a {
135
+ color: #444;
136
+ }
137
+
138
+ #document-index .sections li {
139
+ line-height: 1.8em;
140
+ }
141
+
142
+ #document-index .sections a {
143
+ font-size: 1em;
144
+ font-weight: normal;
145
+ color: #666;
146
+ }
@@ -0,0 +1,8 @@
1
+ <footer class='footer'>
2
+ <p class='pull-left'>Documentation built with Emmett.</p>
3
+ <p class='pull-right'><a href="#">Back to Top</a></p>
4
+ </footer>
5
+
6
+ <script src="./javascripts/jquery-1.7.2.min.js" type="text/javascript"></script>
7
+ <script src="./javascripts/bootstrap.min.js" type="text/javascript"></script>
8
+ <script src="./javascripts/documentation.js" type="text/javascript"></script>
@@ -0,0 +1,5 @@
1
+ <head>
2
+ <title>{{site_name}}{{#page_title}} - {{page_title}}{{/page_title}}</title>
3
+ <link href="./stylesheets/bootstrap.min.css" media="screen" rel="stylesheet" type="text/css" />
4
+ <link href="./stylesheets/documentation.css" media="screen" rel="stylesheet" type="text/css" />
5
+ </head>
@@ -0,0 +1,19 @@
1
+ <div class='navbar navbar-fixed-top' id="page-navigation">
2
+ <div class='navbar-inner'>
3
+ <div class='container'>
4
+ <a href="./index.html" class="brand">{{site_name}}</a>
5
+ <ul class='nav pull-right'>
6
+ {{#links}}
7
+ <li class='dropdown'>
8
+ <a href='{{link}}' class='dropdown-toggle{{#is_current_doc}} current-document{{/is_current_doc}}' data-toggle='dropdown'>{{title}} <b class="caret"></b></a>
9
+ <ul class="dropdown-menu">
10
+ {{#sections}}
11
+ <li><a href="{{../link}}#{{hash}}">{{name}}</a></li>
12
+ {{/sections}}
13
+ </ul>
14
+ </li>
15
+ {{/links}}
16
+ </ul>
17
+ </div>
18
+ </div>
19
+ </div>
@@ -0,0 +1,34 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {{>head}}
4
+ <body>
5
+ {{>navigation}}
6
+
7
+ <div class='container'>
8
+
9
+ <div id='content'>
10
+ {{{content}}}
11
+ </div>
12
+
13
+ <section id="document-index">
14
+ <h2>API Index</h2>
15
+ <div id='inner-index'>
16
+ <ul>
17
+ {{#links}}
18
+ <li>
19
+ <h3><a href="{{link}}">{{title}}</a></h4>
20
+ <ul class="sections">
21
+ {{#sections}}
22
+ <li><a href="{{../link}}#{{hash}}">{{name}}</a></li>
23
+ {{/sections}}
24
+ </ul>
25
+ </li>
26
+ {{/links}}
27
+ </ul>
28
+ </div>
29
+ </section>
30
+
31
+ {{>footer}}
32
+ </div>
33
+ </body>
34
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ {{>head}}
4
+ <body>
5
+ {{>navigation}}
6
+
7
+ <div class='container documentation-page'>
8
+ <div id='content'>
9
+ {{{content}}}
10
+ </div>
11
+
12
+ {{>footer}}
13
+ </div>
14
+ </body>
15
+ </html>
metadata ADDED
@@ -0,0 +1,201 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: emmett
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Darcy Laycock
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-07-06 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: github-markdown
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: github-markup
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: nokogiri
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: pygments.rb
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: handlebars
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: oj
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: http_parser.rb
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ description: Tools to make building API docs simpler.
143
+ email:
144
+ - darcy@filtersquad.com
145
+ executables: []
146
+ extensions: []
147
+ extra_rdoc_files: []
148
+ files:
149
+ - .gitignore
150
+ - Gemfile
151
+ - LICENSE
152
+ - README.md
153
+ - Rakefile
154
+ - emmett.gemspec
155
+ - lib/emmett.rb
156
+ - lib/emmett/configuration.rb
157
+ - lib/emmett/document.rb
158
+ - lib/emmett/document_manager.rb
159
+ - lib/emmett/http_request_processor.rb
160
+ - lib/emmett/railtie.rb
161
+ - lib/emmett/rake_task.rb
162
+ - lib/emmett/renderer.rb
163
+ - lib/emmett/template.rb
164
+ - lib/emmett/version.rb
165
+ - templates/default/static/images/glyphicons-halflings-white.png
166
+ - templates/default/static/images/glyphicons-halflings.png
167
+ - templates/default/static/javascripts/bootstrap.min.js
168
+ - templates/default/static/javascripts/documentation.js
169
+ - templates/default/static/javascripts/jquery-1.7.2.min.js
170
+ - templates/default/static/stylesheets/bootstrap.min.css
171
+ - templates/default/static/stylesheets/documentation.css
172
+ - templates/default/templates/_footer.handlebars
173
+ - templates/default/templates/_head.handlebars
174
+ - templates/default/templates/_navigation.handlebars
175
+ - templates/default/templates/index.handlebars
176
+ - templates/default/templates/section.handlebars
177
+ homepage: ''
178
+ licenses: []
179
+ post_install_message:
180
+ rdoc_options: []
181
+ require_paths:
182
+ - lib
183
+ required_ruby_version: !ruby/object:Gem::Requirement
184
+ none: false
185
+ requirements:
186
+ - - ! '>='
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ none: false
191
+ requirements:
192
+ - - ! '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ requirements: []
196
+ rubyforge_project:
197
+ rubygems_version: 1.8.24
198
+ signing_key:
199
+ specification_version: 3
200
+ summary: Tools to make building API docs simpler.
201
+ test_files: []