Skip to content
This repository has been archived by the owner on Jun 9, 2023. It is now read-only.

Latest commit

 

History

History
46 lines (36 loc) · 2.79 KB

cp.docs.md

File metadata and controls

46 lines (36 loc) · 2.79 KB

docs » cp.docs


Documentation Tools.

These tools are for helping generate CommandPost documentation.

Example Usage:

require("cp.docs").generate()

API Overview

API Documentation

Functions

Signature cp.docs.generate() -> none
Type Function
Description Generates the CommandPost Developers Guide.
Parameters
  • None
Returns
  • None
Signature cp.docs.generateExtensionLinks(folder) -> none
Type Function
Description Returns markup of all of the API links for a specific group of extensions.
Parameters
  • folder - The folder you want to process (i.e. "cp", "plugins" or "hs").
Returns
  • The result as a string, otherwise nil if an error occurs.
Signature cp.docs.updateDeveloperGuideSummary() -> boolean
Type Function
Description Updates the Developer Guide Summary.
Parameters
  • None
Returns
  • true if successful otherwise nil