-
Notifications
You must be signed in to change notification settings - Fork 0
Internal.API
Table of Contents generated with DocToc
-
Clones the wiki project of the project in the current directory
Name Type Description cbfunction called back info about root dir, wiki dir and wiki repo url
- Source:
-
Commits all changes that were applied to the wiki due to re-generating the API docs.
Name Type Description repoObject information about the wiki repo to be committed
Name Type Description urlString github url to the repo
dirString directory into which the repo is currenly checked out
cbfunction called back when wiki is committed
- Source:
-
Removes the files matching the file filter in root and all subdirectories
Name Type Description rootStirng directory
fileFilterString | function needs to return true to cause the file to be deleted
cbfunction called back when all files were removed
- Source:
-
Spawns the given bin with the given args from the cwd or current working directory.
Name Type Argument Description binString full path to the binary to run
argsArray.<String> the args to pass to the binary
cwdString <optional>
full path to the directory to run bin from, defaults to current directory
cbfunction called back with err and/or program exit code
- Source:
the spawned binary which exposes stdout and stderr streams
- Type
- Object
-
Runs the jsdoc binary from the projectroot.
- they shouldn't contain
--destinationoption since destination is always inside wiki dir - if no
--configureoption is given, the default./config/jsdocrc.jsonconfig is passed to jsdoc
Name Type Description projectrootString root of project whose jsdoc comments are converted to html
wikirootString in which the out folder with html files is created
jsdocargsArray.<String> extra args for jsdoc supplied via
-- --arg one --arg two ...cbfunction called back with jsdoc output dir
- Source:
- they shouldn't contain
-
Updates _Sidebar.md to link to API wiki pages
Name Type Description wikidirString in which _Sidebar.md is stored
apifilesArray.<String> API wiki pages
cbfunction called back when _Sidebar.md was updated
- Source:
-
Updates the sidebar's links to API wiki pages
Name Type Description sidebarString current sidebar content
linkedfilesArray.<String> API wiki pages
- Source:
sidebar with updated API links
- Type
- String
-
Generates wiki compatible
*.API.mdfiles from*.htmljsdoc filesName Type Description wikidirString where the generated
*.API.mdfiles will be storedjsdocsdirString where the
*.htmlfiles where output by jsdoccbfunction called back with the names of generated .API.md files
- Source: