Skip to content

About

GitHub Action to build documentation with Sourcey

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Docs with Sourcey

GitHub Action to build static documentation from OpenAPI specs, MCP snapshots, code and Markdown with Sourcey.

Usage

- uses: sourcey/build-docs@v1

Sourcey reads sourcey.config.ts in the working directory and writes the site to docs/. A project whose package.json depends on sourcey builds with its own, at the version its lockfile holds, installed with npm, pnpm or Yarn as the lockfile says. Any other config or spec builds with the version input, latest unless set, and nothing in the project changes.

A config elsewhere

- uses: sourcey/build-docs@v1
  with:
    config: docs/sourcey.config.ts
    output: site

One OpenAPI spec, without a config