Skip to content

Commit

Permalink
chore(docs): wing by example now comes from the wing monorpo (#1030)
Browse files Browse the repository at this point in the history
Requires winglang/wing#7163 to be merged.

This will now pull in docs for "Wing by example" from the wing main
repo.

Co-authored-by: David Boyne <[email protected]>
  • Loading branch information
boyney123 and David Boyne authored Sep 30, 2024
1 parent 4521add commit c119290
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 c119290

Please sign in to comment.