public
Description: Rdoc template and generator for Ruby source code that uses javascript to make searching for methods and classes very easy.
Homepage: http://www.railsbrain.com
Clone URL: git://github.com/breakpointer/ajax-rdoc.git
added files from rubyforge svn version 0.0.1
breakpointer (author)
Mon Apr 21 09:13:46 -0700 2008
commit  4c88e0d37c5a0070e08bcbe86a90100d818aabbd
tree    7006fc00c9003371784dfbb4a1432bd8ef2d8cb1
parent  27e340bb20961905010f25907bd51f4348e8b57c
0
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
0
@@ -0,0 +1,35 @@
0
+README for jaxdoc - the javascript enhanced rdoc template
0
+
0
+The files included in this first release allow you to create a javascript enhanced rdoc (similar to what is on www.railsbrain.com right now).
0
+
0
+To use these files you'll need to copy them to the rdoc folder in the directory for your local ruby install.
0
+
0
+I only have tested this on a mac so the instructions are mac specific for now.
0
+
0
+Your local rdoc (and ruby install) should be here... or something similar
0
+/usr/local/lib/ruby/1.8/rdoc
0
+
0
+1) Unzip the jaxdoc package
0
+2) Open the terminal (command line) and switch to the new jaxdoc dir that was created when you unzipped the package
0
+3) copy the file 'ajax_generator.rb' to the 'generators' directory in your rdoc folder
0
+ >sudo cp ajax_generator.rb /usr/local/lib/ruby/1.8/rdoc/generators
0
+
0
+4) copy the template files (and directory) over to the template directory inside the generators directory
0
+ >sudo cp -R ajax /usr/local/lib/ruby/1.8/rdoc/generators/template
0
+
0
+5) Switch over to the directory where you want to run this rdoc template and use the -fmt command to run the this template
0
+ >rdoc --fmt ajax
0
+
0
+6) This should start the generator and you'll have your new rdoc template in no-time! It should be in a folder called "doc"
0
+
0
+Should you have any problems (or questions) feel free to contact me at blchamberlain+rb@gmail.com
0
+
0
+Thanks!
0
+-Brian
0
+
0
+Alternatively you can set this env var and run the documentation generator from anyware (ie your home dir)
0
+
0
+export RUBYLIB=~/brain/rails/src/jaxdoc_0.0.1 (for example)
0
+
0
+
0
+

Comments

    No one has commented yet.