diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2008-11-18 10:40:50 +1030 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2008-11-18 10:40:50 +1030 |
commit | 9dbb52d97e4ecc97fe793e3ac04a4fd285aa003b (patch) | |
tree | a88985f50190dad0f26044b2db0cf7b1a92355e5 /railties/doc/guides/source/creating_plugins/rdoc.txt | |
parent | 451969f57a6dfee8537fb10d179514e011559111 (diff) | |
parent | c62f973c749beac8947ff5119af43fbde2547eb1 (diff) | |
download | rails-9dbb52d97e4ecc97fe793e3ac04a4fd285aa003b.tar.gz rails-9dbb52d97e4ecc97fe793e3ac04a4fd285aa003b.tar.bz2 rails-9dbb52d97e4ecc97fe793e3ac04a4fd285aa003b.zip |
Merge branch 'master' of git@github.com:lifo/docrails
Diffstat (limited to 'railties/doc/guides/source/creating_plugins/rdoc.txt')
-rw-r--r-- | railties/doc/guides/source/creating_plugins/rdoc.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/railties/doc/guides/source/creating_plugins/rdoc.txt b/railties/doc/guides/source/creating_plugins/rdoc.txt new file mode 100644 index 0000000000..0f6f843c42 --- /dev/null +++ b/railties/doc/guides/source/creating_plugins/rdoc.txt @@ -0,0 +1,18 @@ +== RDoc Documentation == + +Once your plugin is stable and you are ready to deploy do everyone else a favor and document it! Luckily, writing documentation for your plugin is easy. + +The first step is to update the README file with detailed information about how to use your plugin. A few key things to include are: + + * Your name + * How to install + * How to add the functionality to the app (several examples of common use cases) + * Warning, gotchas or tips that might help save users time + +Once your README is solid, go through and add rdoc comments to all of the methods that developers will use. It's also customary to add '#:nodoc:' comments to those parts of the code that are not part of the public api. + +Once your comments are good to go, navigate to your plugin directory and run: + +--------------------------------------------------------- +rake rdoc +--------------------------------------------------------- |