Skip to content

Comments

[WIP] docs: standardize docs class table#2185

Merged
dancormier merged 16 commits intobetafrom
dcormier/2026-feb-docs-table
Feb 19, 2026
Merged

[WIP] docs: standardize docs class table#2185
dancormier merged 16 commits intobetafrom
dcormier/2026-feb-docs-table

Conversation

@dancormier
Copy link
Contributor

@dancormier dancormier commented Feb 13, 2026

This PR attempts to simplify docs markup and unify component docs. This PR only makes changes to stacks-docs.

Doc changes

  • Introduces docs-table.html partial to reduce docs page markup clutter and unify table styling
  • Standardizes component classes data json
  • Standardizes component docs pages by including a Classes block at the start of each page
  • Greater use of loops to reduce noisy, difficult to maintain markup

Screenshots

Default style Classes table

image

Collapsed Classes table

image

Docs table used for non-classes data

image

How to test

  • View Component doc pages (Avatars, for example) and make sure they render as expected.

@dancormier dancormier added the do-not-merge Pull requests that are in progress and should not be merged yet label Feb 13, 2026
@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2026

⚠️ No Changeset found

Latest commit: c206dc9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit c206dc9
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/699651934f935100086ac6e8
😎 Deploy Preview https://deploy-preview-2185--stacks.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 project configuration.

@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for stacks-svelte ready!

Name Link
🔨 Latest commit c206dc9
🔍 Latest deploy log https://app.netlify.com/projects/stacks-svelte/deploys/69965193c912cc0007bd6844
😎 Deploy Preview https://deploy-preview-2185--stacks-svelte.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 project configuration.

@dancormier dancormier requested a review from giamir February 18, 2026 23:13
@dancormier dancormier marked this pull request as ready for review February 18, 2026 23:14
@dancormier dancormier removed the do-not-merge Pull requests that are in progress and should not be merged yet label Feb 18, 2026
Copy link
Contributor

@giamir giamir left a comment

Choose a reason for hiding this comment

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

I have skimmed through the changes and the PR env and everything seems to work fine. I am happy to see this merge without a thorough review since it is just touching the docs.
Thanks @dancormier for this cleanup/improvement.

@dancormier dancormier merged commit bfba0ab into beta Feb 19, 2026
28 of 29 checks passed
@dancormier dancormier deleted the dcormier/2026-feb-docs-table branch February 19, 2026 15:20
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