Skip to content

Add reusable CI/CD workflows for synchronized documentation #10

Description

@adrianbrowning

What to build

Make mdcode practical to adopt in CI/CD pipelines by providing a reusable documentation-synchronization check, runnable-example validation, and release gating. A consumer should be able to copy the examples and prevent stale Markdown code blocks from reaching production.

Acceptance criteria

  • The repository contains a documented end-to-end CI/CD integration path for mdcode.
  • The path checks that Markdown blocks are synchronized with their linked source files.
  • The path supports validating selected runnable examples.
  • The release path runs the relevant mdcode checks before a package is published.
  • Each deliverable is tracked as a child issue and can be completed independently.

Blocked by

Activity

  1. adrianbrowning commented on Aug 8, 2026

    @adrianbrowning
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Category: enhancement
    Summary: Coordinate the independently delivered CI/CD examples into one complete mdcode adoption path.

    Current behavior:
    The initiative is already decomposed into a documentation-sync check (#11), runnable-example validation (#12), and release gating (#13). No parent-level implementation should duplicate those child deliverables.

    Desired behavior:
    After the child issues land, the repository presents one coherent, documented CI/CD path: consumers can check documentation drift, validate selected runnable snippets, and use the checks as release gates. The parent is complete only after the integrated path satisfies its acceptance criteria.

    Key interfaces:

    Acceptance criteria:

    Out of scope:

    • Reimplementing any child issue within this parent.
    • Adding CI providers beyond the documented example scope.
    • Changing mdcode command behavior.

    Why this needs a human:
    This is an integration and release-governance checkpoint. It requires coordinating completed child work and approving credentials/publishing policy rather than producing a separate code change.

    Verification status:
    Confirmed: the three required child deliverables already exist, and #13 depends on #11 and #12.

  2. adrianbrowning commented on Oct 6, 2026

    @adrianbrowning
    OwnerAuthor

    Done. The CI/CD path for consumers is in place:

    Two items stay with the maintainer, outside this issue: the canonical package name (#3, so the docs still say mdcode-ts for now) and configuring the npm trusted publisher.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestready-for-humanRequires human implementation or external-account decisions

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions