Skip to content

Commit

Permalink
rename top level method
Browse files Browse the repository at this point in the history
  • Loading branch information
outofambit committed Feb 29, 2024
1 parent a5b043a commit 6363c18
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/scripts/build-contribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,12 @@ const moveContentDirectory = async (
}
};

const run = async () => {
/**
* Builds the contributor docs by cloning the p5 repo
* and converting the files into a content collection in this
* Astro site.
*/
const buildContributorDocs = async () => {
console.log("Building contributor docs...");

await cloneLibraryRepo(clonedRepoPath, docsRepoUrl);
Expand Down Expand Up @@ -190,4 +195,4 @@ const run = async () => {
console.log("Contributor docs build completed.");
};

run();
buildContributorDocs();

0 comments on commit 6363c18

Please sign in to comment.