Skip to main content

A minimal Python documentation site generator. Markdown and HTML to static site with live reload.

Project description

pookiedocs

Python Version License: MIT Documentation Status PyPI version

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, in production with a built-in HTTP server.

Installation

pip install pookiedocs

Quick start

pookiedocs init
pookiedocs dev

pookiedocs dev starts a live-reload server at http://localhost:3000. Edit any file and the browser refreshes automatically.

Production

pookiedocs serve

Builds the site and serves it on 0.0.0.0:3000. No separate web server needed — drop this command into a Dockerfile and you're done.

Build only

pookiedocs build

Writes a fully self-contained static site to dist/. Deploy by pointing any static file host at that folder.

Deployment

Docker - the simplest path to production:

FROM python:3.12-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir pookiedocs
EXPOSE 3000
CMD ["pookiedocs", "serve", "--port", "3000"]
docker build -t my-docs .
docker run -p 3000:3000 my-docs

Deploy the image to GCP Cloud Run, AWS App Runner, Fly.io, Railway, or any container platform.

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pookiedocs-0.1.1.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pookiedocs-0.1.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file pookiedocs-0.1.1.tar.gz.

File metadata

  • Download URL: pookiedocs-0.1.1.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pookiedocs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a131f8c773e69c1b08b0928a6124355651e69b89a01d01e7338ab8ebbbb9d654
MD5 fc8a472a5b0ecfa1fb55ffdff51903a9
BLAKE2b-256 7d00681047529b6ccf3d612c7f21e0d4b0fae3fd169d4a76b95298a7980f54bf

See more details on using hashes here.

File details

Details for the file pookiedocs-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pookiedocs-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pookiedocs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf23872fa4cfbcc31b6f280d7b01ecb4e102c14318949fac295dc26a705d65fc
MD5 06e8b087a80c0a473dd8c0a54b287f19
BLAKE2b-256 351e24cbc28ed7740a05d1824a4ac9f4610078084a6cd26053c75839c671f716

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page