Skip to content

Experimenting with making directory listing buttons#28450

Open
Oxyjun wants to merge 2 commits intoproductionfrom
jun/devdocs/directorylisting-update
Open

Experimenting with making directory listing buttons#28450
Oxyjun wants to merge 2 commits intoproductionfrom
jun/devdocs/directorylisting-update

Conversation

@Oxyjun
Copy link
Contributor

@Oxyjun Oxyjun commented Feb 19, 2026

Summary

I thought it would be cool to have the individual links a little more polished than a list of hyperlinks.

This only works when we default to the depth=1 level (as it wouldn't make sense to have buttons if we're surfacing higher depth of folders.

Screenshots (optional)

Without button={true} flag:

image

With button={true} flag:

image

This also works when there are many items.

image image

Documentation checklist

  • Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
  • The change adheres to the documentation style guide.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2026

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
*.astro @cloudflare/content-engineering, @kodster28
/src/content/docs/style-guide/ @dcpena, @cloudflare/pcx-technical-writing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments