pdoc 0.2.0

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.
Files changed (122) hide show
  1. data/README.markdown +34 -0
  2. data/Rakefile +46 -0
  3. data/bin/pdoc +58 -0
  4. data/lib/pdoc.rb +32 -0
  5. data/lib/pdoc/error.rb +4 -0
  6. data/lib/pdoc/generators.rb +6 -0
  7. data/lib/pdoc/generators/abstract_generator.rb +16 -0
  8. data/lib/pdoc/generators/html.rb +8 -0
  9. data/lib/pdoc/generators/html/helpers.rb +256 -0
  10. data/lib/pdoc/generators/html/page.rb +71 -0
  11. data/lib/pdoc/generators/html/syntax_highlighter.rb +41 -0
  12. data/lib/pdoc/generators/html/template.rb +37 -0
  13. data/lib/pdoc/generators/html/website.rb +194 -0
  14. data/lib/pdoc/generators/json.rb +15 -0
  15. data/lib/pdoc/generators/pythonesque.rb +105 -0
  16. data/lib/pdoc/models.rb +47 -0
  17. data/lib/pdoc/models/argument.rb +37 -0
  18. data/lib/pdoc/models/base.rb +107 -0
  19. data/lib/pdoc/models/callable.rb +19 -0
  20. data/lib/pdoc/models/class.rb +28 -0
  21. data/lib/pdoc/models/class_method.rb +18 -0
  22. data/lib/pdoc/models/class_property.rb +9 -0
  23. data/lib/pdoc/models/constant.rb +9 -0
  24. data/lib/pdoc/models/constructor.rb +14 -0
  25. data/lib/pdoc/models/container.rb +114 -0
  26. data/lib/pdoc/models/entity.rb +54 -0
  27. data/lib/pdoc/models/instance_method.rb +18 -0
  28. data/lib/pdoc/models/instance_property.rb +9 -0
  29. data/lib/pdoc/models/mixin.rb +10 -0
  30. data/lib/pdoc/models/namespace.rb +10 -0
  31. data/lib/pdoc/models/root.rb +27 -0
  32. data/lib/pdoc/models/section.rb +19 -0
  33. data/lib/pdoc/models/signature.rb +27 -0
  34. data/lib/pdoc/models/utility.rb +11 -0
  35. data/lib/pdoc/parser.rb +109 -0
  36. data/lib/pdoc/parser/argument_description_nodes.rb +21 -0
  37. data/lib/pdoc/parser/basic_nodes.rb +31 -0
  38. data/lib/pdoc/parser/description_nodes.rb +42 -0
  39. data/lib/pdoc/parser/documentation_nodes.rb +483 -0
  40. data/lib/pdoc/parser/ebnf_arguments_nodes.rb +58 -0
  41. data/lib/pdoc/parser/ebnf_expression_nodes.rb +227 -0
  42. data/lib/pdoc/parser/fragment.rb +55 -0
  43. data/lib/pdoc/parser/section_content_nodes.rb +19 -0
  44. data/lib/pdoc/parser/tags_nodes.rb +14 -0
  45. data/lib/pdoc/parser/treetop_files/argument_description.treetop +31 -0
  46. data/lib/pdoc/parser/treetop_files/basic.treetop +41 -0
  47. data/lib/pdoc/parser/treetop_files/description.treetop +7 -0
  48. data/lib/pdoc/parser/treetop_files/documentation.treetop +75 -0
  49. data/lib/pdoc/parser/treetop_files/ebnf_arguments.treetop +33 -0
  50. data/lib/pdoc/parser/treetop_files/ebnf_expression.treetop +70 -0
  51. data/lib/pdoc/parser/treetop_files/ebnf_javascript.treetop +54 -0
  52. data/lib/pdoc/parser/treetop_files/events.treetop +17 -0
  53. data/lib/pdoc/parser/treetop_files/section_content.treetop +8 -0
  54. data/lib/pdoc/parser/treetop_files/tags.treetop +31 -0
  55. data/lib/pdoc/runner.rb +110 -0
  56. data/lib/pdoc/treemaker.rb +94 -0
  57. data/pdoc.gemspec +31 -0
  58. data/templates/html/assets/images/pdoc/alias.png +0 -0
  59. data/templates/html/assets/images/pdoc/class.png +0 -0
  60. data/templates/html/assets/images/pdoc/class_deprecated.png +0 -0
  61. data/templates/html/assets/images/pdoc/class_method.png +0 -0
  62. data/templates/html/assets/images/pdoc/class_property.png +0 -0
  63. data/templates/html/assets/images/pdoc/constant.png +0 -0
  64. data/templates/html/assets/images/pdoc/constructor.png +0 -0
  65. data/templates/html/assets/images/pdoc/deprecated.png +0 -0
  66. data/templates/html/assets/images/pdoc/description.png +0 -0
  67. data/templates/html/assets/images/pdoc/information.png +0 -0
  68. data/templates/html/assets/images/pdoc/instance_method.png +0 -0
  69. data/templates/html/assets/images/pdoc/instance_property.png +0 -0
  70. data/templates/html/assets/images/pdoc/method.png +0 -0
  71. data/templates/html/assets/images/pdoc/method_deprecated.png +0 -0
  72. data/templates/html/assets/images/pdoc/mixin.png +0 -0
  73. data/templates/html/assets/images/pdoc/namespace.png +0 -0
  74. data/templates/html/assets/images/pdoc/property.png +0 -0
  75. data/templates/html/assets/images/pdoc/related_to.png +0 -0
  76. data/templates/html/assets/images/pdoc/search-background.png +0 -0
  77. data/templates/html/assets/images/pdoc/section-background.png +0 -0
  78. data/templates/html/assets/images/pdoc/section.png +0 -0
  79. data/templates/html/assets/images/pdoc/selected-section-background.png +0 -0
  80. data/templates/html/assets/images/pdoc/subclass.png +0 -0
  81. data/templates/html/assets/images/pdoc/superclass.png +0 -0
  82. data/templates/html/assets/images/pdoc/utility.png +0 -0
  83. data/templates/html/assets/javascripts/pdoc/application.js +478 -0
  84. data/templates/html/assets/javascripts/pdoc/prototype.js +4874 -0
  85. data/templates/html/assets/javascripts/pdoc/tabs.js +506 -0
  86. data/templates/html/assets/stylesheets/pdoc/api.css +677 -0
  87. data/templates/html/assets/stylesheets/pdoc/pygments.css +62 -0
  88. data/templates/html/helpers.rb +35 -0
  89. data/templates/html/index.erb +18 -0
  90. data/templates/html/item_index.js.erb +6 -0
  91. data/templates/html/layout.erb +67 -0
  92. data/templates/html/leaf.erb +22 -0
  93. data/templates/html/node.erb +30 -0
  94. data/templates/html/partials/class_relationships.erb +19 -0
  95. data/templates/html/partials/classes.erb +7 -0
  96. data/templates/html/partials/constructor.erb +5 -0
  97. data/templates/html/partials/description.erb +5 -0
  98. data/templates/html/partials/link_list.erb +1 -0
  99. data/templates/html/partials/method_signatures.erb +14 -0
  100. data/templates/html/partials/methodized_note.erb +9 -0
  101. data/templates/html/partials/mixins.erb +7 -0
  102. data/templates/html/partials/namespaces.erb +7 -0
  103. data/templates/html/partials/related_utilities.erb +5 -0
  104. data/templates/html/partials/relationships.erb +11 -0
  105. data/templates/html/partials/short_description_list.erb +7 -0
  106. data/templates/html/partials/title.erb +22 -0
  107. data/templates/html/section.erb +18 -0
  108. data/test/unit/parser/argument_description_test.rb +40 -0
  109. data/test/unit/parser/basic_test.rb +55 -0
  110. data/test/unit/parser/description_test.rb +34 -0
  111. data/test/unit/parser/documentation_test.rb +520 -0
  112. data/test/unit/parser/ebnf_arguments_test.rb +81 -0
  113. data/test/unit/parser/ebnf_expression_test.rb +382 -0
  114. data/test/unit/parser/ebnf_javascript_test.rb +37 -0
  115. data/test/unit/parser/events_test.rb +27 -0
  116. data/test/unit/parser/section_content_test.rb +44 -0
  117. data/test/unit/parser/tags_test.rb +39 -0
  118. data/test/unit/parser/test_fragment.rb +80 -0
  119. data/test/unit/parser_test_helper.rb +62 -0
  120. data/test/unit/runner/basic_test.rb +14 -0
  121. data/test/unit/templates/html_helpers_test.rb +25 -0
  122. metadata +222 -0
@@ -0,0 +1,37 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))
2
+
3
+ class EbnfJavascriptTest < Test::Unit::TestCase
4
+ include PDocTestHelper
5
+
6
+ def setup
7
+ @parser = EbnfJavascriptParser.new
8
+ end
9
+
10
+ def test_variable
11
+ assert_parsed "innerHTML"
12
+ assert_parsed "extended"
13
+ assert_parsed "getElementsByClassName"
14
+ end
15
+
16
+ def test_constant
17
+ assert_parsed "Element"
18
+ assert_parsed "DefaultOptions"
19
+ end
20
+
21
+ def test_all_caps_constant
22
+ assert_parsed "CSS"
23
+ assert_parsed "KEY_BACKSPACE"
24
+ end
25
+
26
+ def test_object # basic and non-recursive
27
+ assert_parsed "{}"
28
+ assert_parsed "{foo: 'bar'}"
29
+ end
30
+
31
+ def test_namespace # basic and non-recursive
32
+ assert_parsed "Foo.Bar"
33
+ assert_parsed "foo.bar"
34
+ assert_parsed "foo.Bar"
35
+ assert_parsed "Foo.bar"
36
+ end
37
+ end
@@ -0,0 +1,27 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))
2
+
3
+ class EventsTest < Test::Unit::TestCase
4
+ include PDocTestHelper
5
+
6
+ def setup
7
+ @parser = EventsParser.new
8
+ end
9
+
10
+ def test_single_event
11
+ fixture = "\n * fires click"
12
+ assert_parsed fixture
13
+ assert_equal %w[click], parse(fixture).to_a
14
+ end
15
+
16
+ def test_single_namespaced_event
17
+ fixture = "\n * fires element:updated"
18
+ assert_parsed fixture
19
+ assert_equal %w[element:updated], parse(fixture).to_a
20
+ end
21
+
22
+ def test_multiple_events
23
+ fixture = "\n * fires click, element:updated"
24
+ assert_parsed fixture
25
+ assert_equal %w[click element:updated], parse(fixture).to_a
26
+ end
27
+ end
@@ -0,0 +1,44 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))
2
+
3
+ class SectionContentTest < Test::Unit::TestCase
4
+ include PDocTestHelper
5
+ include Basic
6
+ include Description
7
+ include SectionContent
8
+
9
+ def setup
10
+ @parser = SectionContentParser.new
11
+ end
12
+
13
+ def test_parsing
14
+ assert_parsed "\n* ==dom==\n * hello"
15
+ assert_parsed "\n* == dom == \n * hello"
16
+ end
17
+
18
+ def test_section
19
+ text = "\n* == dom == \n * hello"
20
+ assert_equal Section, parse(text).class
21
+ end
22
+
23
+ def test_title
24
+ text = "\n* == DOM == \n * hello"
25
+ assert_equal "DOM", parse(text).name
26
+ assert_equal "DOM", parse(text).full_name
27
+ assert_equal "dom", parse(text).id
28
+
29
+ text = "\n* == Some Section == \n * hello"
30
+ assert_equal "Some Section", parse(text).name
31
+ assert_equal "Some Section", parse(text).full_name
32
+ assert_equal "some_section", parse(text).id
33
+
34
+ text = "\n* == scripty2 == \n * hello"
35
+ assert_equal "scripty2", parse(text).name
36
+ assert_equal "scripty2", parse(text).full_name
37
+ assert_equal "scripty2", parse(text).id
38
+ end
39
+
40
+ def test_description
41
+ text = "\n* == Some Section == \n * hello"
42
+ assert_equal "hello", parse(text).description
43
+ end
44
+ end
@@ -0,0 +1,39 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))
2
+
3
+ class TagsTest < Test::Unit::TestCase
4
+ include PDocTestHelper
5
+
6
+ def setup
7
+ @parser = TagsParser.new
8
+ end
9
+
10
+ def test_valueless_tag
11
+ tag = "deprecated"
12
+ assert_parsed tag
13
+ assert_equal "deprecated", parse(tag).to_a.first.name
14
+ assert_equal nil, parse(tag).to_a.first.value
15
+ end
16
+
17
+ def test_tag_with_value
18
+ tag = "section: dom"
19
+ assert_parsed tag
20
+ assert_equal "section", parse(tag).to_a.first.name
21
+ assert_equal "dom", parse(tag).to_a.first.value
22
+
23
+ tag = "alias of: $A"
24
+ assert_parsed tag
25
+ assert_equal "alias of", parse(tag).to_a.first.name
26
+ assert_equal "$A", parse(tag).to_a.first.value
27
+ end
28
+
29
+ def test_tags
30
+ tags = "deprecated, alias of: $A"
31
+ assert_parsed tags
32
+ assert_equal "deprecated", parse(tags).to_a.first.name
33
+ assert_equal nil, parse(tags).to_a.first.value
34
+ assert_equal "alias of", parse(tags).to_a.last.name
35
+ assert_equal "$A", parse(tags).to_a.last.value
36
+ assert parse(tags).include?("deprecated")
37
+ assert !parse(tags).include?("foo")
38
+ end
39
+ end
@@ -0,0 +1,80 @@
1
+ require "test/unit"
2
+ require "../../../lib/pdoc/parser/fragment"
3
+ require "../../../lib/pdoc/error"
4
+
5
+ class TestFragment < Test::Unit::TestCase
6
+
7
+ def test_normalize_empty_fragment
8
+ fragment =<<EOF
9
+ /**
10
+ *
11
+ *
12
+ **/
13
+ EOF
14
+ fragment = PDoc::Fragment.new(fragment, 0)
15
+ lines = fragment.normalize
16
+ assert_equal("", lines[0])
17
+ assert_equal("", lines[1])
18
+ assert_equal("", lines.last)
19
+ end
20
+
21
+ def test_normalize_basic_fragment
22
+ fragment =<<EOF
23
+ /**
24
+ * foo
25
+ * bar
26
+ **/
27
+ EOF
28
+ fragment = PDoc::Fragment.new(fragment, 0)
29
+ lines = fragment.normalize
30
+ assert_equal("", lines[0])
31
+ assert_equal("foo", lines[1])
32
+ assert_equal(" bar", lines[2])
33
+ assert_equal("", lines.last)
34
+ end
35
+
36
+ def test_normalize_broken_fragment
37
+ fragment =<<EOF
38
+ /**
39
+ * foo
40
+ *bar
41
+ **/
42
+ EOF
43
+ assert_raise PDoc::Fragment::InconsistentPrefixError do
44
+ PDoc::Fragment.new(fragment, 0).normalize
45
+ end
46
+ end
47
+
48
+ def test_empty_prefix
49
+ fragment =<<EOF
50
+ /**
51
+ foo
52
+ bar
53
+ **/
54
+ EOF
55
+ fragment = PDoc::Fragment.new(fragment, 0)
56
+ assert_equal("", fragment.prefix)
57
+ end
58
+
59
+ def test_whitespace_prefix
60
+ fragment =<<EOF
61
+ /**
62
+ foo
63
+ bar
64
+ **/
65
+ EOF
66
+ fragment = PDoc::Fragment.new(fragment, 0)
67
+ assert_equal(" ", fragment.prefix)
68
+ end
69
+
70
+ def test_mixed_prefix
71
+ fragment =<<EOF
72
+ /**
73
+ * foo
74
+ * bar
75
+ **/
76
+ EOF
77
+ fragment = PDoc::Fragment.new(fragment, 0)
78
+ assert_equal(" * ", fragment.prefix)
79
+ end
80
+ end
@@ -0,0 +1,62 @@
1
+ require 'test/unit'
2
+
3
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "lib", "pdoc")) unless defined?(PDoc)
4
+
5
+ class Treetop::Runtime::SyntaxNode
6
+ def method_missing(method, *args)
7
+ raise "Node representing '#{text_value}' does not respond to '#{method}'"
8
+ end
9
+ end
10
+
11
+ module PDocTestHelper
12
+ def parse(input)
13
+ result = @parser.parse(input)
14
+ unless result
15
+ puts "\n" << @parser.terminal_failures.join("\n") << "\n"
16
+ end
17
+ assert !result.nil?
18
+ result
19
+ end
20
+
21
+ def blank_line
22
+ "\n * \n "
23
+ end
24
+
25
+ def parse_file(filename)
26
+ path = File.expand_path(File.join(File.dirname(__FILE__), "..", "fixtures", filename))
27
+ file = File.open(path){ |f| f.read }
28
+ file.gsub!(/\r\n/, "\n")
29
+ file = file.split("\n").map do |line|
30
+ line.gsub(/\s+$/, '')
31
+ end.join("\n")
32
+ parse(file)
33
+ end
34
+
35
+ def assert_parsed(input)
36
+ assert !parse(input).nil?
37
+ end
38
+
39
+ def assert_file_parsed(filename)
40
+ assert !parse_file(filename).nil?
41
+ end
42
+
43
+ def assert_not_parsed(input)
44
+ assert @parser.parse(input).nil?
45
+ end
46
+ end
47
+
48
+ # Stolen from Rails
49
+ unless :test.respond_to?(:to_proc)
50
+ class Symbol
51
+ # Turns the symbol into a simple proc, which is especially useful for enumerations. Examples:
52
+ #
53
+ # # The same as people.collect { |p| p.name }
54
+ # people.collect(&:name)
55
+ #
56
+ # # The same as people.select { |p| p.manager? }.collect { |p| p.salary }
57
+ # people.select(&:manager?).collect(&:salary)
58
+ def to_proc
59
+ Proc.new { |*args| args.shift.__send__(self, *args) }
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,14 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))
2
+
3
+ class BasicTest < Test::Unit::TestCase
4
+
5
+ def test_restores_original_dir
6
+ original_dir = Dir.pwd
7
+ puts "*** #{original_dir}"
8
+ PDoc::Runner.new("test/fixtures/test.txt",
9
+ :output => 'test/output',
10
+ :templates => 'templates/html'
11
+ ).run
12
+ assert_equal original_dir, Dir.pwd
13
+ end
14
+ end
@@ -0,0 +1,25 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))
2
+ require File.expand_path(File.join(File.dirname(__FILE__), *%w[.. .. .. templates html helpers]))
3
+
4
+ class HtmlHelpersTest < Test::Unit::TestCase
5
+ include PDocTestHelper
6
+ # include EbnfExpression
7
+
8
+ def setup
9
+ @helper = Object.new
10
+ class << @helper
11
+ attr_accessor :root
12
+ include PDoc::Generators::Html::Helpers::BaseHelper
13
+ include PDoc::Generators::Html::Helpers::LinkHelper
14
+ include PDoc::Generators::Html::Helpers::CodeHelper
15
+
16
+ def path_to(foo)
17
+ '/some/path' # Not tested here, although it should
18
+ end
19
+ end
20
+ end
21
+
22
+ def test_truth
23
+ assert true
24
+ end
25
+ end
metadata ADDED
@@ -0,0 +1,222 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pdoc
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 0
9
+ version: 0.2.0
10
+ platform: ruby
11
+ authors:
12
+ - Tobie Langel
13
+ autorequire: lib/pdoc.rb
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2008-11-17 00:00:00 -06:00
18
+ default_executable: pdoc
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: BlueCloth
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">"
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 0
30
+ - 0
31
+ version: 0.0.0
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: treetop
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">"
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ - 0
44
+ - 0
45
+ version: 0.0.0
46
+ type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: oyster
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">"
54
+ - !ruby/object:Gem::Version
55
+ segments:
56
+ - 0
57
+ - 0
58
+ - 0
59
+ version: 0.0.0
60
+ type: :runtime
61
+ version_requirements: *id003
62
+ description: PDoc is an inline comment parser and JavaScript documentation generator written in Ruby. It is designed for documenting Prototype and Prototype-based libraries.
63
+ email: tobie.langel@gmail.com
64
+ executables:
65
+ - pdoc
66
+ extensions: []
67
+
68
+ extra_rdoc_files:
69
+ - README.markdown
70
+ files:
71
+ - README.markdown
72
+ - Rakefile
73
+ - pdoc.gemspec
74
+ - lib/pdoc/error.rb
75
+ - lib/pdoc/generators/abstract_generator.rb
76
+ - lib/pdoc/generators/html/helpers.rb
77
+ - lib/pdoc/generators/html/page.rb
78
+ - lib/pdoc/generators/html/syntax_highlighter.rb
79
+ - lib/pdoc/generators/html/template.rb
80
+ - lib/pdoc/generators/html/website.rb
81
+ - lib/pdoc/generators/html.rb
82
+ - lib/pdoc/generators/json.rb
83
+ - lib/pdoc/generators/pythonesque.rb
84
+ - lib/pdoc/generators.rb
85
+ - lib/pdoc/models/argument.rb
86
+ - lib/pdoc/models/base.rb
87
+ - lib/pdoc/models/callable.rb
88
+ - lib/pdoc/models/class.rb
89
+ - lib/pdoc/models/class_method.rb
90
+ - lib/pdoc/models/class_property.rb
91
+ - lib/pdoc/models/constant.rb
92
+ - lib/pdoc/models/constructor.rb
93
+ - lib/pdoc/models/container.rb
94
+ - lib/pdoc/models/entity.rb
95
+ - lib/pdoc/models/instance_method.rb
96
+ - lib/pdoc/models/instance_property.rb
97
+ - lib/pdoc/models/mixin.rb
98
+ - lib/pdoc/models/namespace.rb
99
+ - lib/pdoc/models/root.rb
100
+ - lib/pdoc/models/section.rb
101
+ - lib/pdoc/models/signature.rb
102
+ - lib/pdoc/models/utility.rb
103
+ - lib/pdoc/models.rb
104
+ - lib/pdoc/parser/argument_description_nodes.rb
105
+ - lib/pdoc/parser/basic_nodes.rb
106
+ - lib/pdoc/parser/description_nodes.rb
107
+ - lib/pdoc/parser/documentation_nodes.rb
108
+ - lib/pdoc/parser/ebnf_arguments_nodes.rb
109
+ - lib/pdoc/parser/ebnf_expression_nodes.rb
110
+ - lib/pdoc/parser/fragment.rb
111
+ - lib/pdoc/parser/section_content_nodes.rb
112
+ - lib/pdoc/parser/tags_nodes.rb
113
+ - lib/pdoc/parser/treetop_files/argument_description.treetop
114
+ - lib/pdoc/parser/treetop_files/basic.treetop
115
+ - lib/pdoc/parser/treetop_files/description.treetop
116
+ - lib/pdoc/parser/treetop_files/documentation.treetop
117
+ - lib/pdoc/parser/treetop_files/ebnf_arguments.treetop
118
+ - lib/pdoc/parser/treetop_files/ebnf_expression.treetop
119
+ - lib/pdoc/parser/treetop_files/ebnf_javascript.treetop
120
+ - lib/pdoc/parser/treetop_files/events.treetop
121
+ - lib/pdoc/parser/treetop_files/section_content.treetop
122
+ - lib/pdoc/parser/treetop_files/tags.treetop
123
+ - lib/pdoc/parser.rb
124
+ - lib/pdoc/runner.rb
125
+ - lib/pdoc/treemaker.rb
126
+ - lib/pdoc.rb
127
+ - templates/html/assets/images/pdoc/alias.png
128
+ - templates/html/assets/images/pdoc/class.png
129
+ - templates/html/assets/images/pdoc/class_deprecated.png
130
+ - templates/html/assets/images/pdoc/class_method.png
131
+ - templates/html/assets/images/pdoc/class_property.png
132
+ - templates/html/assets/images/pdoc/constant.png
133
+ - templates/html/assets/images/pdoc/constructor.png
134
+ - templates/html/assets/images/pdoc/deprecated.png
135
+ - templates/html/assets/images/pdoc/description.png
136
+ - templates/html/assets/images/pdoc/information.png
137
+ - templates/html/assets/images/pdoc/instance_method.png
138
+ - templates/html/assets/images/pdoc/instance_property.png
139
+ - templates/html/assets/images/pdoc/method.png
140
+ - templates/html/assets/images/pdoc/method_deprecated.png
141
+ - templates/html/assets/images/pdoc/mixin.png
142
+ - templates/html/assets/images/pdoc/namespace.png
143
+ - templates/html/assets/images/pdoc/property.png
144
+ - templates/html/assets/images/pdoc/related_to.png
145
+ - templates/html/assets/images/pdoc/search-background.png
146
+ - templates/html/assets/images/pdoc/section-background.png
147
+ - templates/html/assets/images/pdoc/section.png
148
+ - templates/html/assets/images/pdoc/selected-section-background.png
149
+ - templates/html/assets/images/pdoc/subclass.png
150
+ - templates/html/assets/images/pdoc/superclass.png
151
+ - templates/html/assets/images/pdoc/utility.png
152
+ - templates/html/assets/javascripts/pdoc/application.js
153
+ - templates/html/assets/javascripts/pdoc/prototype.js
154
+ - templates/html/assets/javascripts/pdoc/tabs.js
155
+ - templates/html/assets/stylesheets/pdoc/api.css
156
+ - templates/html/assets/stylesheets/pdoc/pygments.css
157
+ - templates/html/helpers.rb
158
+ - templates/html/index.erb
159
+ - templates/html/item_index.js.erb
160
+ - templates/html/layout.erb
161
+ - templates/html/leaf.erb
162
+ - templates/html/node.erb
163
+ - templates/html/partials/class_relationships.erb
164
+ - templates/html/partials/classes.erb
165
+ - templates/html/partials/constructor.erb
166
+ - templates/html/partials/description.erb
167
+ - templates/html/partials/link_list.erb
168
+ - templates/html/partials/method_signatures.erb
169
+ - templates/html/partials/methodized_note.erb
170
+ - templates/html/partials/mixins.erb
171
+ - templates/html/partials/namespaces.erb
172
+ - templates/html/partials/related_utilities.erb
173
+ - templates/html/partials/relationships.erb
174
+ - templates/html/partials/short_description_list.erb
175
+ - templates/html/partials/title.erb
176
+ - templates/html/section.erb
177
+ has_rdoc: true
178
+ homepage: http://pdoc.org/
179
+ licenses: []
180
+
181
+ post_install_message:
182
+ rdoc_options:
183
+ - --main
184
+ - README.markdown
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ segments:
192
+ - 0
193
+ version: "0"
194
+ required_rubygems_version: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ segments:
199
+ - 0
200
+ version: "0"
201
+ requirements: []
202
+
203
+ rubyforge_project:
204
+ rubygems_version: 1.3.6
205
+ signing_key:
206
+ specification_version: 3
207
+ summary: Inline comment parser and JavaScript documentation generator
208
+ test_files:
209
+ - test/unit/parser/argument_description_test.rb
210
+ - test/unit/parser/basic_test.rb
211
+ - test/unit/parser/description_test.rb
212
+ - test/unit/parser/documentation_test.rb
213
+ - test/unit/parser/ebnf_arguments_test.rb
214
+ - test/unit/parser/ebnf_expression_test.rb
215
+ - test/unit/parser/ebnf_javascript_test.rb
216
+ - test/unit/parser/events_test.rb
217
+ - test/unit/parser/section_content_test.rb
218
+ - test/unit/parser/tags_test.rb
219
+ - test/unit/parser/test_fragment.rb
220
+ - test/unit/parser_test_helper.rb
221
+ - test/unit/runner/basic_test.rb
222
+ - test/unit/templates/html_helpers_test.rb