Skip to content

fix: verify released documentation entrypoints - #514

Merged
hossain-rayhan merged 2 commits into
documentdb:mainfrom
xgerman:geeichbe/fix-release-doc-entrypoints
Nov 13, 2026
Merged

hossain-rayhan merged 2 commits into
documentdb:mainfrom
xgerman:geeichbe/fix-release-doc-entrypoints

Conversation

@xgerman

@xgerman xgerman commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Completes the documentation-entrypoint follow-up to #513 (agent-first review priority 1), plus the requested llms.txt discovery index.

  • Preserve preview/ and v1/ getting-started landing URLs with compatibility redirects.
  • Distinguish documentation snapshots, operator/chart releases, engine releases, and CRD API versions.
  • Publish a compact llms.txt index of released guides in each documentation snapshot and link it from README.
  • Check README and llms.txt links through HTTP and HTML meta-refresh redirects, validate anchors, and reject development-doc fallbacks.
  • Run checks in PR CI, before documentation deployment, and after stable release publication with bounded retries.

Preserves frozen releases and the latest-versus-dev policy. No sitemap, compatibility-matrix, or playground changes.

Verification

  • Nine focused link-checker tests passed.
  • MkDocs build passed; llms.txt is copied byte-for-byte into the built site.
  • Candidate entrypoints and all indexed current stable guide links resolve.
  • Changed workflows passed actionlint; whitespace checks passed.

Preserve preview and v1 getting-started entrypoints, clarify version terminology, and verify README links before deployment and after stable releases.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: a75e58d3-aa68-49f9-8213-70a354bfcc1b
Signed-off-by: German Eichberger <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 13, 2026 20:28

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.

🟡 Changes recommended

The link checker can incorrectly accept a broken anchor because it loses fragment inheritance across chained redirects; the redirect handling needs correction and a full-chain regression test.

1 open issue
What changed in this PR

This PR adds documentation-entrypoint checks to the operator’s CI and release workflows while preserving frozen release snapshots and the existing latest versus dev policy.

Changes:

  • Preserve preview/ and v1/ getting-started landing URLs through redirects.
  • Clarify documentation, operator/chart, engine, and CRD API version distinctions.
  • Add a standard-library link checker, focused tests, and checks before deployment and after stable release publication.
File Description
README.md Explains release documentation links and version distinctions.
mkdocs.yml Adds getting-started landing redirects for both layouts.
docs/​operator-public-documentation/​v1/​getting-started/​before-you-start.md Clarifies version meanings and documentation snapshot policy.
.github/​workflows/​test-docs.yml Checks candidate entrypoints and released README links in CI.
.github/​workflows/​deploy_docs.yml Adds pre-deployment checks and post-release verification retries.
.github/​scripts/​check_doc_links.py Checks redirects, anchors, and development-documentation fallbacks.
.github/​scripts/​check_doc_links_test.py Adds focused coverage for link-checker behavior.

Review effort: Balanced

Comment on lines +67 to +70
with urlopen(request, timeout=15) as response:
url = response.geturl()
require_release_url(url)
fragment = urlsplit(url).fragment or fragment
Publish a compact index of stable documentation and include its links in the existing documentation checks.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: a75e58d3-aa68-49f9-8213-70a354bfcc1b
Signed-off-by: German Eichberger <[email protected]>
@hossain-rayhan
hossain-rayhan merged commit 18f6dc4 into documentdb:main Nov 13, 2026
2 checks passed
hossain-rayhan added a commit to hossain-rayhan/documentdb-kubernetes-operator that referenced this pull request Nov 16, 2026
- Release date 2026-11-17.
- Add CHANGELOG entries for changes merged after the release PR was
  opened: OTel Collector outbound proxy (documentdb#476), documentdb_core upgraded
  with documentdb (documentdb#507), and stable documentation links and checks
  (documentdb#513, documentdb#514). documentdb#508 already added its own entry; documentdb#509 is internal.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 9f1a71b4-9969-4456-9f65-8d19dd550d8e
Signed-off-by: Rayhan Hossain <[email protected]>
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.

5 participants