Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions docs/products/agent-capsule/chat/agent-api-sample.md

This file was deleted.

11 changes: 11 additions & 0 deletions docs/products/agent-capsule/chat/agent-api-sample.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Agent API (Sample)
slug: /products/agent-capsule/chat/agent-api-sample
description: The following specifications describe a standard API used by the Code Capsules chat window to communicate with the agent.
hide_title: true
hide_table_of_contents: true
---

import ScalarEmbeddedApiReference from '@site/src/components/ScalarEmbeddedApiReference';

<ScalarEmbeddedApiReference />
7 changes: 5 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const redirects = [
{from: ['/cli/readme'], to: '/cli'},
];

const url = process.env.DOCUSAURUS_URL || 'http://localhost';
const baseUrl = process.env.DOCUSAURUS_BASE_URL || '/';

// Converts GitBook-flavoured card tables to card grid divs.
// MDX parses raw HTML as mdxJsxFlowElement nodes, so we work with the MDX AST.
// Input: <table data-card-size="large" data-view="cards">...</table>
Expand Down Expand Up @@ -116,8 +119,8 @@ const config: Config = {
v4: true,
},

url: 'https://preview.ritza.co',
baseUrl: '/cc-new/',
url,
baseUrl,
trailingSlash: true,
onBrokenLinks: 'warn',
markdown: {
Expand Down
Loading