Skip to content

Commit

Permalink
Merge pull request #242 from wpengine/fix/markdown-link
Browse files Browse the repository at this point in the history
Fix: Markdown Docs links
  • Loading branch information
moonmeister authored Jan 29, 2025
2 parents 16d96d7 + 579bdfb commit b3ba7a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 67 deletions.
57 changes: 0 additions & 57 deletions src/pages/docs/explanation/example/index.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@ This guide walks you through rendering native WordPress core blocks using the te

If you haven't already, follow the [Basic Setup](/docs/how-to/basic-setup/) to get Faust.js set up.

### 2\. Template Hierarchy Setup

Set up the [template hierarchy](/docs/how-to/template-hierarchy/) in Faust.js.

### 3\. WPGraphQL Content Blocks Plugin
### 2\. WPGraphQL Content Blocks Plugin

1\. Set up the [WPGraphQL Content Blocks plugin](https://github.com/wpengine/wp-graphql-content-blocks) on the WP backend. Head over to the [GitHub repo](https://github.com/wpengine/wp-graphql-content-blocks) and download the [latest version](https://github.com/wpengine/wp-graphql-content-blocks/releases/latest/download/wp-graphql-content-blocks.zip) of the `wp-graphql-content-blocks` plugin from the releases tab.

2\. Upload the plugins `.zip` file to your WordPress site via the plugins page or unzip and copy the file contents into your WordPress `wp-content/plugins` folder manually.

3\. Activate the plugin on the WordPress plugins page.

### 4. Render Blocks from the @faust/blocks package
### 3. Render Blocks from the @faust/blocks package

The `@faust/blocks` package contains a small reference list of blocks that you can use in your site. To use them, you need to import the relevant blocks into your block list:

Expand Down
5 changes: 1 addition & 4 deletions src/pages/docs/nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,7 @@
"title": "Telemetry",
"route": "/docs/explanation/telemetry/"
},
{
"title": "Example",
"route": "/docs/explanation/example"
},

{
"title": "Apollo Client Basics",
"route": "/docs/explanation/apollo-client-basics/"
Expand Down

1 comment on commit b3ba7a1

@headless-platform-by-wp-engine

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out the recent updates to your Headless Platform environment:

App Environment URL Build
faustjs.org toolkit https://hp…wered.com ✅ (logs)

Learn more about building on Headless Platform in our documentation.

Please # to comment.