Unofficial image for a modern static site generator built by the creators of Material for MkDocs
2.8K

This is an unofficial Zensical container image for building and publishing static sites using content authored in markdown format. Zensical is a new SSG built by same folks behind the popular Material for MkDocs theme.
If you already use Python, it is very easy to install and use Zensical container-free. However, if you're like me and prefer to run as many tools as possible in a container for security, and consistent reproducibility, feel free to use this image to scaffold and build your Zensical sites. Until there's an official first-party image published by Zensical anyway, then definitely use that one.
# Pull the image and/or check the version
docker run --rm joshooaj/zensical --version
# Create a new Zensical site in the subfolder "mysite"
docker run --rm -v ./mysite:/docs joshooaj/zensical new
# Serve the site
docker run --rm -v ./mysite:/docs -p 8000:8000 joshooaj/zensical
# Build site (output in ./mysite/site/)
docker run --rm -v ./mysite:/docs joshooaj/zensical build
# Build site with clean cache (output in ./mysite/site/)
docker run --rm -v ./mysite:/docs joshooaj/zensical build --clean
If you're using Docker Desktop on Windows, there's an issue with the way linux containers detect file changes when those changes are made from outside the container. Consider using a devcontainer for a better live editing experience if you're on Windows.
# Create a new Zensical site in the subfolder "mysite"
docker run --rm -v ./mysite:/docs joshooaj/zensical new
compose.ymlservices:
zensical:
image: joshooaj/zensical:latest
ports:
- "8000:8000"
volumes:
- ./mysite:/docs
docker compose up -d
Content type
Image
Digest
sha256:34cf3d3c4…
Size
57.6 MB
Last updated
5 months ago
docker pull joshooaj/zensical