Sha256: 1f157b1d5eb824980ee083a4fa5bf072de2087d6c9e3e9bbce12e0683d5cf11e

Contents?: true

Size: 1.33 KB

Versions: 25

Compression:

Stored size: 1.33 KB

Contents

= SDoc
== What's in?
- shtml - RDoc's generator to build searchable documentation
- <tt>sdoc-merge</tt> - comand line tool to build merge multiple sdoc documentations
  packages into a single one
- <tt>sdoc</tt> - command line tool to run rdoc with generator=shtml

== Getting Started
    sudo gem install sdoc
    sdoc -N projectdir

== Command line sdoc
sdoc is simply a wrapper to rdoc command line tool. see <tt>sdoc --help </tt>
for more details. <tt>--fmt</tt> is set to shtml by default. 
Default template <tt>-T</tt> is shtml. You can also use 'direct' template.
Example:
<tt>sdoc -o doc/rails -T direct rails</tt>

== 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:
<tt>sdoc-merge --title "Ruby v1.9, Rails v2.3.2.1" --op merged --names "Ruby,Rails" ruby-v1.9 rails-v2.3.2.1</tt>

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
sdoc_local_editor-0.3.17 README.rdoc
sdoc-0.3.16 README.rdoc
sdoc-0.3.15 README.rdoc
sdoc-0.3.14 README.rdoc
sdoc-0.3.11 README.rdoc
sdoc-0.3.10 README.rdoc
sdoc-0.3.9 README.rdoc
sdoc-0.3.8 README.rdoc
sdoc-0.3.7 README.rdoc
sdoc-0.3.6 README.rdoc
sdoc-0.3.5 README.rdoc
sdoc-0.3.4 README.rdoc
sdoc-0.3.3 README.rdoc
sdoc-0.3.2 README.rdoc
sdoc-0.3.1 README.rdoc
sdoc-0.3.0 README.rdoc
morph-sdoc-0.2.21 README.rdoc
wpdoc-0.2.20 README.rdoc
sdoc-0.2.20 README.rdoc
sdoc-0.2.19 README.rdoc