Skip to content

docs: improve documentation navigation layout - #2063

Open
Suhani95 wants to merge 5 commits into
kyverno:mainfrom
Suhani95:fix/docs-inter-navigation-layout
Open

docs: improve documentation navigation layout#2063
Suhani95 wants to merge 5 commits into
kyverno:mainfrom
Suhani95:fix/docs-inter-navigation-layout

Conversation

@Suhani95

@Suhani95 Suhani95 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

docs: improve inter-navigation layout

Related issue

Fixes #2062

Proposed Changes

  • Removed the global width toggle from the website navigation.
  • Reduced the width of the documentation intra-navigation to provide more space for content.
  • Added a collapse/expand control for the inter-navigation.
  • Expanded the documentation content area when the inter-navigation is collapsed.
  • Added a smooth transition for the collapse/expand behavior.
  • Improved readability for documentation pages containing long code blocks, YAML examples, and tables.

Before

Navbar
1
Intra-Navigation
2

After

Navbar
image
Collapsable inter-navigation
1
2

Checklist

  • I have read the contributing guidelines.
  • I have inspected the website preview for accuracy.
  • I have signed off my issue.

Signed-off-by: Suhani <[email protected]>

docs: improve inter-navigation layout

Signed-off-by: Suhani <[email protected]>
@github-actions github-actions Bot added website-redesign Everything related to the new wesbite, whether it's content / design / tech bugs. javascript Pull requests that update javascript code config labels Jun 1, 2026
@naseyro

naseyro commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

I left some notes here on Slack

@Suhani95
Suhani95 force-pushed the fix/docs-inter-navigation-layout branch from a928c3b to f6bb24e Compare June 2, 2026 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config javascript Pull requests that update javascript code website-redesign Everything related to the new wesbite, whether it's content / design / tech bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Improve Documentation Reading Experience with Collapsible In-Page Navigation

4 participants