Documentation for the iRail api
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


iRail-docs provides documentation for the iRail api. This includes documentation on the endpoints, parameters, responses and examples.

We use the open-source api blueprint standard for these docs. See for more information.

Installation and compiling


Before proceeding, the following software should be present on your system:

  • NodeJs
  • Npm


To install aglio, run

npm install -g aglio --unsafe-perm=true

Rendering the documentation

To render the blueprints, you need to specify the input and destination. Theme parameters can be passed as well. The following command is used to render to 3 columns in a modern theme.

aglio -i src/irail.apib -o render/index.html --theme-template triple --theme-variables streak

On unix based systems, the same can be achieved by running