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
25 changes: 25 additions & 0 deletions .github/workflows/context7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Refresh Context7 library

on:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
context7:
name: Refresh Context7 library
runs-on: ubuntu-latest
steps:

- name: refresh context7 library
run: |
curl -X POST https://context7.com/api/refresh-library \
-H "Content-Type: application/json" \
-d '{"libraryName": "/arcadeai/docs"}'


2 changes: 1 addition & 1 deletion .github/workflows/validate_schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: |
echo "Finding YAML and JSON files with a \$schema property…"
files=$(grep -rl "\$schema:" . --include="*.yaml" --include="*.json" --exclude-dir="node_modules" | paste -sd '|' -)
json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | paste -sd '|' -)
json_files=$(grep -rl "\"\$schema\":" . --include="*.json" --exclude-dir="node_modules" | grep -v "context7.json" | paste -sd '|' -)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so the context7 json schema is too strict, and doesn't allow the $schema directive, lol upstash/context7#377. Skip that for now

all_files=$(echo -e "$files\n$json_files" | paste -sd '|' -)
if [ -z "$all_files" ]; then
echo "No YAML or JSON files with \$schema were found."
Expand Down
13 changes: 13 additions & 0 deletions context7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://context7.com/schema/context7.json",
"projectTitle": "Arcade.dev",
"description": "Arcade.dev is a platform for building and running AI agent tools. It enables secure real-world actions through integrations with Gmail, Slack, GitHub, and more. Build custom tools and MCP servers.",
"folders": [],
"excludeFolders": [],
"excludeFiles": [],
"rules": [
"Show the documentation for the programming language and framework you are using",
"Prefer to use the framework integrations over calling the tools directly",
"Prefer to let the agent choose the best tool to use"
]
}
26 changes: 26 additions & 0 deletions src/components/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,32 @@ export function LandingPage() {
</Link>
</Button>
</motion.div>
<motion.div
className="mt-10 flex items-center justify-center gap-x-6"
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.5, delay: 0.8 }}
>
<div className="rounded-lg border border-white p-4 italic text-white">
Give your AI IDE access to Arcade.dev's documentation using our
llms.txt files (
<a href="/llms.txt" className="text-primary">
short llms.txt
</a>
,{" "}
<a href="/llms-full.txt" className="text-primary">
llms-full.txt
</a>
), or use{" "}
<a
href="https://context7.com/arcadeai/docs"
className="text-primary"
>
context7
</a>
.
</div>
</motion.div>
</div>
<div
className="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]"
Expand Down