0.0
No commit activity in last 3 years
No release in over 3 years
Shomen defines a standard API documentaiton format for object-oriented software (Ruby programs in particular) which can be used by documentation interfaces, e.g. Hypervisor, to render API documentation. Shomen Model is a set of Ruby classes the module this format, and can be used to generate Shomen documentation.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

Shomen

Website / User Manual / Development / Mailing List / IRC Channel

Description

Shomen is an intermediary documentation model designed for documenting object-oriented programming languages, particularly Ruby. The specification is a flat mapping, without internal referencing, suitable for storage in both YAML and JSON formats.

Why?

By using a standard intermediary format, documentation parsers need only concern themselves with a single output target. And documentation templates in turn only need to concern themselves with a single input format regardless of the parsing system that was used to generate it.

Features

  • Update a single portable file to update documentation.
  • Site disc footprint is extra small thanks to CDNs.
  • Personalize site design to best fit your project.
  • Test drive others customizations with your own remote docs!

Instructions

To learn about Shomen in detail please visit:

Overall usage consists of generating a Shomen documentation file for a project. Typical usage looks something like:

$ shomen -R -r README.rdoc lib - [A-Z]. > doc.json

Next you want to pair up your doc.json file with a viewer. Currently that means using one of the following:

You can copy any of those repos to your website (e.g. site/) and run with it. If you want to try it out locally, we recommend using thin to view the site.

$ cd site
$ thin start -A file

If you can't use thin, Shomen provides a simplistic rack-based static server which can be used.

$ cd site
$ shomen-server

Viewers don't necessarily need to be copied. All three above can take a doc={url-to-shomen-json-file} http parameter and server up the docs remotely. You just need to publish your doc.json file to a publicly accessible URL. Note, I recommend that in this case you name the file more specifically, e.g. myapp-1.0.0.json.

See the viewer projects for more information.

Copying

Copyright (c) 2010 Rubyworks

Shomen is distributed under the terms of the BSD-2-Clause license.

See License.txt for license details.