From d597bd3569adc3fc57af0a729eac026ecb598bd0 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Wed, 29 Apr 2026 04:48:01 -0600 Subject: [PATCH] docs deploy: exclude docs/ from sdist + pin compose project name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Astro docs site doesn't belong in the published sdist (node_modules, build artefacts, dev container scaffolding). Adds `docs/` to the existing sdist exclude list, alongside the other dev-only paths. Compose project name pinned to `mcaxl-docs` via the v2 `name:` field. Without it, Compose defaults to the parent directory's basename — and all three sibling docs sites live in `docs/`, so they were colliding and cross-recreating each other on every `up`. --- docs/docker-compose.yml | 5 +++++ pyproject.toml | 1 + 2 files changed, 6 insertions(+) diff --git a/docs/docker-compose.yml b/docs/docker-compose.yml index 40b34fe..f764ac1 100644 --- a/docs/docker-compose.yml +++ b/docs/docker-compose.yml @@ -10,6 +10,11 @@ # Prerequisite: `docker network create caddy` (one-time, shared with the # edge caddy-docker-proxy instance). +# Explicit project name. Without this, Compose defaults to the parent +# directory's basename — and all three docs sites live in `docs/`, so +# they would collide and cross-recreate each other on every `up`. +name: mcaxl-docs + services: docs-dev: profiles: ["dev"] diff --git a/pyproject.toml b/pyproject.toml index eadb340..cc28080 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,6 +72,7 @@ exclude = [ ".mcp.json", # contains local filesystem path; dev-only artifact "axlsqltoolkit.zip", # Cisco-licensed; do not redistribute "audits/", # cluster-specific audit reports + "docs/", # Astro docs site — node_modules, build artifacts, dev container scaffolding "tests/", # tests live in source repo, not the sdist ".pytest_cache/", ".ruff_cache/",