Skip to content

TKE-47: fix posts index routes#57

Open
wenjiehs wants to merge 1 commit into
tke-workshop:mainfrom
wenjiehs:agent/tke-workshop-doc-compile-sweep/3cd9191b
Open

TKE-47: fix posts index routes#57
wenjiehs wants to merge 1 commit into
tke-workshop:mainfrom
wenjiehs:agent/tke-workshop-doc-compile-sweep/3cd9191b

Conversation

@wenjiehs

Copy link
Copy Markdown
Collaborator

Health Check Report

Source issue: TKE-47

Scope:

  • Scheduled light health check only.
  • Checked Astro build, cookbook Python syntax, git whitespace, existing Node tests, navigation explicit hrefs, and local link/image existence.
  • Did not run Full Compile Sweep or real Tencent Cloud/TKE operations.

Deterministic fix:

  • Updated src/content/docs/posts/index.md to use generated internal routes for the two post links instead of .md source paths.

Verification:

  • npm run build passed.
  • python3 -m py_compile cookbook/common/auth.py cookbook/common/logger.py cookbook/cluster/create_cluster.py cookbook/cluster/delete_cluster.py cookbook/cluster/describe_clusters.py cookbook/supernode/deploy_gpu_pod.py cookbook/workload/deploy_nginx.py passed.
  • node --test test/navigation.test.mjs test/cookbooks.test.mjs test/create-cluster-autoupgrade.test.mjs passed, 10 tests.
  • git diff --check passed.
  • Local route/link/image scanner checked 162 Markdown files and 187 generated routes; missing link/image errors: 0 after the fix.

Skipped:

  • Full dry-run compile across all docs.
  • Live verification / real cloud resource operations.
  • Mass-editing missing code fence languages; scanner found 925 unlabeled fences, which is broad documentation debt and outside this low-risk health-check fix.

Routing findings from health check:

@wenjiehs

Copy link
Copy Markdown
Collaborator Author

Approved.

Scope matches TKE-47: only src/content/docs/posts/index.md changes, replacing .md source-path links with generated route links. Health Check Report is present with Static Compile and dry-run/link-scan evidence: npm run build, targeted cookbook py_compile, node tests, git diff --check, and route/link/image scanner. No Tencent Cloud/TKE live operation is involved.

CI note: GitHub build passed. preview failed and PR deploy skipped are non-content PR-environment failures for this review and do not block approval.

Formal GitHub approval could not be submitted because the available GitHub identity is the PR author.

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.

1 participant