Skip to content

Docs: add capability matrix, cookbook, versioning guide, and CI quality gates#127

Open
teesofttech wants to merge 1 commit into
masterfrom
docs/solid-docs-matrix-cookbook-quality-gates
Open

Docs: add capability matrix, cookbook, versioning guide, and CI quality gates#127
teesofttech wants to merge 1 commit into
masterfrom
docs/solid-docs-matrix-cookbook-quality-gates

Conversation

@teesofttech

@teesofttech teesofttech commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • add Gateway Capability Matrix page covering create/verify/refund/webhook/auth/currencies
  • add API Cookbook page with end-to-end flows and production checklists
  • add Versioning Strategy and Release Notes page
  • wire all new pages into MkDocs navigation and homepage discovery
  • add docs quality workflow with markdown lint + link check + strict MkDocs build
  • add markdownlint and lychee configuration files for reliable docs gates

Validation

  • /usr/local/bin/python3 -m mkdocs build --strict
  • result: build successful

Included files

  • docs/gateway-capability-matrix.md
  • docs/api-cookbook.md
  • docs/versioning-and-release-notes.md
  • .github/workflows/docs-quality.yml
  • .markdownlint-cli2.jsonc
  • .lychee.toml
  • mkdocs.yml
  • docs/index.md

Summary by CodeRabbit

  • Documentation

    • Added an API Cookbook with payment, routing, webhook, refund, and error-handling integration guidance.
    • Added a gateway capability matrix covering supported features, currencies, authentication, signatures, and refund behavior.
    • Added versioning and release-management guidance, including semantic versioning and documentation strategy.
    • Updated documentation navigation with new cookbook and release-management sections.
  • Chores

    • Added automated documentation checks for Markdown quality, links, and strict site builds.

Copilot AI review requested due to automatic review settings July 18, 2026 22:39
@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Adds API integration and gateway capability documentation, release/versioning guidance, MkDocs navigation entries, and a GitHub Actions workflow that lints, link-checks, and strictly builds the documentation.

Changes

Documentation quality and release guidance

Layer / File(s) Summary
Integration and gateway guidance
docs/api-cookbook.md, docs/gateway-capability-matrix.md
Adds end-to-end payment, routing, webhook, refund, error-handling, gateway capability, and operational guidance.
Release documentation and navigation
docs/versioning-and-release-notes.md, docs/index.md, mkdocs.yml
Documents semantic versioning, release gates, versioned docs, and release notes, then adds the new pages to documentation navigation.
Documentation validation pipeline
.github/workflows/docs-quality.yml, .markdownlint-cli2.jsonc, .lychee.toml
Adds pull request and master-branch documentation checks for Markdown linting, link validation, and strict MkDocs builds.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested labels: area: ci/cd, area: testing

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main documentation additions and new CI quality gates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/solid-docs-matrix-cookbook-quality-gates

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
.github/workflows/docs-quality.yml (1)

37-38: 🔒 Security & Privacy | 🔵 Trivial

Disable credential persistence on checkout. This docs-only workflow only reads the repo, so persist-credentials: false avoids leaving the token in git config.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/docs-quality.yml around lines 37 - 38, Update the Checkout
step in the docs-quality workflow to set persist-credentials to false, while
preserving the existing actions/checkout configuration.

Source: Linters/SAST tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/api-cookbook.md`:
- Line 32: Update every repeated “Production checklist” heading in
docs/api-cookbook.md to include flow-specific context, and do the same for each
repeated “Pattern” heading and the headings at the referenced locations such as
“50-50” and “58-58”. Keep the headings semantically clear and uniquely named so
MD024 passes and generated navigation remains understandable.

---

Nitpick comments:
In @.github/workflows/docs-quality.yml:
- Around line 37-38: Update the Checkout step in the docs-quality workflow to
set persist-credentials to false, while preserving the existing actions/checkout
configuration.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b1f1e993-4f4f-4a48-9677-97c18b8f2b7e

📥 Commits

Reviewing files that changed from the base of the PR and between ef472ac and 0e65893.

📒 Files selected for processing (8)
  • .github/workflows/docs-quality.yml
  • .lychee.toml
  • .markdownlint-cli2.jsonc
  • docs/api-cookbook.md
  • docs/gateway-capability-matrix.md
  • docs/index.md
  • docs/versioning-and-release-notes.md
  • mkdocs.yml

Comment thread docs/api-cookbook.md
4. On redirect or webhook, call VerifyPaymentAsync.
5. Fulfill only when provider verification confirms success and expected amount/currency.

## Production checklist

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Make repeated headings unique.

The docs-quality workflow fails MD024 because Pattern and Production checklist recur. Add flow-specific context to every occurrence so markdownlint passes and the generated navigation remains clear.

Proposed fix
-## Production checklist
+## Production checklist — Flow 1: Create Payment

-## Production checklist
+## Production checklist — Flow 2: Automatic Routing

-## Pattern
+## Pattern — Flow 3: Secure Webhooks

-## Production checklist
+## Production checklist — Flow 3: Secure Webhooks

-## Pattern
+## Pattern — Flow 4: Refund Request and Reconciliation

-## Production checklist
+## Production checklist — Flow 4: Refund Request and Reconciliation

Also applies to: 50-50, 58-58, 66-66, 74-74, 81-81

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@docs/api-cookbook.md` at line 32, Update every repeated “Production
checklist” heading in docs/api-cookbook.md to include flow-specific context, and
do the same for each repeated “Pattern” heading and the headings at the
referenced locations such as “50-50” and “58-58”. Keep the headings semantically
clear and uniquely named so MD024 passes and generated navigation remains
understandable.

Sources: Linters/SAST tools, Pipeline failures

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds and wires new documentation pages (capability matrix, cookbook, versioning/release notes) into the MkDocs site, and introduces CI quality gates (markdown lint, link check, strict MkDocs build) to keep docs reliable as the project grows.

Changes:

  • Added new docs pages: gateway capability matrix, API cookbook, and versioning/release notes.
  • Updated MkDocs navigation and homepage discovery links to include the new pages.
  • Added a “Docs Quality” GitHub Actions workflow plus markdownlint/lychee config for consistent docs validation in CI.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
mkdocs.yml Adds new pages to MkDocs navigation under new sections.
docs/api-cookbook.md Introduces end-to-end integration flows and production checklists.
docs/gateway-capability-matrix.md Documents gateway feature support and webhook operational guidance.
docs/versioning-and-release-notes.md Adds SemVer policy, release gating checklist, and release notes template.
docs/index.md Links to new docs pages from the homepage.
.github/workflows/docs-quality.yml Adds CI quality gates: markdown lint, link checking, strict MkDocs build.
.markdownlint-cli2.jsonc Configures markdownlint rules for the docs gate.
.lychee.toml Configures lychee link checking behavior and exclusions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


## Release Triggers

- Tag pattern: v*.*.*
Comment thread docs/api-cookbook.md
"gateway": 2
}
```

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants