Skip to content

Commit 257610f

Browse files
authored
Merge pull request #459 from wpengine/chore-add-index.md-docs
chore: Create index.md for docs
2 parents 35cd7ed + ef13e81 commit 257610f

File tree

2 files changed

+93
-0
lines changed

2 files changed

+93
-0
lines changed

docs/index.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "Introduction"
3+
description: "Introduction to the Headless WordPress Toolkit, a modern, framework-agnostic collection of plugins and packages for building headless WordPress applications."
4+
---
5+
6+
7+
# Introduction
8+
9+
## What is the Headless WordPress Toolkit?
10+
11+
The Headless WordPress Toolkit is a modern, framework-agnostic toolkit for building headless WordPress applications. It provides a collection of plugins, packages, and examples to help developers make WordPress a better headless CMS.
12+
13+
Our goal is to provide developers with the tools they need to build fast, scalable, and secure headless applications with WordPress, without being tied to a specific frontend framework.
14+
15+
## Plugins
16+
17+
The toolkit includes several WordPress plugins to enhance the headless experience.
18+
19+
| Plugin | Description |
20+
|--------|-------------|
21+
| [`hwp-previews`](../plugins/hwp-previews/) | Headless Previews solution for WordPress: fully configurable preview URLs via the settings page which is framework agnostic. |
22+
| [`wpgraphql-webhooks`](../plugins/wpgraphql-webhooks/) | Extends WPGraphQL to support webhook subscriptions and dispatching for headless WordPress environments. |
23+
| [`wpgraphql-logging`](../plugins/wpgraphql-logging/) | Logging for WPGraphQL requests with granular lifecycle events and Monolog integration. |
24+
| [`wpgraphql-debug-extensions`](../plugins/wpgraphql-debug-extensions/) | Advanced debugging, performance analysis, and metric collection for WPGraphQL. |
25+
26+
You can find more information about installation in the [plugins documentation](../plugins/README.md).
27+
28+
## Packages
29+
30+
We provide NPM packages that can be used in your frontend applications. All packages use vanilla ES Modules with no build step.
31+
32+
- [`@wpengine/hwp-toolbar`](../packages/toolbar/) — in active development (not yet published)
33+
34+
> [!NOTE]
35+
> No packages are published to npm yet. These are pre-release and subject to change.
36+
37+
## Examples
38+
39+
This project contains a wide variety of examples demonstrating how to use the Headless WordPress Toolkit with different frameworks like Next.js, Astro, SvelteKit, and Nuxt.
40+
41+
Most examples include a `wp-env` setup, allowing you to fully configure a headless application with a single command.
42+
43+
For a full list of examples and how to run them, please see the [examples documentation](../examples/README.md).

docs/nav.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[
2+
{
3+
"title": "Introduction",
4+
"route": "/docs/"
5+
},
6+
{
7+
"title": "Explanation",
8+
"route": "/docs/explanation/",
9+
"children": [
10+
{
11+
"title": "GET vs POST",
12+
"route": "/docs/explanation/get-vs-post/"
13+
},
14+
{
15+
"title": "GraphQL Endpoints",
16+
"route": "/docs/explanation/graphql-endpoints/"
17+
},
18+
{
19+
"title": "Headless Authentication",
20+
"route": "/docs/explanation/headless-authentication/"
21+
},
22+
{
23+
"title": "Rendering Options",
24+
"route": "/docs/explanation/rendering-options/"
25+
},
26+
{
27+
"title": "Routing",
28+
"route": "/docs/explanation/routing/"
29+
},
30+
{
31+
"title": "Sitemaps",
32+
"route": "/docs/explanation/sitemaps/"
33+
}
34+
]
35+
},
36+
{
37+
"title": "How-To Guides",
38+
"route": "/docs/how-to/",
39+
"children": [
40+
{
41+
"title": "Install Toolkit Plugins via Composer",
42+
"route": "/docs/how-to/install-toolkit-plugins/"
43+
},
44+
{
45+
"title": "Automatic Persisted Queries in Next.js",
46+
"route": "/docs/how-to/nextjs-pages-router/enable-apq/"
47+
}
48+
]
49+
}
50+
]

0 commit comments

Comments
 (0)