docjs 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +7 -5
- data/bin/docjs +33 -8
- data/bin/docjs.rb +239 -0
- data/docjs.gemspec +2 -2
- data/lib/boot.rb +5 -3
- data/lib/code_object/base.rb +1 -0
- data/lib/code_object/function.rb +21 -37
- data/lib/code_object/object.rb +1 -1
- data/lib/helper/helper.rb +16 -3
- data/lib/helper/linker.rb +5 -2
- data/lib/parser/parser.rb +20 -6
- data/lib/token/container.rb +0 -1
- data/lib/token/handler.rb +46 -6
- data/lib/token/token.rb +3 -2
- data/templates/helpers/template.rb +15 -5
- data/templates/resources/css/application.css +65 -14
- data/templates/resources/js/application.js +33 -11
- data/templates/resources/js/regexpx.js +652 -0
- data/templates/resources/js/shBrushJScript.js +55 -0
- data/templates/resources/js/shCore.js +1596 -0
- data/templates/resources/scss/_header.scss +2 -1
- data/templates/resources/scss/_helpers.scss +6 -6
- data/templates/resources/scss/_highlighter.scss +70 -0
- data/templates/resources/scss/application.scss +8 -8
- data/templates/tokens/tokens.rb +55 -4
- data/templates/views/function/_detail.html.erb +1 -1
- data/templates/views/function/index.html.erb +16 -4
- data/templates/views/layout/application.html.erb +5 -5
- data/templates/views/layout/json.html.erb +3 -3
- data/templates/views/object/index.html.erb +3 -3
- data/templates/views/tokens/_default.html.erb +4 -2
- data/templates/views/tokens/_default_token.html.erb +2 -1
- data/templates/views/tokens/_example.html.erb +1 -1
- data/templates/views/tokens/_overload.html.erb +12 -0
- data/test/interactive.rb +5 -2
- data/test/js-files/core-doc.js +20 -12
- data/test/parser/intelligent_skip_until.rb +1 -1
- data/test/parser/parser.rb +3 -6
- metadata +8 -2
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: docjs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Jonathan Brachth\xC3\xA4user"
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-16 00:00:00 +02:00
|
14
14
|
default_executable: bin/docjs
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- README.md
|
51
51
|
- RENDERING.md
|
52
52
|
- bin/docjs
|
53
|
+
- bin/docjs.rb
|
53
54
|
- docjs.gemspec
|
54
55
|
- lib/boot.rb
|
55
56
|
- lib/code_object/base.rb
|
@@ -101,9 +102,13 @@ files:
|
|
101
102
|
- templates/resources/js/jquery.js
|
102
103
|
- templates/resources/js/jquery.tooltip.js
|
103
104
|
- templates/resources/js/jquery.treeview.js
|
105
|
+
- templates/resources/js/regexpx.js
|
106
|
+
- templates/resources/js/shBrushJScript.js
|
107
|
+
- templates/resources/js/shCore.js
|
104
108
|
- templates/resources/scss/_footer.scss
|
105
109
|
- templates/resources/scss/_header.scss
|
106
110
|
- templates/resources/scss/_helpers.scss
|
111
|
+
- templates/resources/scss/_highlighter.scss
|
107
112
|
- templates/resources/scss/_print.scss
|
108
113
|
- templates/resources/scss/_resets.scss
|
109
114
|
- templates/resources/scss/_tooltip.scss
|
@@ -126,6 +131,7 @@ files:
|
|
126
131
|
- templates/views/tokens/_default_token.html.erb
|
127
132
|
- templates/views/tokens/_example.html.erb
|
128
133
|
- templates/views/tokens/_examples.html.erb
|
134
|
+
- templates/views/tokens/_overload.html.erb
|
129
135
|
- test/code_object/converter.rb
|
130
136
|
- test/code_object/prototype.rb
|
131
137
|
- test/configs.rb
|