Skip to content

Commit b098fcb

Browse files
authored
chore: update links legacy documentation and packages (#1992)
* Update legacy docs * Update legacy package documents links * Update edit path for legacy site * Revert "Update legacy package documents links" This reverts commit 4da6edc. * Revert package updates
1 parent 25cf3a0 commit b098fcb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

internal/legacy.faustjs.org/docs/next/getting-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Please install our Next.js Getting Started example using the following command:
1313

1414
```bash
1515
npx create-next-app \
16-
-e https://github.com/wpengine/faustjs/tree/main \
16+
-e https://github.com/wpengine/faustjs/tree/archive-legacy \
1717
--example-path examples/next/getting-started \
1818
--use-npm \
1919
my-app
@@ -24,7 +24,7 @@ cd my-app
2424

2525
```ps
2626
npx create-next-app `
27-
-e https://github.com/wpengine/faustjs/tree/main `
27+
-e https://github.com/wpengine/faustjs/tree/archive-legacy `
2828
--example-path examples/next/getting-started `
2929
--use-npm `
3030
my-app && cd my-app

internal/legacy.faustjs.org/docs/next/guides/post-page-previews.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ FAUSTWP_SECRET_KEY=xxxx
3737

3838
### Ensure you've created your `faust.config.js` file and are importing it in your `_app.tsx`
3939

40-
Like the [`next/getting-started`](https://github.com/wpengine/faustjs/tree/main/examples/next/getting-started) Faust.js example, your [`faust.config.js`](https://github.com/wpengine/faustjs/blob/main/examples/next/getting-started/src/faust.config.js) file will live in the `src` directory.
40+
Like the [`next/getting-started`](https://github.com/wpengine/faustjs/tree/archive-legacy/examples/next/getting-started) Faust.js example, your [`faust.config.js`](https://github.com/wpengine/faustjs/blob/main/examples/next/getting-started/src/faust.config.js) file will live in the `src` directory.
4141

4242
You'll need to import it at the top of your `_app.tsx` file to ensure the `config` is set, and your Faust.js app initializes appropriately.
4343

internal/legacy.faustjs.org/docs/release-notes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default coreConfig({
5757

5858
**Notice**: `headlessConfig` has been renamed to just `config`
5959

60-
[Take a look at the Getting Started example for a closer look at these breaking changes.](https://github.com/wpengine/faustjs/tree/main/examples/next/getting-started)
60+
[Take a look at the Getting Started example for a closer look at these breaking changes.](https://github.com/wpengine/faustjs/tree/archive-legacy/examples/next/getting-started)
6161

6262
### Faust.js 0.11.0 - Sept 23, 2021
6363

internal/legacy.faustjs.org/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ module.exports = {
156156
sidebarPath: require.resolve('./sidebars.js'),
157157
// Please change this to your repo.
158158
editUrl:
159-
'https://github.com/wpengine/faustjs/edit/canary/internal/legacy.faustjs.org/',
159+
'https://github.com/wpengine/faustjs/edit/archive-legacy/internal/legacy.faustjs.org/',
160160
showLastUpdateAuthor: true,
161161
showLastUpdateTime: true,
162162
},

0 commit comments

Comments
 (0)