Skip to content

fix(docs): Command reference hides the sidebar on leaf pages - #105

Merged
khvn26 merged 3 commits into
mainfrom
docs/sidebar-command-tree
Aug 24, 2026
Merged

fix(docs): Command reference hides the sidebar on leaf pages#105
khvn26 merged 3 commits into
mainfrom
docs/sidebar-command-tree

Conversation

@khvn26

@khvn26 khvn26 commented Aug 24, 2026

Copy link
Copy Markdown
Member

In this PR, we address three issues found in https://flagsmith.github.io/flagsmith-cli/:

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

Next included review available in 2 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 5ad4e21a-5a86-4b1c-9f18-14d508e108ff

📥 Commits

Reviewing files that changed from the base of the PR and between 02364b7 and 8322703.

📒 Files selected for processing (1)
  • website/hugo.yaml
📝 Walkthrough

Walkthrough

Generated command documentation now converts Cobra’s ### SEE ALSO heading to ### See also. Tests verify the heading and sidebar configuration for root, nested, and leaf pages. Hugo now assigns the docs content type to all generated command reference pages.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 02364

This PR fixes sidebar rendering and heading presentation in generated command-reference docs. The remaining follow-ups are limited to a deprecated Hugo key and capitalization consistency, with no material product or deployment impact; no actionable merge-blocking risk remains beyond normal checks and review.


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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 270d984b-17b1-443f-b6b5-fddf3d70ec8f

📥 Commits

Reviewing files that changed from the base of the PR and between 2d55665 and 02364b7.

📒 Files selected for processing (3)
  • cmd/docgen/main.go
  • cmd/docgen/main_test.go
  • website/hugo.yaml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

Comment thread website/hugo.yaml
Comment thread cmd/docgen/main.go
@khvn26
khvn26 merged commit a5e139c into main Aug 24, 2026
9 checks passed
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.

2 participants