You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/web/app/(docs)/docs/ai-rules/page.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ export default function AiRules() {
13
13
<CodeBlocklanguage="text">
14
14
{`This is the documentation to integrate zenblog into your website.
15
15
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.
17
17
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.
18
18
19
19
Here is the schema for the API and typescript/javascript client:
0 commit comments