Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layouts: add toc_max and toc_min #22159

Merged
merged 1 commit into from
Mar 4, 2025

Conversation

craig-osterhout
Copy link
Contributor

@craig-osterhout craig-osterhout commented Mar 4, 2025

Description

Fix toc_min and toc_max for right nav as defined in https://docs.docker.com/contribute/file-conventions/#front-matter

Comparison with existing toc_max: 2:
https://docs.docker.com/desktop/release-notes/
https://deploy-preview-22159--docsdocker.netlify.app/desktop/release-notes/

Related issues or tickets

Reviews

  • Editorial review

Signed-off-by: Craig <craig.osterhout@docker.com>
@github-actions github-actions bot added the hugo Updates related to hugo label Mar 4, 2025
Copy link

netlify bot commented Mar 4, 2025

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit ac4a037
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/67c7550145788600087eb0d9
😎 Deploy Preview https://deploy-preview-22159--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@craig-osterhout craig-osterhout requested a review from a team March 4, 2025 19:32
Copy link
Collaborator

@sarahsanders-docker sarahsanders-docker left a comment

Choose a reason for hiding this comment

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

Love this change! Makes the release notes tocs much easier to skim

@craig-osterhout craig-osterhout merged commit b6456b6 into docker:main Mar 4, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hugo Updates related to hugo status/review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants