A minimal Python documentation site generator. Markdown and HTML to static site with live reload.
Project description
pookiedocs
A minimal Python documentation site generator. Reads markdown and HTML files from a folder, converts them to a clean static site, and serves them in development with live reload.
Installation
pip install pookiedocs
Quick start
pookiedocs init
pookiedocs serve
Build and deploy
pookiedocs build
This writes a fully self-contained static site to dist/. Deploy it by pointing any static file host at that folder.
Cloudflare Pages - set the build command to pip install pookiedocs && pookiedocs build and the output directory to dist.
Netlify - add a netlify.toml:
[build]
command = "pip install pookiedocs && pookiedocs build"
publish = "dist"
GitHub Pages - add a workflow that runs pookiedocs build --output _site and uploads the _site artifact with actions/upload-pages-artifact.
Docker - add a Dockerfile and you're done:
FROM python:3.12-slim AS builder
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir pookiedocs && pookiedocs build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
docker build -t my-docs .
docker run -p 8080:80 my-docs
Deploy the image to GCP Cloud Run, Fly.io, Railway, or any container platform.
VPS - build locally, rsync the dist/ folder to your server, and serve it with nginx:
server {
listen 80;
server_name docs.example.com;
root /var/www/docs;
index index.html;
location / {
try_files $uri $uri/ $uri.html =404;
}
}
See the Deployment guide for full examples including the complete GitHub Actions workflow and HTTPS setup with Certbot.
Documentation
Full documentation is available at https://pookiedocs.readthedocs.io
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pookiedocs-0.1.0.tar.gz.
File metadata
- Download URL: pookiedocs-0.1.0.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8870d1664aa5330dce8d81da11e162f117b7124cea8e937432f8c9f42e8b5df
|
|
| MD5 |
be94d49b8868639c0dd1be3ee76bc816
|
|
| BLAKE2b-256 |
ef0339bcf5e19e3ee45032db1f9ec4f0f21b26b3f2a65a3eb4299412d5aed222
|
File details
Details for the file pookiedocs-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pookiedocs-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0e6b49683df2f6fc5724e8122c99cc742099b84b357f78c2cf55b44d5ab52a6
|
|
| MD5 |
f183479b3aeb018fd1adb87f5c97a0e4
|
|
| BLAKE2b-256 |
bf29f37b34eaf2d33aed14deb834b24d46a83ff8ca5bbd69d5cdb4cec10d9819
|