← Back to Pull requests

[docs] Improve the documentation index page and build instructions #1018

Closed
unknown closed this pull request without merging on Aug 21, 2026 02:33 UTC
View on GitHub
unknown unknown commented on Aug 16, 2026 22:06 UTC
Author

Linked issue: #1017

Purpose of change

Four small documentation fixes, all under docs/.

1. The index page left column is nearly empty. The columns shortcode renders both halves as flex items, so they stretch to the height of the taller one. The left "Try Flink Agents" column held a single sentence against the right column's Slack and Community Sync sections, leaving about 260px of blank space above the closing paragraph.

Two short link lists now fill it, one for the three quickstart agents and one for the main development and operations pages. The columns end within about 15px of each other, and the docs root gets real navigation instead of a single link. The Apache Flink documentation index lists its tutorials the same way.

2. The community sync link points at the 2025 thread. Discussion 66 now opens with "This page is outdated" and redirects to discussion 419, which carries the current schedule, agenda and minutes. Updated on both the English and Chinese index pages.

3. docs/README.md does not name the required Hugo version. setup_hugo.sh pins extended Hugo 0.110.0, but the README only links the generic install page. A newer Hugo removed an internal template the pinned hugo-book theme calls, so a contributor who installs a current Hugo gets no such template "_internal/google_analytics_async.html" with no hint why. The README now names the version, that failure, and where to get the binary on platforms the script does not cover.

4. setup_hugo.sh installs an x86_64 binary on every Linux host. It hard-coded hugo_extended_0.110.0_Linux-64bit.tar.gz, the legacy name for the amd64 build, so Linux ARM64 got a binary that cannot run. The script now selects Linux-64bit or linux-arm64 from uname -m, and exits naming the architecture when neither matches.

Tests

Built the site locally with extended Hugo 0.110.0.

  • Build clean: 48 pages, no errors or warnings.

  • All 26 docs links on the rendered index resolve to a built page, including the nine new ones.

  • Compared against a render of the unmodified page, the blank area is gone.

  • No discussions/66 reference remains under docs/content or docs/content.zh.

  • A current Hugo reproduces the no such template failure named in the README.

  • setup_hugo.sh passes bash -n and shellcheck. x86_64 selects Linux-64bit, aarch64 selects linux-arm64, anything else exits 1. Both artifact URLs return 200 at the sizes the release lists.
  • The ARM64 binary itself was not executed, as no ARM64 Linux host was available.

    API

    No public API change. Documentation only.

    Documentation

  • doc-needed

  • doc-not-needed

  • [X] doc-included
  • Was this patch authored or co-authored using generative AI tooling?

  • [X] Yes

  • No
  • Generated-by: Claude Code 2.1.233 (Claude Opus 5)

    Diff: 368 lines (+276 / -92) across 4 files Reviewer: weiqingy Review duration: 6027m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 368 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.354
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1018"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.8% (MEDIUM) · Higher = larger blast radius
    42.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.9% · Safe to merge
    16.9%