Skip to content

Commit

Permalink
chore: move Files API handbook to For Developers section (#334)
Browse files Browse the repository at this point in the history
* chore: move Files API handbook to For Developers section

* fix CSS issue in home page
  • Loading branch information
AbrahamLopez10 authored Jun 6, 2024
1 parent 6189a91 commit e0862ef
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions components/NavigationCardList/NavigationCardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function NavigationCardList(props: NavigationCardListProps) {
>
{props.cards.map((card) => (
<Link className="group" href={card.link} key={card.heading}>
<div className="flex h-full cursor-pointer flex-col overflow-hidden rounded-md bg-white shadow-sm outline outline-transparent transition-all hover:shadow-lg group-hover:outline-bpBlueLight dark:border dark:border-slate-700 dark:bg-slate-950 group-hover:dark:bg-slate-900">
<div className="dark:bg-slate-950 flex h-full cursor-pointer flex-col overflow-hidden rounded-md bg-white shadow-sm outline outline-transparent transition-all hover:shadow-lg group-hover:outline-bpBlueLight dark:border dark:border-slate-700 group-hover:dark:bg-slate-900">
<div
className={classNames(
'relative flex h-56 items-center justify-center bg-button-link group-hover:bg-button-link-hover dark:bg-button-link-dark group-hover:dark:bg-button-link-dark-hover',
Expand All @@ -25,7 +25,7 @@ export function NavigationCardList(props: NavigationCardListProps) {
</div>
</div>
<div className="flex flex-col p-6 dark:border-t dark:border-slate-700 ">
<div className="text-md pb-1 font-bold text-slate-900 dark:text-slate-100">{card.heading}</div>
<div className="text-md pb-1 font-bold text-slate-900">{card.heading}</div>
<div className="text-sm text-slate-600 dark:text-slate-400">{card.subHeading}</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion pages/cloud/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"index": "Home",
"getting-started": "Getting Started",
"admin-dashboard": "Admin Dashboard",
"api-handbook": "API Handbook",
"generative-ai": "Generative AI",
"studio": "Studio Interface",
"toolbox": "Toolbox",
Expand Down
6 changes: 3 additions & 3 deletions pages/developers/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"moving-parts": "Moving Parts",
"cli": "CLI",
"sdk": "SDK",
"howTo":"How To",
"howTo": "How To",
"concepts": "Key Concepts",
"webchat": "Web Chat old",
"webchat": "Web Chat v1 (old)",
"webchat-v2": "Web Chat v2",
"chat": "Chat API",
"api-handbook": "API Handbook",
"publishing-to-botpress-hub": "Publishing to Botpress Hub"
}
File renamed without changes.
File renamed without changes.
15 changes: 10 additions & 5 deletions pages/developers/index.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
This document aims to provide a comprehensive guide to the Botpress Cloud developer experience. After reading it, you should be able to create and manage Bots and Integrations using the CLI and SDK.
# Botpress for Developers

This document aims to provide a comprehensive guide to the Botpress Cloud developer experience. After reading it, you should be able to:

- Create and manage Bots and Integrations using the CLI and SDK.
- Use the Botpress Cloud API to interact with the platform, notably the Chat API and Files API.

## Prerequisites

We assume you are a programmer that knows the JavaScript ecosystem and already has a basic knowledge of Botpress. Among other things, the reader should:

- have built at least one Chatbot with Botpress Cloud Studio
- be comfortable with the command line (either Bash, Powershell or any other shell)
- be familiar with [Node.js](https://nodejs.org/en/), recommended version 18.x.x or later
- be familiar with [TypeScript](https://www.typescriptlang.org/)
- Have built at least one Chatbot with Botpress Cloud Studio.
- Be comfortable with the command line (either Bash, Powershell or any other shell).
- Be familiar with [Node.js](https://nodejs.org/en/), recommended version 18.x.x or later.
- Be familiar with [TypeScript](https://www.typescriptlang.org/).

0 comments on commit e0862ef

Please sign in to comment.