mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-18 18:04:17 +00:00
A directory extra used to sync every file to every target, so a tool that only wanted a few docs got the whole folder. Each target can now set gitignore-style include/exclude patterns, matched on the path inside the source. Merge targets prune links to files that stop matching; copy targets keep earlier copies, since nothing records which copied files are ours. Filters are rejected for symlink mode and single-file extras, and sync warns when an include matches nothing. The dashboard previously forced users to delete and re-add a target or an extra to change it. Edit target now changes the folder, file name, mode, flatten and filters with a live preview; Edit extra renames an extra or points it at another source folder. A moved target or source drops the links left at the old place and syncs right away. CLI: --include/--exclude on extras init, and --add-include, --add-exclude, --remove-include, --remove-exclude on extras <name>. Refs #435
Website
Documentation site for skillshare, built with Docusaurus.
Install
npm install
Local Development
npm start
Quality Checks
npm run typecheck
npm run clear
Build and Preview
npm run build
npm run serve
Deployment
npm run deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.