If you wish to download this documentation, including user comments, the simplest way is to use the "wget" command (or some Windows equivalent) and capture the entire contents of http://www.andromeda-project.org. This command will give you what you want:
$ cd /some/directory $ wget -nH -r -k http://www.andromeda-project.org/
The switches used will have the following effects:
You can repeat this command as often as desired to fetch a local copy of the latest documentation.
The Andromeda Documentation is managed by an Andromeda application named "adocs6". It allows us to mix ROBODOC style doc blocks in code with manually created pages. This program supports news a articles and user comments as well.
Sytax coloring is provided by Google's "code prettifer", available at http://code.google.com/p/google-code-prettify/. This is a javascript program that runs when the page is loaded. Code blocks are surrounded by PRE tags with classname "prettyprint". The YAML blocks also have the class "lang-ddyaml".
The available colors and their designations are:
For YAML, we match up the styles as follows:
The Andromeda documentation allows programmers to document functions, classes, properties and methods directly in code using specially formatted comment blocks. These blocks were originally written up for use with ROBODOC, but ROBODOC did not give us enough facility to integrate the results with other features, so the robophp.php program was written. This program implements the following ROBODOC features, anything not mentioned is not implemented.
In addition, we implement the following features:
To learn more about these features, examine the examples, or visit the RoOBODOC home page.
ROBODOC uses a letter in the begin block to indicate what kind of block it is. We make use of the following values:
General practice is to include the source of any routine that is less than 10 or 12 lines.
For the NAME, we include the full object path where applicable, which serves to reinforce the object hierarchy. For example, the method "fireEvent" of the "x6events" object would have a name of "x6events.fireEvent".
Because Andromeda contains both Javascript and PHP libraries, the first sentence of each topic usually begins by stating the relevant API and language of the topic, such as "The PHP method foo is used to..." or "The Javascript Object foo is used to..." or "The Javascript property foo.bar tracks..." or even "The database definition column defines a column for later placement in tables..."
The documentation makes use of two wiki-style functions, which are image links [[image:imagename.png]] and direct page links as in [[A Page name]].
Eventually the documentation will automatically seek strings which match page names and substitute in links, but until this is available page links will be necessary.
Image links will always be used, there are no plans to replace them with any other format or automated function.