public
Fork of breakpointer/ajax-rdoc
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/jnunemaker/ajax-rdoc.git
Search Repo:
updated readme
jnunemaker (author)
Mon Jun 30 13:19:46 -0700 2008
commit  f57c8802585dfd621c5b460eb291752cec803dd9
tree    61e0fea137ad36dd0e0863e3555ddb16841d9d6e
parent  f27242f1a4beef4d1788d48356024e3c03855e28
0
...
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
...
29
30
31
32
33
34
35
 
36
...
2
3
4
 
5
6
 
7
8
 
 
9
10
11
12
13
14
 
 
 
 
15
16
17
18
 
 
19
20
21
 
 
 
 
22
23
24
25
...
28
29
30
 
 
 
 
31
32
0
@@ -2,25 +2,24 @@ 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
+These are mac specific instructions. You'll have to figure it out if you're on windows.
0
 
0
-I only have tested this on a mac so the instructions are mac specific for now.
0
+== Installation
0
 
0
-Your local rdoc (and ruby install) should be here... or something similar
0
-/usr/local/lib/ruby/1.8/rdoc
0
+1) Get the files
0
+ * tarball: http://github.com/breakpointer/ajax-rdoc/tarball/master)
0
+ * git: git clone git://github.com/breakpointer/ajax-rdoc.git
0
+
0
+2) cd into the new ajax-rdoc directory
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
+3) Install the generator and templates into your version of rdoc
0
+ * RDOC=/usr/local/lib/ruby/1.8/rdoc rake install
0
+ * If you are using macports ruby you can just rake install
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
+4) Switch over to the directory where you want to run this rdoc template and run the following command
0
+ * rdoc --fmt ajax
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
+5) 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
@@ -29,7 +28,4 @@ Thanks!
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
-
0
+export RUBYLIB=~/brain/rails/src/jaxdoc_0.0.1 (for example)
0
\ No newline at end of file

Comments

    No one has commented yet.