Skip to content

Conversation

@lebalz
Copy link
Contributor

@lebalz lebalz commented Dec 27, 2025

This PR adds

  • a preBuild step to package.json which syncs the packages docs to docs/packages
  • a start command which keeps packages-docs and docs/packages in sync

The pattern can be easily adapted for self hosted tdev pages by adapting the example here. It uses chokidar watcher under the hood.

@netlify
Copy link

netlify bot commented Dec 27, 2025

Deploy Preview for teaching-dev ready!

Name Link
🔨 Latest commit 2b8ca2a
🔍 Latest deploy log https://app.netlify.com/projects/teaching-dev/deploys/69506d1cb8a31f00087afe4a
😎 Deploy Preview https://deploy-preview-261--teaching-dev.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.

@lebalz lebalz merged commit df2c378 into main Dec 27, 2025
5 checks passed
@lebalz lebalz deleted the package-watcher branch December 27, 2025 23:42
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