cairo-contracts icon indicating copy to clipboard operation
cairo-contracts copied to clipboard

Add docsite preview to CI

Open martriay opened this issue 3 years ago • 1 comments

The docs-utils project suggests a javascript-based solution to implement docsite previews on PRs. This issue aims to adapt it to this repository for the relevant PRs.

martriay avatar Aug 03 '22 19:08 martriay

I think we can still use docs-utils just using npx so we don't have to add a package.json.

frangio avatar Aug 03 '22 19:08 frangio

Expanding on the above: as long as Node.js is installed, npx is available and can be used to run docs-utils without installing it. It would look something like npx @openzeppelin/docs-utils -- -c docs (-- may or may not be necessary).

On GitHub Actions you need to add use: actions/setup-node.

frangio avatar Sep 05 '22 14:09 frangio

fixed by #459

martriay avatar Sep 10 '22 17:09 martriay