Permalink
Browse files

Added gemspec

git-svn-id: http://soen.ca/svn/projects/ruby/yard/trunk@250 a99b2113-df67-db11-8bcc-000c76553aea
  • Loading branch information...
1 parent 9f8b172 commit 96f030255ffb264b5dc6bb4a2dcae607016976ba loren committed Mar 2, 2007
Showing with 133 additions and 10,847 deletions.
  1. +9 −0 Rakefile
  2. +4 −1 test_generate_html.rb → bin/yardoc
  3. +4 −0 bin/yri
  4. +0 −74 doc/NilClass.html
  5. +0 −1,114 doc/RubyLex.html
  6. +0 −371 doc/RubyLex_BufferedReader.html
  7. +0 −70 doc/RubyToken_TkError.html
  8. +0 −152 doc/RubyToken_TkId.html
  9. +0 −83 doc/RubyToken_TkKW.html
  10. +0 −146 doc/RubyToken_TkNode.html
  11. +0 −164 doc/RubyToken_TkOPASGN.html
  12. +0 −98 doc/RubyToken_TkOp.html
  13. +0 −152 doc/RubyToken_TkUnknownChar.html
  14. +0 −76 doc/RubyToken_TkVal.html
  15. +0 −378 doc/RubyToken_Token.html
  16. +0 −99 doc/String.html
  17. +0 −303 doc/TestCodeObject.html
  18. +0 −74 doc/TestNamespace.html
  19. +0 −57 doc/WikiHtml.html
  20. +0 −106 doc/YARD_AttributeHandler.html
  21. +0 −79 doc/YARD_AuthorTag.html
  22. +0 −301 doc/YARD_BaseTag.html
  23. +0 −313 doc/YARD_BaseTypeTag.html
  24. +0 −106 doc/YARD_ClassHandler.html
  25. +0 −177 doc/YARD_ClassObject.html
  26. +0 −110 doc/YARD_ClassVariableHandler.html
  27. +0 −78 doc/YARD_ClassVariableObject.html
  28. +0 −1,447 doc/YARD_CodeObject.html
  29. +0 −331 doc/YARD_CodeObjectHandler.html
  30. +0 −181 doc/YARD_CodeObjectWithMethods.html
  31. +0 −110 doc/YARD_ConstantHandler.html
  32. +0 −78 doc/YARD_ConstantObject.html
  33. +0 −79 doc/YARD_DeprecatedTag.html
  34. +0 −106 doc/YARD_ExceptionHandler.html
  35. +0 −146 doc/YARD_Formatter.html
  36. +0 −106 doc/YARD_MethodHandler.html
  37. +0 −103 doc/YARD_MethodObject.html
  38. +0 −106 doc/YARD_MixinHandler.html
  39. +0 −106 doc/YARD_ModuleHandler.html
  40. +0 −91 doc/YARD_ModuleObject.html
  41. +0 −202 doc/YARD_NameStruct.html
  42. +0 −435 doc/YARD_Namespace.html
  43. +0 −255 doc/YARD_ParamTag.html
  44. +0 −55 doc/YARD_QuickDoc.html
  45. +0 −133 doc/YARD_ReturnTag.html
  46. +0 −304 doc/YARD_SourceParser.html
  47. +0 −272 doc/YARD_Statement.html
  48. +0 −110 doc/YARD_StatementList.html
  49. +0 −706 doc/YARD_Tag.html
  50. +0 −74 doc/YARD_TokenList.html
  51. +0 −106 doc/YARD_VisibilityHandler.html
  52. +0 −106 doc/YARD_YieldHandler.html
  53. +0 −55 doc/all-classes.html
  54. +0 −244 doc/all-methods.html
  55. BIN doc/domain_model.jpg
  56. +0 −15 doc/index.html
  57. +37 −44 lib/formatter.rb
  58. +1 −1 lib/handlers/class_variable_handler.rb
  59. +29 −23 lib/quick_doc.rb
  60. +3 −0 lib/yard.rb
  61. +30 −30 templates/html_formatter.erb
  62. +16 −0 yard.gemspec
  63. +0 −2 yard.rb
  64. +0 −3 yri
View
@@ -0,0 +1,9 @@
+require 'rake/gempackagetask'
+load 'yard.gemspec'
+
+task :default => :gem
+
+Rake::GemPackageTask.new(SPEC) do |pkg|
+ pkg.need_zip = true
+ pkg.need_tar = true
+end
View
@@ -1,6 +1,9 @@
-require File.dirname(__FILE__) + '/yard'
+#!/usr/bin/ruby
+require 'rubygems'
+require 'yard'
include YARD
+Dir.mkdir("doc") unless FileTest.directory?("doc")
Namespace.load("Yardoc", true)
ac = File.open("doc/all-classes.html", "w")
ac.puts <<-eof
View
@@ -0,0 +1,4 @@
+#!/usr/bin/ruby
+require 'rubygems'
+require 'yard'
+YARD::QuickDoc.new(ARGV[0])
View
@@ -1,74 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html>
- <head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <title>Ruby documentation: NilClass</title>
- <style>
- .topdoc * dt {
- font-weight: bold;
- }
- .fulldoc {
- margin-left: 37px;
- }
- .fulldoc * dt {
- font-weight: bold;
- }
- h1 { color: #000; }
- td { padding: 3px; }
- </style>
- <base target="_self" />
- </head>
- <body>
- <h1>Class NilClass</h1>
-<pre>
-Object
- |
- +--NilClass</pre>
-
-
- <hr />
-
-
-
-
-
-
-
-
-
-
- <h1>Public Instance Method Summary</h1>
- <table border="1" width="100%">
- <tr>
- <td width="70" align="right" valign="top">
- <small>
- Object </small>
- </td>
- <td>
- <tt>
- <a href='NilClass.html#instance_method-to_html'>to_html</a>(path = nil)
- </tt><br />
- </td>
- </tr>
- </table>
-
-
- <h1>Public Instance Method Details</h1>
- <div id="instance_method-to_html">
- <h3>to_html</h3>
- <tt>
- public Object to_html(path = nil)
- </tt>
- <div class="fulldoc">
- <p>
- </p>
- <dl>
-
- </dl>
- </div>
- </div>
- <hr />
- </body>
-</html>
Oops, something went wrong.

0 comments on commit 96f0302

Please sign in to comment.