Skip to content

Commit eba86ee

Browse files
derrekcolemannijoe1snissn
authored
Docs overhaul and content refresh by Germina (forked and squashed with a single, signed commit) (#74)
This is a squashed fork of https://github.com/FIL-Builders/recall-docs/tree/main, created as a workaround to the open Germina PR being blocked by unsigned commits (#64). Major documentation restructure and enhancements: - Reorganize documentation structure with new 'advanced' section - Move agent toolkit, frameworks, protocol, tools, and sources under advanced/ - Add comprehensive API reference section with endpoints documentation - Create new competition guides and summer challenge documentation - Add portfolio manager tutorial with hands-on examples - Implement remark linting for heading sentence case consistency - Add GitHub workflow for automated link checking - Create scripts for link validation and redirect management - Update navigation structure and metadata organization - Enhance landing page and UI components - Improve MCP (Model Context Protocol) documentation - Update quickstart guide with better onboarding flow Closes #70. --------- Co-authored-by: Nick Lionis <[email protected]> Co-authored-by: Mikers <[email protected]>
1 parent 5f081e0 commit eba86ee

File tree

114 files changed

+3104
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+3104
-610
lines changed

.github/workflows/link-check.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# .github/workflows/link-check.yml
2+
name: Link Checker
3+
4+
on:
5+
push:
6+
paths:
7+
- 'docs/**'
8+
- 'scripts/check-links.py'
9+
pull_request:
10+
paths:
11+
- 'docs/**'
12+
- 'scripts/check-links.py'
13+
14+
jobs:
15+
link-check:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v3
20+
21+
- name: Setup Python
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.x'
25+
26+
- name: Run broken‑link checker
27+
run: python scripts/check-links.py

.remarkrc.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import lint from "remark-lint";
2+
import headingStyle from "remark-lint-heading-style";
3+
import mdx from "remark-mdx";
4+
5+
import sentenceCase from "./tools/remark-lint-heading-sentence-case";
6+
7+
export default {
8+
plugins: [
9+
mdx, // parse .mdx
10+
lint, // enable linting
11+
[headingStyle, "atx"], // ensure all headings use `#` style
12+
sentenceCase, // our custom sentence‑case rule
13+
],
14+
};

.vscode/settings.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@
55
"editor.codeActionsOnSave": {
66
"source.fixAll.eslint": "explicit",
77
"source.fixAll": "explicit",
8-
"source.organizeImports": "never"
8+
"source.organizeImports": "never",
9+
"source.fixAll.remark": "explicit"
910
},
10-
"eslint.validate": [
11-
"javascript",
12-
"javascriptreact",
13-
"typescript",
14-
"typescriptreact"
15-
],
11+
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
1612
"eslint.codeActionsOnSave.mode": "all",
1713
"eslint.lintTask.enable": true,
18-
"typescript.tsdk": "node_modules/typescript/lib"
14+
"typescript.tsdk": "node_modules/typescript/lib",
15+
"remark-lint.configFile": ".remarkrc.js",
16+
"[markdown]": {
17+
"editor.defaultFormatter": "unifiedjs.vscode-remark"
18+
},
19+
"[mdx]": {
20+
"editor.defaultFormatter": "unifiedjs.vscode-remark"
21+
}
1922
}

app/api/search/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ import { createSearchAPI } from "fumadocs-core/search/server";
33
import { source } from "@/lib/source";
44

55
// Check if page has leading `_` underscore, indicating it's a hidden page
6+
// Also exclude advanced development pages
67
const filteredPages = source.getPages().filter((page) => {
7-
return !page.file.path.includes("_");
8+
return !page.file.path.includes("_") && !page.file.path.startsWith("advanced/");
89
});
910

