This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit b28dbdc52ff31ab63cf3e115b6a5d17e2fb1d0f9
tree 8c45b67de1f06a77b3a65c5762b296e311162c3f
parent 9ecafe98bec42ca6580af13d7e2081cd898e6e7f
tree 8c45b67de1f06a77b3a65c5762b296e311162c3f
parent 9ecafe98bec42ca6580af13d7e2081cd898e6e7f
sdoc /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Apr 14 23:45:25 -0700 2009 | |
| |
LICENSE | Mon Mar 23 10:58:00 -0700 2009 | |
| |
README.rdoc | Wed Apr 08 01:30:32 -0700 2009 | |
| |
Rakefile | Wed Jun 17 08:08:16 -0700 2009 | |
| |
VERSION.yml | Fri Aug 14 03:00:06 -0700 2009 | |
| |
bin/ | Sun Mar 29 15:36:25 -0700 2009 | |
| |
lib/ | ||
| |
sdoc.gemspec | Fri Aug 14 03:37:05 -0700 2009 |
README.rdoc
SDoc
What’s in?
- shtml - RDoc’s generator to build searchable documentation
- sdoc-merge - comand line tool to build merge multiple sdoc documentations packages into a single one
- sdoc - command line tool to run rdoc with generator=shtml
Getting Started
gem sources -a http://gems.github.com
sudo gem install voloko-sdoc
sdoc -N projectdir
Command line sdoc
sdoc is simply a wrapper to rdoc command line tool. see sdoc —help for more details. —fmt is set to shtml by default. Default template -T is shtml. You can also use ‘direct’ template. Example: sdoc -o doc/rails -T direct rails
Rake
# Rakefile
require 'sdoc' # and use your RDoc task the same way you used it before
Rake::RDocTask.new do |rdoc|
rdoc.rdoc_dir = 'doc/rdoc'
rdoc.options << '--fmt' << 'shtml' # explictly set shtml generator
rdoc.template = 'direct' # lighter template used on railsapi.com
...
end
sdoc-merge
Usage: sdoc-merge [options] directories
-n, --names [NAMES] Names of merged repositories. Comma separated
-o, --op [DIRECTORY] Set the output directory
-t, --title [TITLE] Set the title of merged file
Example: sdoc-merge —title "Ruby v1.9, Rails v2.3.2.1" —op merged —names "Ruby,Rails" ruby-v1.9 rails-v2.3.2.1








