Skip to content

fix: restore version-aware documentation discovery - #515

Merged
hossain-rayhan merged 1 commit into
documentdb:geeichbe/fix-release-doc-entrypointsfrom
xgerman:geeichbe/fix-doc-discovery
Nov 16, 2026
Merged

hossain-rayhan merged 1 commit into
documentdb:geeichbe/fix-release-doc-entrypointsfrom
xgerman:geeichbe/fix-doc-discovery

Conversation

@xgerman

@xgerman xgerman commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

Dependency

Builds on #514. The base branch is an exact upstream mirror of that PR head so this diff contains only priority 2. Retarget to main after #514 merges. This is an ordinary dependent-PR chain; native stacks cannot register the fork-based parent.

Summary

  • Configure site_url and the existing mike plugin so canonical URLs and sitemap entries use the actual numbered snapshot, not an ambiguous latest alias.
  • Publish TechArticle JSON-LD about the operator SoftwareApplication, including the operator release version, and advertise the existing llms.txt index.
  • Clearly label dev/prerelease snapshots, mark them noindex/follow, and exclude them and the root redirect page from sitemap listings.
  • Match direct CI/predeployment build versions to mike deployment versions.

Historical release snapshots are not rewritten. Main pushes update dev only; latest gains a populated sitemap when this change ships in a stable operator release. A companion main-site PR advertises latest/sitemap.xml through documentdb.io robots.txt.

Verification

  • Eleven documentation tests passed, including complete stable/dev/prerelease builds validating canonical URLs, parsed JSON-LD, sitemap entries, noindex directives, and visible notices.
  • Release snapshot build passed without warnings; existing preview/v1 entrypoint checks passed.
  • Changed workflows passed actionlint and whitespace checks.

Generate snapshot-specific canonical URLs and sitemaps, add technical article metadata, and exclude development and prerelease snapshots from indexing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a75e58d3-aa68-49f9-8213-70a354bfcc1b
Signed-off-by: German Eichberger <geeichbe@microsoft.com>
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: CI/CD, documentation
Project fields suggested: Component ci · Priority P2 · Effort L · Status Needs Review
Confidence: 0.95 (deterministic)

Reasoning

component from path globs (ci, docs); effort from diff stats (193+2 LOC, 6 files)

If a label is wrong, ping @patty-chow so the rules can be tuned. Issues with component labels are left alone; PR component labels are reconciled from changed paths on every run.

@hossain-rayhan
hossain-rayhan merged commit d938d94 into documentdb:geeichbe/fix-release-doc-entrypoints Nov 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants