Skip to content

Conversation

chenmoneygithub
Copy link
Collaborator

@chenmoneygithub chenmoneygithub commented Oct 7, 2025

The current tutorial page expands all items by default, making the sections other from the first invisible:
image

It's a good idea to expand, but we can limit each section to have only 3, then use a "more tutorials" button to bring users to the specific section's landing page:
image

Clicking on more tutorials bring users to the landing page:

image

Disclaimer: 90% of this PR's credit goes to claude code.

@@ -0,0 +1,77 @@
document.addEventListener('DOMContentLoaded', function () {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like the behavior! Just wondering if there's an existing plugin/configuration we can use to achieve this behavior.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good question! I searched around and mkdocs doesn't provide an out-of-box feature for it. I also thought about making "More tutorials" an item, but it could be a bit confusing because it's not equivalent to other tutorials.

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