Article
Publish a JSDoc documentation site with GitHub Pages
How to turn jsdoc-scribe output into a public documentation site with GitHub Actions and GitHub Pages.
GitHub PagesCIDocs
A documentation workflow should be boring in the best way: push to main, build static files, deploy. GitHub Pages is a natural fit for jsdoc-scribe because the generated output is plain HTML, CSS, and JavaScript.
Recommended workflow
Keep generated output out of Git, generate it in CI, and upload the _site folder as the Pages artifact.
npm ci
npm run docs:pages
Add richer blog content later
Blog posts in this site can include paragraphs, headings, images, videos, quotes, and code blocks, so tutorials can feel closer to a publishing platform while staying static and fast.