Skip to content

pkishino/mkdocsdockerize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipeline status Docker Stars Docker Pulls Docker Automated Docker Build Docker Version

This project uses docker to encapsulate certain mkdocs behaviour The docker images are available here: pkishino/mkdocsdockerize

This docker image allows the use of mkdocs to build and serve a mkdocs prodject without requiring mkdocs to be installed.

Simple use: For both produce and serve, docker requires the current project directory or folder were the compressed file is saved to be mounted as a volume Below assumed that current directory is used

To build the current project folder and generate a .tar.gz including the project and the static site docker run -v $(pwd):/page --rm pkishino/mkdocsdockerize produce <optionally specify site folder name>| gzip -9 >test.tar.gz

To serve the project docker run -p 8000:8000 -v $(pwd):/page --rm pkishino/mkdocsdockerize serve

To serve a compressed project docker run -p 8000:8000 -v $(pwd):/page --rm pkishino/mkdocsdockerize serve <compressed-file-name>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages