Skip to content

Commit

Permalink
chore(docs): wing by example now comes from the wing monorpo
Browse files Browse the repository at this point in the history
  • Loading branch information
David Boyne authored and David Boyne committed Sep 24, 2024
1 parent 6458c62 commit 001fc17
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/updateDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ const authorization = `token ${process.env.GITHUB_TOKEN}`;
});
await fs.cp("docs/api", "api_versioned_docs/version-latest", { recursive: true });

console.log("example_versioned_docs/version-latest...");
await fs.rm("example_versioned_docs/version-latest", {
force: true,
recursive: true,
});
await fs.cp("docs/by-example", "example_versioned_docs/version-latest", { recursive: true });

// Examples for /examples page
console.log("examples...");

Expand Down

0 comments on commit 001fc17

Please sign in to comment.