0
@@ -2,25 +2,24 @@ README for jaxdoc - the javascript enhanced rdoc template
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
-T
o use these files you'll need to copy them to the rdoc folder in the directory for your local ruby install.
0
+T
hese are mac specific instructions. You'll have to figure it out if you're on windows.
0
-
I only have tested this on a mac so the instructions are mac specific for now.0
-Your local rdoc (and ruby install) should be here... or something similar
0
-/usr/local/lib/ruby/1.8/rdoc
0
+ * tarball: http://github.com/breakpointer/ajax-rdoc/tarball/master)
0
+ * git: git clone git://github.com/breakpointer/ajax-rdoc.git
0
+2) cd into the new ajax-rdoc directory
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
-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
-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
-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
Should you have any problems (or questions) feel free to contact me at blchamberlain+rb@gmail.com
0
@@ -29,7 +28,4 @@ Thanks!
0
Alternatively you can set this env var and run the documentation generator from anyware (ie your home dir)
0
-export RUBYLIB=~/brain/rails/src/jaxdoc_0.0.1 (for example)
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.