Skip to content

2.0: build: allow build:contributor-docs to read content from local repo & branch #1114

@nbogie

Description

@nbogie

Increasing Access

This minor build-process change would make it possible for people to iteratively test out their local changes and additions to p5.js /contributor-docs to see whether they'll be rendered correctly by the website, without having to wait to have them merged into production.

Makes the prospect of such contributions less daunting, and makes for easier faster iterative development.

Most appropriate sub-area of p5.js?

Other (specify if possible)

Feature request details

I suggest build:contributor-docs make use of the same pattern as used in

await cloneLibraryRepo(
, to allow content source to be overriden with env vars:

  • P5_REPO_URL
  • P5_BRANCH

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions