OpenFn / adaptors

The new home for OpenFn adaptors; re-usable connectors for the most common DPGs and DPI building blocks.
GNU General Public License v3.0
7 stars 8 forks source link

Refactor docs build into two scripts #610

Closed josephjclark closed 3 months ago

josephjclark commented 4 months ago

To make local docs development easier, this PR splits the docs.json build into two steps: one to build the docs, and one to commit and publish.

Now you can run pnpm docs:build to generate your docs.json file, and easily import that into your local docs repo (see https://github.com/OpenFn/docs/pull/498)

I've also moved the scripts into ./scripts, where they are more discoverable, and hooked them into package.json

This should make absolutely no change to the actual build.

josephjclark commented 3 months ago

I think I need to do something about permissions on the scripts - I get EACCES errors when I get the branch out