docs deploy: exclude docs/ from sdist + pin compose project name

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`.
This commit is contained in:
Ryan Malloy 2026-04-29 04:48:01 -06:00
parent 314a80d6de
commit d597bd3569
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,11 @@
# Prerequisite: `docker network create caddy` (one-time, shared with the # Prerequisite: `docker network create caddy` (one-time, shared with the
# edge caddy-docker-proxy instance). # 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: services:
docs-dev: docs-dev:
profiles: ["dev"] profiles: ["dev"]

View File

@ -72,6 +72,7 @@ exclude = [
".mcp.json", # contains local filesystem path; dev-only artifact ".mcp.json", # contains local filesystem path; dev-only artifact
"axlsqltoolkit.zip", # Cisco-licensed; do not redistribute "axlsqltoolkit.zip", # Cisco-licensed; do not redistribute
"audits/", # cluster-specific audit reports "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 "tests/", # tests live in source repo, not the sdist
".pytest_cache/", ".pytest_cache/",
".ruff_cache/", ".ruff_cache/",