Skip to content

doxtak/doxtak-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoXtak: Docker Material MkDocs Stack

A docker container for MkDocs with the Material theme.

Development mode

You can use the mkdocs built-in web server:

# using HTTP
git clone https://github.com/abousselmi/doxtak-build.git

# or using SSH
git clone git@github.com:abousselmi/doxtak-build.git
cd doxtak-build
docker run -it --rm \
  -p 80:80 \
  -v $PWD/samples:/doxtak/docs/my_projects \
  -v /root/www:/www \
  abousselmi/doxtak-build serve -a 0.0.0.0:80 -f doxtak/mkdocs.yml

As you can see, two separate volumes are used:

  • /doxtak/docs for the source files (*.md)
  • /www for build (you can serve directly from this volume)

Production mode

You can use this container as a function to build your source files. Then you can use a web server such as Apache or Nginx for serving the static html files.

To build source files you can use:

docker run \
  -v $PWD/samples:/doxtak/docs/my_projects \
  -v /root/www:/www \
  abousselmi/doxtak-build build -f doxtak/mkdocs.yml

Screenshot

DoXtak screenshot

Documentation

For more info, please visit:

License

MIT

About

A docker container for MkDocs with the Material theme.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages