From 0958b7d52b0b6fc7b3c932e3b2d9ee6c36a1698d Mon Sep 17 00:00:00 2001 From: helpbase-sync Date: Mon, 1 Jun 2026 10:41:36 +0000 Subject: [PATCH] docs: sync with codebase (2026-06-01) --- apps/web/content/getting-started/installation.mdx | 10 +++++----- apps/web/content/getting-started/introduction.mdx | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/web/content/getting-started/installation.mdx b/apps/web/content/getting-started/installation.mdx index 11ca98a..00d391e 100644 --- a/apps/web/content/getting-started/installation.mdx +++ b/apps/web/content/getting-started/installation.mdx @@ -19,9 +19,9 @@ helpbase ships as a scaffolder that creates a standalone Next.js project. No run ```bash - npx create-helpbase my-docs + pnpm dlx helpbase init ``` - This creates a new directory with a complete help center project. + This drops the helpbase primitives into your current directory. The scaffolder asks where to seed content from. Three options: @@ -56,13 +56,13 @@ The scaffolded project is completely standalone. It has no dependency on the hel ## Adding to an existing project -If you already have a Next.js + shadcn project, use the registry instead: +If you already have a Next.js + shadcn project, use the command below to add the full helpbase primitive: ```bash -npx shadcn add https://helpbase.dev/r/help-center.json +pnpm dlx helpbase init ``` -This adds the help center components, content pipeline, and routes to your existing project without replacing your layout or configuration. +This adds the help center components, content pipeline, and routes to your existing project. You can also install individual pieces (Help center, MCP server, or Sync workflow) from the [/install](/install) page. ## Deploy diff --git a/apps/web/content/getting-started/introduction.mdx b/apps/web/content/getting-started/introduction.mdx index 7e77cb1..3bace93 100644 --- a/apps/web/content/getting-started/introduction.mdx +++ b/apps/web/content/getting-started/introduction.mdx @@ -27,10 +27,9 @@ Most help center tools are either closed-source hosted SaaS or generic wikis tha - Run the scaffolder to create a new help center project with sample content: + Run the initializer to drop the helpbase primitive into your project: ```bash - npx create-helpbase my-docs - cd my-docs + pnpm dlx helpbase init ```