Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update links legacy documentation and packages #1992

Merged
merged 5 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/legacy.faustjs.org/docs/next/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Please install our Next.js Getting Started example using the following command:

```bash
npx create-next-app \
-e https://github.com/wpengine/faustjs/tree/main \
-e https://github.com/wpengine/faustjs/tree/archive-legacy \
--example-path examples/next/getting-started \
--use-npm \
my-app
Expand All @@ -24,7 +24,7 @@ cd my-app

```ps
npx create-next-app `
-e https://github.com/wpengine/faustjs/tree/main `
-e https://github.com/wpengine/faustjs/tree/archive-legacy `
--example-path examples/next/getting-started `
--use-npm `
my-app && cd my-app
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ FAUSTWP_SECRET_KEY=xxxx

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

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.
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.

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.

Expand Down
2 changes: 1 addition & 1 deletion internal/legacy.faustjs.org/docs/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default coreConfig({

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

[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)
[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)

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

Expand Down
2 changes: 1 addition & 1 deletion internal/legacy.faustjs.org/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module.exports = {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/wpengine/faustjs/edit/canary/internal/legacy.faustjs.org/',
'https://github.com/wpengine/faustjs/edit/archive-legacy/internal/legacy.faustjs.org/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

`@faustjs/core` is the core library for the Faust.js framework. It contains the core classes and interfaces that are used by other libraries in the framework.

[View legacy Faust.js Documentation](https://legacy.faustjs.org/)
[View legacy Faust.js Documentation](https://faustjs.org/legacy)
josephfusco marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/wpengine/faustjs/tree/main/packages/core"
"url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/core"
},
"keywords": [
"WordPress",
Expand Down
2 changes: 1 addition & 1 deletion packages/next/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

`@faustjs/next` is part of the Faust.js framework. It aids in building Headless WordPress websites with Next.js.

[View legacy Faust.js Documentation](https://legacy.faustjs.org/)
[View legacy Faust.js Documentation](https://faustjs.org/legacy)
2 changes: 1 addition & 1 deletion packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/wpengine/faustjs/tree/main/packages/next"
"url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/next"
},
"keywords": [
"WordPress",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@

`@faustjs/react` is part of the Faust.js framework. It aids in building Headless WordPress websites with React.js.

[View legacy Faust.js Documentation](https://legacy.faustjs.org/)
[View legacy Faust.js Documentation](https://faustjs.org/legacy)
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/wpengine/faustjs/tree/main/packages/react"
"url": "https://github.com/wpengine/faustjs/tree/archive-legacy/packages/react"
},
"keywords": [
"WordPress",
Expand Down
Loading