Sign inSign up

anthonyrawlinsuom/lfmc-docs

By anthonyrawlinsuom

•Updated over 7 years ago

Image
0

1.9K

anthonyrawlinsuom/lfmc-docs repository overview

⁠LFMC Documentation

⁠Requirements

MkDocs⁠ is a fast, simple and downright gorgeous static site generator that's geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.

⁠Building the documentation

To build the documentation run:

$ mkdocs build --clean

Upload the contents of the entire site directory to wherever you're hosting your website from and you're done.

For specific instructions see: Deployment Guide⁠

⁠Using Docker to deploy as website

This image will provide you mkdocs. Some examples of its usage:

⁠Serve your project

If you are inside a VM (boot2docker or similar) you will need to set the host to 0.0.0.0:

cd lfmc
docker run -it --rm -v `pwd`:/docs -p 8000:8000 jobandtalent/mkdocs serve -a 0.0.0.0:8000

⁠Build your docs

cd lfmc
docker run -it --rm -v `pwd`:/docs jobandtalent/mkdocs build

If you want to generate them in other place mount /docs/site as a volume:

docker run -it --rm -v `pwd`:/docs -v $HOME/Desktop/site:/docs/site jobandtalent/mkdocs build

Tag summary

Content type

Image

Digest

Size

60.3 MB

Last updated

over 7 years ago

docker pull anthonyrawlinsuom/lfmc-docs