refactor: remove unused collections and documentation files

- Deleted the 'index' and 'mcp' collections from content.config.ts.
- Removed the 'docs.md' file containing ArtMCP documentation.
- Deleted the 'index.md' file which served as a welcome page for ArtAPI.
This commit is contained in:
2025-12-16 17:12:35 +01:00
parent c3fca59143
commit 3f4a581e51
6 changed files with 352 additions and 345 deletions

View File

@@ -1,8 +1,4 @@
<script setup lang="ts">
const { data: _docs } = await useAsyncData('docs', () =>
queryCollection('docs').first()
)
const tools = [
{
name: 'activity',
@@ -86,7 +82,7 @@ const apiEndpoints = [
<UContainer class="py-16">
<div class="text-center text-white">
<UBadge
color="white"
color="neutral"
variant="subtle"
size="lg"
class="mb-4"
@@ -103,7 +99,7 @@ const apiEndpoints = [
<UButton
to="/"
size="lg"
color="white"
color="neutral"
variant="solid"
icon="i-heroicons-arrow-left"
>
@@ -113,7 +109,7 @@ const apiEndpoints = [
to="https://github.com/ArthurDanjou/artapi"
target="_blank"
size="lg"
color="white"
color="neutral"
variant="outline"
icon="i-simple-icons-github"
>
@@ -293,7 +289,7 @@ const apiEndpoints = [
class="flex gap-2"
>
<UBadge
color="blue"
color="primary"
variant="subtle"
>
{{ input.name }}
@@ -398,7 +394,7 @@ const apiEndpoints = [
class="flex items-center gap-3 p-3 rounded-lg hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors"
>
<UBadge
color="green"
color="success"
variant="subtle"
class="font-mono text-xs"
>

View File

@@ -1,8 +1,4 @@
<script setup lang="ts">
const { data: _index } = await useAsyncData('index', () =>
queryCollection('index').first()
)
const features = [
{
icon: 'i-heroicons-cpu-chip',
@@ -86,7 +82,7 @@ const resources = [
to="https://github.com/ArthurDanjou/artapi"
target="_blank"
size="xl"
color="gray"
color="neutral"
variant="outline"
icon="i-simple-icons-github"
>
@@ -96,25 +92,25 @@ const resources = [
<div class="flex flex-wrap gap-3 justify-center text-sm">
<UBadge
color="blue"
color="success"
variant="subtle"
>
Nuxt 4
</UBadge>
<UBadge
color="green"
color="success"
variant="subtle"
>
MCP Protocol
</UBadge>
<UBadge
color="purple"
color="primary"
variant="subtle"
>
TypeScript
</UBadge>
<UBadge
color="orange"
color="warning"
variant="subtle"
>
Edge Deployed
@@ -181,7 +177,7 @@ const resources = [
:key="resource.label"
:to="resource.to"
target="_blank"
color="gray"
color="neutral"
variant="outline"
size="lg"
block
@@ -270,7 +266,7 @@ curl https://api.arthurdanjou.fr/api/skills</code></pre>
to="/api/profile"
target="_blank"
size="xl"
color="gray"
color="neutral"
variant="outline"
icon="i-heroicons-globe-alt"
>