Skip to content

Airudit/mdbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdbook

turns a collection a markdown files into a (digital) book

Machine install (global)

Install command:

dotnet tool install -g Airudit.MdBook

You can invoke the tool using the following command: mdbook Tool 'airudit.mdbook' (version '0.1.2') was successfully installed.

Use command:

mdbook --help

Displaying help.

The MarkdownToHtml command will generate HTML files for each specified markdown file.

MarkdownToHtml command usage:
> {file path}+ [options]

Options:
--Export <dir> Exports the generated documentation to this directory
--Single-File <file> Exports the generated documentation to a single file
--Template <file> Specifies the HTML template file
--Copyright <str> Specifies a copyright notice

Use during CI

In your repository: make a project local install with:

# create a tool manifest file for your project
dotnet new tool-manifest

# verify
cat .config/dotnet-tools.json

# install
dotnet tool install Airudit.MdBook

# verify
cat .config/dotnet-tools.json

# verify command
dotnet mdbook --help

During your CI, restore the tools:

dotnet tool restore

Now you can use the command in your build process

dotnet mdbook help/ README.md

About

turns a collection a markdown files into a (digital) book

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published