github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

voloko / sdoc

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 220
    • 12
  • Source
  • Commits
  • Network (12)
  • Issues (5)
  • Downloads (15)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (15)
    • v0.2.16
    • v0.2.14.1
    • v0.2.14
    • v0.2.12.1
    • v0.2.11
    • v0.2.9
    • v0.2.8
    • v0.2.7
    • v0.2.6
    • v0.2.2
    • v0.2.0
    • v0.1.10
    • v0.1.9
    • v0.1.4
    • v0.1.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Standalone sdoc generator — Read more

  cancel

http://railsapi.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Version bump to 0.2.16 
voloko (author)
Tue Dec 29 12:10:39 -0800 2009
commit  71dfb74163ba9d22e09917e18e4566a28b49298c
tree    9400617a1b6cb9a9e57a94599c31d6a2320ceda5
parent  8470eaf5c9e22b88606667e8345b605774200b5c
sdoc /
name age
history
message
file .gitignore Tue Apr 14 23:45:25 -0700 2009 Added rdoc's discover.rb, rdoc --fmt=shtml is n... [voloko]
file LICENSE Mon Mar 23 10:58:00 -0700 2009 license [voloko]
file README.rdoc Wed Nov 25 02:09:38 -0800 2009 fixed readme [voloko]
file Rakefile Mon Dec 14 04:33:40 -0800 2009 allow building a gem for jruby that uses json_p... [ttilley]
file VERSION.yml Tue Dec 29 12:10:39 -0800 2009 Version bump to 0.2.16 [voloko]
directory bin/ Sun Mar 29 15:36:25 -0700 2009 Merge docs [voloko]
directory lib/ Tue Dec 29 11:52:28 -0800 2009 fixed typos and case where in search index pare... [toy]
file sdoc.gemspec Mon Dec 14 04:33:40 -0800 2009 BAH... manually tweak gemspec so that it works ... [ttilley]
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

    sudo gem install 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

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server