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

docs: use component list for sidebar #528

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

andretchen0
Copy link
Contributor

@andretchen0 andretchen0 commented Nov 21, 2024

Problem

In the docs code, there are 2 sources of truth for the question "What components are available in Cientos?":

  • docs/.vitepress/config.ts
  • docs/component-list/components.ts

The 2 have accidentally diverged, with some components only listed in one list or the other.

Solution

Refactor docs/.vitepress/config.ts to pull the component list from docs/component-list/components.ts

(NOTE: This builds on #527 , so the component added by that PR doesn't get delisted.)

Copy link

netlify bot commented Nov 21, 2024

Deploy Preview for cientos-tresjs ready!

Name Link
🔨 Latest commit bf9ed75
🔍 Latest deploy log https://app.netlify.com/sites/cientos-tresjs/deploys/673ed0517d6de10008dc08ce
😎 Deploy Preview https://deploy-preview-528--cientos-tresjs.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.

Copy link

pkg-pr-new bot commented Nov 21, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@tresjs/cientos@528

commit: bf9ed75

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.

1 participant