mdpage
Simple documentation tool
mdPage is a minimal, opinionated, command line utility (and Rust crate) for creating single-page HTML documentation from markdown files.
Demo
The mdPage documentation is generated using the mdpage CLI tool from markdown source files. There are additional examples listed in the documentation with sources available in the docs directory.
Installation
There are multiple ways to install mdPage.
-
Binaries
Binaries are available for download here. Make sure to put the path to the binary into your
PATH. -
From Crates.io
This requires Rust and Cargo to be installed. Once you have installed Rust, type the following in the terminal:
cargo install mdpageThis will download and compile mdPage for you, the only thing left to do is to add the Cargo bin directory to your
PATH.
Usage
mdpage tool takes a singe argument, the root path directory where all the markdown content is located.
<path> Path for
The result of running the tool is always an index.html file.
Example workflow:
|
|
License
Apache-2.0