mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
Self-managed GitLab instances on custom domains (e.g., git.company.com) without "gitlab" in the hostname were parsed with 2-segment owner/repo split instead of full-path repo. Users can now declare extra GitLab hostnames in config so the parser treats them like gitlab.com (nested subgroup support). - Add `gitlab_hosts` field to both global and project Config structs - Validate entries at load time (reject scheme, path, port, empty) - Add `ParseOptions` / `ParseSourceWithOptions` to thread hosts into parser - Add `isGitLabHost()` helper combining built-in + custom host detection - Extend `InstallContext` interface with `GitLabHosts()` method - Update all ParseSource call sites (install, search, update, server) - Add JSON schemas for both config files - Add unit tests for config validation and source parsing - Add E2E runbook for devcontainer verification - Document in configuration reference and URL formats appendix
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.