Markdown Docs

CLI Reference

The @sullux/markdown-docs command-line executable provides a streamlined interface for building documentation sites across local development and automated CI/CD pipelines.

Command Syntax

markdown-docs [options]

Options Table

FlagLong FlagDescriptionDefault
-i--inputPath to input Markdown documentation directoryCurrent directory (.)
-o--outputOutput directory for compiled HTML site<input>/_site
-b--base-urlBase URL path prefix for hosting in subdirectories""
-t--titleSite title overrideTitle in docs.yaml
-c--configCustom path to config file<input>/docs.yaml
-h--helpDisplay CLI help menu

Usage Examples

Build Local Docs

markdown-docs -i ./docs -o ./dist

Staging Build with Base URL Prefix

markdown-docs -i ./docs -o ./_site -b "/staging-docs/"

Custom Config Path

markdown-docs -i ./docs -c ./config/custom-docs.yaml