The Main File

Functions

createVuepressSidebar(options)Promise

Create the sidebar

parseDirectoryFile(file, argv)Promise

Parse file

createReadmeFile(argv, deletedPaths)void

Create the readme file. First page when entering the documentation.

parseArguments(argv)object

Parse all CLI arguments

generate(argv)

Default command that generate md files

watchFiles(argv)

Watch files in source folder

createVuepressSidebar(options) → Promise

Create the sidebar

Kind: global function

ParamType
optionsobject

parseDirectoryFile(file, argv) → Promise

Parse file

Kind: global function

ParamType
fileDirectoryFile
argvCLIArguments

createReadmeFile(argv, deletedPaths) → void

Create the readme file. First page when entering the documentation.

Kind: global function

ParamType
argvCLIArguments
deletedPathsstring

parseArguments(argv) → object

Parse all CLI arguments

Kind: global function
Returns: object - all arguments

ParamType
argvCLIArguments

generate(argv)

Default command that generate md files

Kind: global function

ParamTypeDescription
argvobjectpassed arguments

watchFiles(argv)

Watch files in source folder

Kind: global function

ParamType
argvCLIArguments