Skip to content

fix broken redirect - #2308

Merged
alexakreizinger merged 1 commit into
masterfrom
alexakreizinger/sc-158491/make-sure-gitbook-redirects-are-working-in
Dec 18, 2025
Merged

fix broken redirect#2308
alexakreizinger merged 1 commit into
masterfrom
alexakreizinger/sc-158491/make-sure-gitbook-redirects-are-working-in

Conversation

@alexakreizinger

@alexakreizinger alexakreizinger commented Dec 18, 2025

Copy link
Copy Markdown
Member

I guess gitbook doesn't let you create a redirect with a specific subheading as its destination. (the other recent redirects I made are all working though, thankfully.)

Summary by CodeRabbit

  • Documentation
    • Updated redirect mapping to point users to the main documentation page instead of a specific section reference.

✏️ Tip: You can customize this high-level summary in your review settings.

Signed-off-by: Alexa Kreizinger <alexakreizinger@gmail.com>
@alexakreizinger
alexakreizinger requested review from a team as code owners December 18, 2025 20:58
@coderabbitai

coderabbitai Bot commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

A redirect mapping in .gitbook.yaml was updated to remove an anchor reference. The target for administration/configuring-fluent-bit/unit-sizes now points to the root documentation page instead of a specific section anchor.

Changes

Cohort / File(s) Summary
GitBook Redirect Update
.gitbook.yaml
Removed anchor reference from redirect target for administration/configuring-fluent-bit/unit-sizes, pointing to main page instead of #unit-sizes section

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested labels

4.2.1

Suggested reviewers

  • cosmo0920

Poem

🐰 A redirect hops along the page,
No anchors now, just open stage,
To documentation, free and wide,
Where knowledge flows with nowhere to hide! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'fix broken redirect' accurately describes the main change: updating a broken redirect in .gitbook.yaml to fix a GitBook redirect issue.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch alexakreizinger/sc-158491/make-sure-gitbook-redirects-are-working-in

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4e21b77 and fcef9cb.

📒 Files selected for processing (1)
  • .gitbook.yaml (1 hunks)
🔇 Additional comments (1)
.gitbook.yaml (1)

104-104: LGTM! Correct fix for GitBook's anchor limitation.

GitBook space-level redirects in .gitbook.yaml do not support fragment/anchor hashes and only match full paths. The removal of the #unit-sizes anchor is necessary. Users will land at the top of the page rather than the specific section, which is unavoidable given this platform constraint.


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 and usage tips.

@alexakreizinger
alexakreizinger merged commit 7fb7ce2 into master Dec 18, 2025
8 checks passed
@alexakreizinger
alexakreizinger deleted the alexakreizinger/sc-158491/make-sure-gitbook-redirects-are-working-in branch December 18, 2025 21:28
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