[ ENGLISH | JAPANESE ] [ Link to: RAA Entry ]
Wellcome to TmDoc project's home page!!
Contents |
---|
What is .... Download Requirements License Install How to Use Examples Notes for TmDoc Hacking |
TmDoc is a maintenance document producer for Ruby software, automatically generate DocBook document from source code.
Version | Date | Files | Release Note |
---|---|---|---|
0.0.4 | 2012-04-20 | tmdoc-0.0.4.tar.gz |
|
0.0.3 | 2011-12-22 | tmdoc-0.0.3.tar.gz |
|
0.0.2 | 2011-11-09 | tmdoc-0.0.2.tar.gz |
|
0.0.1 | 2011-10-16 | tmdoc-0.0.1.tar.gz |
|
Ruby's License
Standard setup.rb procedure.
$ tar xfz tmdoc-X.X.X.tar.gz $ cd tmdoc-X.X.X $ $ ruby setup.rb config $ ruby setup.rb setup $ sudo ruby setup.rb install
Below steps are most basic usage of TmDoc in UNIX environment.
$ mkdir dbook
$ tmdoc foo.rb
$ xsltproc --xinclude $DOCBOOK_XSL_DIR/html/docbook.xsl dbook/tmdoc.home.docbook > foo.html
Common files: README.txt, Makefile, Make.Common, Make.Rules, dbook-to-html.xsl, tmdoc.css
Name | Description | Download | Related files | TmDoc options | Log file |
---|---|---|---|---|---|
Net | Network client library (Ruby 1.8.7 standard library) | EPUB |
Makefile __dummy__.rb |
- | LOG.txt |
REXML | XML parser library (Ruby 1.8.7 standard library) | EPUB |
Makefile __dummy__.rb |
--tab-width 2 | LOG.txt |
RubyTk | GUI toolkit (Ruby 1.8.7 standard library) | - |
Makefile __dummy__.rb |
--show-class-siblings | LOG.txt |
WEBrick | Web server toolkit (Ruby 1.8.7 standard library) | EPUB | Makefile | --show-all | LOG.txt |
databasedotcom 1.3.0 | A ruby wrapper for the Force.com REST API | EPUB | Makefile | --show-all | LOG.txt |
ActiveSupport 2.3.14 | Utility classes and Ruby extensions from Rails | - |
Makefile __dummy__.rb |
- | LOG.txt |
The Depot Online Store |
This application implements an online store, with a catalog, cart, and orders.
|
EPUB |
Makefile __dummy__.rb |
--show-all | LOG.txt |
Radiant 1.0.1 | Content Management System | - |
Makefile __dummy__.rb |
--show-module-siblings | LOG.txt |
Redmine 1.4.0 | Flexible project management Web application | - |
Makefile __dummy__.rb |
- | LOG.txt |
TmDoc 0.0.4 | Maintenance document producer for Ruby software | - |
Makefile Make.FILES |
--show-all --tab-width 4 |
LOG.txt |
The document of EPUB edition was converted from DocBook format, using BOOKSHOP(bookshop-0.0.4).
[Notice] |
In the latest release of BOOKSHOP(bookshop-0.0.18),
the support of DocBook was aborted, it seems .... orz
|
---|
The TmDoc system is designed based on "layered pipeline architecture".
Key components in the system are "Model(Module: Model (TmDoc))" and "Transformer(Module: Transformer (TmDoc))". The "Model" is a immutable object strong-typed by Logical Space Model(LSM) declaration, and the "Transformer" is a function that transform a model object into another model object.
The term "layered pipeline architecture" is a compound term from "layered architecture" and "pipeline architecture". The following book conside the details of benefits and weaks of these architecture:
The Logical Space Model, LSM(Module: Lsm (TmStd)) is a Ruby implementation of abstract data type introduced by following old publication:
The Ruby code scanner(Class: Scanner (TmDoc::Reader::Ruby18)) and parser(Module: Parser (TmDoc::Reader::Ruby18)) are based on RDoc's code that is a Ruby standard library and de-facto Ruby standard documentation system, written by Dave Thomas.
The origin of RDoc's parser code was written by KEIJYU Isitsuka (cite from README attach to RDoc). This original code is based on classical technique which is generally called "recursive descent parser". In the following book, the code is descripted by the developer's self: