mkdocs json
help
執行
$ mkdocs json --help
顯示
Usage: mkdocs json [OPTIONS]
Build the MkDocs documentation to JSON files
Rather than building your documentation to HTML pages, this outputs each
page in a simple JSON format. This command is useful if you want to index
your documentation in an external search engine.
Options:
-c, --clean Remove old files from the site_dir before
building
-f, --config-file FILENAME Provide a specific MkDocs config
-s, --strict Enable strict mode. This will cause MkDocs to
abort the build on any warnings.
-d, --site-dir PATH The directory to output the result of the
documentation build.
-q, --quiet Silence warnings
-v, --verbose Enable verbose output
-h, --help Show this message and exit.