Add a link to the API reference on the home page, update dev guide

This commit is contained in:
Morgan Dean
2025-07-21 15:29:07 -07:00
parent 76ce82d117
commit 191b6f74c0
2 changed files with 28 additions and 3 deletions

View File

@@ -1,14 +1,14 @@
---
title: Developer Guide
description: The guide for developing within the cua repository.
description: Set up development for the Cua open source repository.
---
import { GithubInfo } from 'fumadocs-ui/components/github-info';
<GithubInfo owner="trycua" repo="cua" token={process.env.GITHUB_TOKEN} />
## Project Structure
<GithubInfo owner="trycua" repo="cua" token={process.env.GITHUB_TOKEN} />
The project is organized as a monorepo with these main packages:
### Python

View File

@@ -3,6 +3,10 @@ title: Home
icon: House
---
import { buttonVariants } from 'fumadocs-ui/components/ui/button';
import { cn } from 'fumadocs-ui/utils/cn';
import { ChevronRight } from 'lucide-react';
## What is C/ua?
C/ua is a collection of cross-platform libraries and tools for building Computer-Use AI agents.
@@ -26,6 +30,27 @@ C/ua is a collection of cross-platform libraries and tools for building Computer
</Cards>
---
<Callout type="info">
**Need detailed API documentation?**
<span className="w-full">
Explore the complete API reference with detailed class documentation, and
method signatures.
</span>
<a
href="/api"
className={cn(
buttonVariants({
color: 'secondary',
}),
'no-underline h-10'
)}>
View API Reference
<ChevronRight size={18} />
</a>
</Callout>
## Resources
- [How to use the MCP Server with Claude Desktop or other MCP clients](./libraries/mcp-server) - One of the easiest ways to get started with C/ua