Skip to content

Commit cfc324a

Browse files
committed
docs
1 parent 8a8d311 commit cfc324a

File tree

1 file changed

+1
-1
lines changed
  • apps/web/app/(docs)/docs/ai-rules

1 file changed

+1
-1
lines changed

apps/web/app/(docs)/docs/ai-rules/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function AiRules() {
1313
<CodeBlock language="text">
1414
{`This is the documentation to integrate zenblog into your website.
1515
Zenblog is a headless CMS that allows you to create and manage your blog. It will host images and videos for you.
16-
You can install the zenblog package with npm i zenblog to use the typed http client for the API.
16+
You can install the zenblog package with npm i zenblog to use the typed http client for the API. Make sure the package version is 1.2.0 or higher.
1717
To integrate zenblog into your website, you just need to make an HTTP request to the API with the Blog ID which you can find in the Zenblog dashboard. The content is returned as an html string. You have to render it to the dom. You can parse it however you want and change the styles and dom elements for your website as you need.
1818
1919
Here is the schema for the API and typescript/javascript client:

0 commit comments

Comments
 (0)