Skip to content

wilkohein/raml2wiki

 
 

Repository files navigation

RAML to WIKI

A simple RAML to Wiki (Confluence / JIRA Markup) documentation generator, written for Node.js.

Confluence / Jira wiki Process

Output can be pasted into Confluence, using the Insert Markup feature;

Wiki menu

Wiki insert

Install

npm i -g raml2wiki

Usage

As a command line script

raml2wiki example.raml > example.txt
raml2wiki -i example.raml -o example.txt
raml2wiki -s -i example.raml -o example.txt

Example Output

Start of Wiki Page

Start of Wiki Page

Example Endpoint Section

Example Endpoint

You can add the -p flag in order to use an alternative template where resources are in collapsed panels, as per the below image;

Alternative Template

This script uses the parsing method and raml2obj script by Kevin Renskers (https://github.com/raml2html/raml2obj)

About

RAML to Wiki format documentation generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.1%
  • JavaScript 41.9%