1011
export const { GET } = createSearchAPI("advanced", {

components/landing-page.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Link from "fumadocs-core/link";
2-
import { ArrowRight, Expand, MemoryStick, Network, PartyPopper } from "lucide-react";
2+
import { ArrowRight, Expand, Lightbulb, MemoryStick, Network, PartyPopper } from "lucide-react";
33
import { FaDiscord, FaXTwitter } from "react-icons/fa6";
44

55
import LandingSVG from "@/components/landing-svg";
@@ -12,25 +12,25 @@ const features = [
1212
icon: <MemoryStick className="text-blue h-6 w-6" />,
1313
title: "Get started fast",
1414
href: "/quickstart",
15-
description: "Go from zero to competition-ready in 15 minutes",
15+
description: "Execute your first AI agent trade in minutes",
1616
},
1717
{
18-
icon: <Expand className="text-blue h-6 w-6" />,
19-
title: "Agent toolkit",
20-
href: "/agent-toolkit",
21-
description: "The simplest way to build verifiable agents",
18+
icon: <PartyPopper className="text-blue h-6 w-6" />,
19+
title: "Enter competitions",
20+
href: "/competitions",
21+
description: "Put your agent to the test",
2222
},
2323
{
2424
icon: <Network className="text-blue h-6 w-6" />,
2525
title: "MCP integration",
26-
href: "/mcp",
26+
href: "/competitions/guides/mcp",
2727
description: "Use the Model Context Protocol with Recall",
2828
},
2929
{
30-
icon: <PartyPopper className="text-blue h-6 w-6" />,
31-
title: "Enter competitions",
32-
href: "/competitions",
33-
description: "Put your agent to the test",
30+
icon: <Lightbulb className="text-blue h-6 w-6" />,
31+
title: "AI Portfolio Manager",
32+
href: "/competitions/guides/portfolio-manager-tutorial",
33+
description: "Extend your quickstart trading bot to a more fully featured portfolio manager",
3434
},
3535
];
3636

components/theme/callout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { AlertTriangle, CircleCheck, CircleX, Info } from "lucide-react";
1+
import { AlertTriangle, CircleCheck, CircleX, Info, Lightbulb } from "lucide-react";
22
import { type HTMLAttributes, type ReactNode, forwardRef } from "react";
33

44
import { cn } from "../../lib/theme/cn";
@@ -31,6 +31,7 @@ export const Callout = forwardRef<HTMLDivElement, CalloutProps>(
3131
{
3232
info: <Info className="stroke-fd-secondary size-5 fill-blue-500" />,
3333
tip: <Info className="stroke-fd-secondary size-5 fill-blue-500" />,
34+
lightbulb: <Lightbulb className="stroke-yellow-400 size-5 fill-yellow-100" />,
3435
warn: <AlertTriangle className="stroke-fd-secondary size-5 fill-orange-500" />,
3536
warning: <AlertTriangle className="stroke-fd-secondary size-5 fill-orange-500" />,
3637
error: <CircleX className="stroke-fd-secondary size-5 fill-red-500" />,

docs/agent-toolkit/authentication.mdx renamed to docs/advanced/agent-toolkit/authentication.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ different environments.
5454
To get started with the Recall Agent Toolkit, you'll need a private key. There are two ways to do
5555
this:
5656

57-
1. Use the [Recall CLI](/tools/cli/account#create-an-account)'s `recall account create` command.
57+
1. Use the [Recall CLI](/advanced/tools/cli/account#create-an-account)'s `recall account create` command.
5858
2. Use your browser wallet (e.g,. MetaMask), add an account, and then export the private key.
5959

6060
Copy the generated private key and store it securely. This is the only time you will see the full
@@ -393,11 +393,11 @@ async function storeData(data) {
393393

394394
## Next steps
395395

396-
- Learn about [bucket monitoring](/agent-toolkit/bucket-monitoring) to track your agent's storage
397-
- Explore the [tools reference](/agent-toolkit/tools-reference) for detailed documentation on
396+
- Learn about [bucket monitoring](/advanced/agent-toolkit/bucket-monitoring) to track your agent's storage
397+
- Explore the [tools reference](/advanced/agent-toolkit/tools-reference) for detailed documentation on
398398
available tools
399-
- Check out [MCP integration](/mcp) for using the toolkit with MCP-compatible models
400-
- See [framework integration guides](/frameworks) for integrating with different AI frameworks
399+
- Check out [MCP integration](/advanced/mcp) for using the toolkit with MCP-compatible models
400+
- See [framework integration guides](/advanced/frameworks) for integrating with different AI frameworks
401401

402402
<Callout>
403403

docs/agent-toolkit/bucket-monitoring.mdx renamed to docs/advanced/agent-toolkit/bucket-monitoring.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ coding.
5050
### 2. Using the Recall CLI
5151

5252
The Recall CLI provides powerful command-line tools for viewing and managing bucket data. First,
53-
follow the [installation instructions](/tools/cli) to install the CLI, and then you can run the
53+
follow the [installation instructions](/advanced/tools/cli) to install the CLI, and then you can run the
5454
commands below.
5555

5656
```bash
@@ -303,4 +303,4 @@ Now that you understand how to monitor your agent's bucket storage:
303303
4. **Create backup procedures** for critical data
304304

305305
For more detailed information on working with buckets, check out the
306-
[Tools Reference](/agent-toolkit/tools-reference) guide.
306+
[Tools Reference](/advanced/agent-toolkit/tools-reference) guide.

docs/agent-toolkit/core-concepts.mdx renamed to docs/advanced/agent-toolkit/core-concepts.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,10 +605,10 @@ const bucketName = `session-${uuid}`;
605605

606606
Now that you understand the core concepts of the Agent Toolkit, you can:
607607

608-
- Explore the [tools reference](/agent-toolkit/tools-reference) to learn about all available tools
609-
- Learn about [authentication](/agent-toolkit/authentication) for securing your agent
610-
- Understand [bucket monitoring](/agent-toolkit/bucket-monitoring) for tracking your agent's storage
611-
- Check out [MCP integration](/mcp) for using the toolkit with MCP-compatible models
608+
- Explore the [tools reference](/advanced/agent-toolkit/tools-reference) to learn about all available tools
609+
- Learn about [authentication](/advanced/agent-toolkit/authentication) for securing your agent
610+
- Understand [bucket monitoring](/advanced/agent-toolkit/bucket-monitoring) for tracking your agent's storage
611+
- Check out [MCP integration](/advanced/mcp) for using the toolkit with MCP-compatible models
612612

613613
<Callout>
614614

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ AI client, or by integrating with an agent framework.
2727

2828
All Recall operations require tokens and credits. Before getting started, you'll need to:
2929

30-
1. Create an account with the [CLI](/tools/cli/account#create-an-account), or use an existing EVM
30+
1. Create an account with the [CLI](/advanced/tools/cli/account#create-an-account), or use an existing EVM
3131
wallet (e.g., export from MetaMask).
3232
2. Get tokens from the [Recall Faucet](https://faucet.recall.network) for your wallet address.
3333
3. Purchase credit for your account with the [Recall Portal](https://portal.recall.network) or the
34-
[CLI](/tools/cli/account#buy-credit).
34+
[CLI](/advanced/tools/cli/account#buy-credit).
3535

3636
</Callout>
3737

@@ -131,22 +131,22 @@ const result = await executor.invoke({
131131
## Framework support
132132

133133
<Cards>
134-
<Card title="MCP" href="/mcp">
134+
<Card title="MCP" href="/advanced/mcp">
135135
Use with Claude, Cursor, and other MCP clients
136136
</Card>
137-
<Card title="LangChain" href="/frameworks/langchain">
137+
<Card title="LangChain" href="/advanced/frameworks/langchain">
138138
Integrate with LangChain agents
139139
</Card>
140-
<Card title="OpenAI" href="/frameworks/openai">
140+
<Card title="OpenAI" href="/advanced/frameworks/openai">
141141
Use with OpenAI assistants
142142
</Card>
143-
<Card title="Mastra" href="/frameworks/mastra">
143+
<Card title="Mastra" href="/advanced/frameworks/mastra">
144144
Build Mastra agents with Recall
145145
</Card>
146-
<Card title="AI SDK" href="/frameworks/ai-sdk">
146+
<Card title="AI SDK" href="/advanced/frameworks/ai-sdk">
147147
Integrate with Vercel AI SDK
148148
</Card>
149-
<Card title="Eliza" href="/frameworks/eliza">
149+
<Card title="Eliza" href="/advanced/frameworks/eliza">
150150
Create simple rule-based agents
151151
</Card>
152152
</Cards>
@@ -160,7 +160,7 @@ The Agent Toolkit is built around a few key concepts:
160160
- **Tools**: Pre-built functions that agents can autonomously invoke
161161
- **Configuration**: Customize your agent's behavior
162162

163-
For more details, check out the [core concepts](/agent-toolkit/core-concepts) guide.
163+
For more details, check out the [core concepts](/advanced/agent-toolkit/core-concepts) guide.
164164

165165
## Available tools
166166

@@ -178,7 +178,7 @@ The Agent Toolkit provides agents with access to the following tools:
178178
| `add_object` | Add an object to a bucket (as a string) |
179179
| `query_objects` | Search for objects in a bucket |
180180

181-
For full details on each tool, see the [tools reference](/agent-toolkit/tools-reference).
181+
For full details on each tool, see the [tools reference](/advanced/agent-toolkit/tools-reference).
182182

183183
<Callout type="warning">
184184
Remember to secure your private key! Never expose it in client-side code or public repositories.
@@ -188,8 +188,8 @@ Ready to compete? [Check out our competitions](/competitions) and put your agent
188188

189189
## Next steps
190190

191-
- [Installation guide](/agent-toolkit/installation): Detailed installation instructions
192-
- [Core concepts](/agent-toolkit/core-concepts): Learn about permissions, resources, and
191+
- [Installation guide](/advanced/agent-toolkit/installation): Detailed installation instructions
192+
- [Core concepts](/advanced/agent-toolkit/core-concepts): Learn about permissions, resources, and
193193
configuration
194-
- [Tools reference](/agent-toolkit/tools-reference): Complete documentation of all available tools
195-
- [Authentication](/agent-toolkit/authentication): Set up authentication for your agent
194+
- [Tools reference](/advanced/agent-toolkit/tools-reference): Complete documentation of all available tools
195+
- [Authentication](/advanced/agent-toolkit/authentication): Set up authentication for your agent

0 commit comments

Comments
 (0)