← Back to Pull requests

[WEB-10111] Skip Hugo rendering of API endpoint pages #41595

Closed
unknown closed this pull request without merging on Nov 11, 2026 17:06 UTC
View on GitHub
unknown unknown commented on Nov 10, 2026 17:01 UTC
Author

<!-- Note: Please remember to review the Datadog Documentation Contribution Guidelines if you have not yet done so. -->

What does this PR do? What is the motivation?

Fixes WEB-10111

Skip the rendering of endpoint API pages in Hugo (not overview or operation pages), since Astro is now building them.

  • Hugo still provides search indexing for API endpoints, but it doesn't use any of the rendered endpoint HTML for this. Search indexing will still function regardless. I left the overview and operation pages intact for indexing.

  • The sitemap should still include API pages even if Hugo doesn't render them, since a separate job blends the Astro and Hugo sitemaps. I can verify this once this code is on master.

  • I simply shut off the Changelog rendering. We could remove its logic entirely, but I wasn't sure whether we wanted to yet. This felt like an easily reversible change that gets us the build efficiency we want. I submitted a followup card to delete the Changelog code entirely, just to separate our hazards.
  • Documentation reviewer instructions

    You can probably just approve this, none of it represents content changes.

    Platform reviewer instructions

    Note: You can tell that the staging pages linked below represent the Hugo API docs, not the Astro API docs, because the link in the preview footer banner is not purple. The Astro footer banner uses a purple link.

    1. Verify that endpoint pages, such as Get an existing action connection, 404 (local, staging).
    2. Verify that overview pages, such as API Reference, still render, since search indexes their content (local, staging). The other overview pages are Using the API, Authorization Scopes, and Rate Limits.
    3. Verify that operation pages, such as Action Connection, still render, since they're used for search indexing (local, staging).
    4. Verify that the Changelog 404s (local, staging).

    Merge readiness

  • Ready for merge
  • AI assistance

    Claude Code investigated the indexing templates, wrote the config change, and drafted this description. It was not verified with a local build.

    For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.

  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.
  • Diff: 410 lines (+307 / -103) across 5 files Reviewer: melamos Review duration: 1445m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 410 lines diff across 5 files
    0.45
    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.360
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #41595"
    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: 44.9% (MEDIUM) · Higher = larger blast radius
    44.9%
    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: 17.7% · Safe to merge
    17.7%