%#-- %# Copyright protects this work. %# See LICENSE file for details. %#++ % eruby_url = "http://en.wikipedia.org/wiki/ERuby" % api_url = './api/index.html' % repo_url = 'http://github.com/sunaku/' + $program % repo_scm = '[Git](http://git-scm.com)' %|chapter "Introduction" %|project <%= $project %> is an extensible document processor that emits <%= xref "HelloWorld", "any document you can imagine" %> from [eRuby templates](<%= eruby_url %>) which allow scripting and dynamic content generation. A working <%= xref "xhtml", "XHTML (web page)" %> format is provided, while <%= xref "latex", "LaTeX (PDF)" %>, <%= xref "man", "UNIX manual page" %>, and <%= xref "text", "plain text" %> formats are planned... <%= xref "License", "patches are welcome" %>! %|section "Features" <%= $project %> is exciting because: * Its documents are scriptable [eRuby templates](<%= eruby_url %>). * It lets you <%= xref "HelloWorld", "define your own document formats" %>. * Its core contains less than 400 lines of code. These features distinguish <%= $project %> from the competition, who offer neither scriptable documents nor definable document formats: * [DocBook](http://www.docbook.org) * [Deplate](http://deplate.sourceforge.net) * [SiSU](http://www.jus.uio.no/sisu/SiSU/) * [AsciiDoc](http://www.methods.co.nz/asciidoc/) * [txt2tags](http://txt2tags.sourceforge.net) * [Grutatxt](http://www.triptico.com/software/grutatxt.html) %|section "Logistics" * <%= xref "History", "What's new?" %> --- history of project releases. * [Source code](<%= repo_url %>) --- obtain via <%= repo_scm %> or browse online. * [API reference](<%= api_url %>) --- documentation for source code. * [Project home](<%= $website %>) --- the <%= $project %> project home page. To get help or provide feedback, simply <%= xref "License", "contact the authors" %>. %|paragraph "Version numbers" <%= $project %> releases are numbered in *major.minor.patch* form according to the [RubyGems rational versioning policy](http://www.rubygems.org/read/chapter/7), which can be summarized thus:
What increased in the version number? The increase indicates that the release:
Is backward compatible? Has new features? Has bug fixes?
major No Yes Yes
minor Yes Yes Yes
patch Yes No Yes
%|section "License" %< "../LICENSE" %|section "Credits" |n| %= $logo = n.xref_link("![#{$project} logo](#{$program}.png)".to_inline_xhtml) %< "README" <%= $project %> is made possible by <%= xref "History", "contributions" %> from users like you: %< "../CREDITS" %|section "Reviews" Tom Cloyd in [ruby-talk](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/327499): > This documentation is simply gorgeous! Vitor Peres in [ruby-talk](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/283052): > I actually felt like printing \[this manual], because it's just so well-thought typographically... Even if \[<%= $project %>] weren't great by itself, I'd feel good just looking at the manual. Ara T. Howard in [ruby-talk](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/282949): > \[This manual is] a insanely complete and nice looking bit of documentation \[... <%= $project %>] looks like a great project Martin DeMello in [ruby-talk](http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/283304): > Very nice work indeed!