Skip to content

cdituri/pandoc-htmldocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title
cdituri/pandoc-htmldocs

cdituri/pandoc-htmldocs is a docker image which renders self-contained, single-page HTML from a set of markdown input files. The markdown input files and their build order are defined in build.docs.json.

Overview

cdituri/pandoc-htmldocs searches for the build.docs.json document at container run-time. Based on the order definied in the json document, a self-contained, single-page HTML file is generated, directed to stdout.

Build docker image

# from the git repository root, run:
docker build -t cdituri/pandoc-htmldocs src/

# optionally, use this shell script:
# ./build.container.sh

Create build.docs.json

Ensure that a build.docs.json file exists. The build.docs.json of this repository provides the following example:

[
    "README.md"
]

Build documentation

# from the git repository root, run:
docker run --rm -v "$(pwd):/src/" cdituri/pandoc-htmldocs > index.html

# optionally, use this shell script:
# ./build.docs.sh > index.html

Render screenshot

Screenshot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published