Skip to content

Themeable documentation generator using AngularJS and Bootstrap

Notifications You must be signed in to change notification settings

blakecallens/kayfabe

Repository files navigation

Auto-generated documentation doesn't need to be split up into a heap of static HTML files.

Documentation is data, and JavaScript can delineate that data into the templates of a responsive, single page application. That's what kayfabe is here to do.

Check out the demo


Installing kayfabe

Open a terminal and run npm -g install kayfabe

The kayfabe.json file

The kayfabe.json file contains the configuration for the documentation. If your application has a package.json file, name, description and version will be pulled from it, unless you have set those variables explicitly in kayfabe.json.

The kayfabe.json should exist in the main directory of your application. It can hold the following values:

  • output: the folder location to output documentation to.
  • logo: the file location of a logo image (optional).
  • template: the folder location of the output template.
  • tutorial: absolute or relative location of the application's tutorial file.
  • standaloneTutorials: array of standalone markdown tutorial objects with the following values:
  • name: tutorial name.
  • description: tutorial description.
  • location: absolute or relative location of the tutorial file.
  • name: application name (pulled from package.json).
  • description: application description (pulled from package.json).
  • version: application version (pulled from package.json).
  • fileTypes: array of file extensions to look for comments in ([".js", ".css"]).
  • exclusions: array of file/folder names to exclude from parsing ([".", "node_modules"]).

kayfabe can create a kayfabe.json file for you. Open a terminal, navigate to the base directory of your application and run kayfabe init

Running kayfabe

Open a terminal, navigate to your application's directory and run kayfabe

About

Themeable documentation generator using AngularJS and Bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published