Skip to content

DOC-2303: Add local-build GitHub auth instructions for private content repos - #1879

Open
JakeSCahill wants to merge 3 commits into
mainfrom
DOC-2303-antora-private-repo-auth
Open

DOC-2303: Add local-build GitHub auth instructions for private content repos#1879
JakeSCahill wants to merge 3 commits into
mainfrom
DOC-2303-antora-private-repo-auth

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

Resolves https://redpandadata.atlassian.net/browse/DOC-2303
Review deadline: 2026-08-11

The doc content repos (docs, cloud-docs, rp-connect-docs, adp-docs) are being made private. Antora fetches these repos as remote content sources during every local build, and it does not use git credential helpers, so writers need a one-time credentials setup that isn't covered by an existing gh or keychain login.

This PR adds a Set up GitHub authentication section to the README documenting the one-time ~/.git-credentials setup Antora requires. The private-repo list in the section matches this repo's local-antora-playbook.yml content sources.

Merge alongside the repo visibility change (tracked in DEVPROD-4604).

Page previews

None: README changes only, no site pages affected.

Checks

  • Small fix (typos, links, copyedits, etc)

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@JakeSCahill
JakeSCahill requested a review from a team as a code owner August 4, 2026 10:17
@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 9891f86
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/6a71c73779f4cc0008ec82fb
😎 Deploy Preview https://deploy-preview-1879--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 552e872e-3127-4062-868e-2b16f03c6ba1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

README.adoc adds prerequisites for Antora builds that fetch private GitHub repositories. The documentation covers GitHub CLI authentication, fine-grained personal access token permissions, ~/.git-credentials setup, and recovery from stale or rotated credentials that cause 401 or 404 errors.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: feediver1

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly describes the README change that adds GitHub authentication instructions for local builds.
Description check ✅ Passed The description includes the required sections, Jira ticket, review deadline, page preview note, change context, and checklist.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch DOC-2303-antora-private-repo-auth

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@README.adoc`:
- Around line 65-76: Update the README’s private repository list and
fine-grained PAT instructions to match the repositories configured in
local-antora-playbook.yml and fetched by npm run build: docs, cloud-docs,
redpanda-labs, rp-connect-docs, and docs-site. Remove adp-docs references and
ensure the access guidance names the complete, accurate repository set.
- Line 67: Update the Antora credentials guidance in the README to document both
the default ~/.git-credentials location and the XDG fallback path. Also mention
how to configure an explicit credential path for credentials stored outside
these default locations.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 48b3b2b6-3466-44a8-8b39-6c0204a95896

📥 Commits

Reviewing files that changed from the base of the PR and between 010aac2 and 32005b9.

📒 Files selected for processing (1)
  • README.adoc

Comment thread README.adoc Outdated
Comment thread README.adoc Outdated
JakeSCahill and others added 2 commits August 4, 2026 12:00
Fix repo lists to match each playbook, soften credential-source wording,
add XDG fallback path, remove em dash, use verb-phrase heading, add
new-tab carets to external links.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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