[PR #7] [MERGED] [WIP] Rework index.md and mcp.md files with new home page #11

Closed
opened 2025-12-17 14:22:58 +01:00 by arthur · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArthurDanjou/artapi/pull/7
Author: @Copilot
Created: 12/16/2025
Status: Merged
Merged: 12/16/2025
Merged by: @ArthurDanjou

Base: masterHead: copilot/rework-index-and-mcp-files


📝 Commits (4)

  • b9d7ccc Initial plan
  • 9b894da Initial plan for reworking index and mcp pages with @nuxt/ui
  • 2faa01d Rework index and docs pages with @nuxt/ui components
  • d4824ac Fix formatting issues in docs.md - replace :br with proper line breaks

📊 Changes

9 files changed (+23724 additions, -172 deletions)

View changed files

app/pages/docs.vue (+414 -0)
📝 app/pages/index.vue (+275 -11)
app/pages/mcp.vue (+0 -134)
📝 content/docs.md (+45 -14)
📝 content/index.md (+88 -1)
📝 nuxt.config.ts (+10 -9)
package-lock.json (+22886 -0)
📝 package.json (+4 -1)
📝 worker-configuration.d.ts (+2 -2)

📄 Description

Rework index.md and mcp.md with @nuxt/ui

  • Install and configure @nuxt/ui module
  • Install required icon collections (@iconify-json/heroicons, @iconify-json/simple-icons)
  • Rework content/index.md with engaging home page content
  • Rename mcp.md to docs.md to avoid route conflicts with MCP endpoint
  • Rework content/docs.md with better documentation structure
  • Update app/pages/index.vue to use @nuxt/ui components for a modern home page
    • Hero section with badges and CTAs
    • Features grid with cards
    • Quick access resources
    • Getting started sections for MCP and REST API
    • Footer CTA
  • Create app/pages/docs.vue with @nuxt/ui components for documentation
    • Hero header with gradient background
    • Overview section
    • Quick start with code examples
    • Expandable accordion for tools
    • Grid layout for prompts
    • List of resources and REST API endpoints
  • Update nuxt.config.ts to configure browserRedirect to /docs
  • Update all internal links to point to /docs instead of /mcp
  • Fix all linting issues
  • Fix formatting issues in docs.md
  • Test the changes in development mode

Screenshots

New Home Page

Homepage

New Documentation Page

Documentation Page

Changes Summary

  • Added @nuxt/ui for modern, beautiful UI components
  • Renamed /mcp page route to /docs to avoid conflicts with MCP server endpoint at /mcp/mcp
  • Created engaging home page with feature cards, resource links, and code examples
  • Built comprehensive documentation page with organized sections for tools, prompts, resources, and API endpoints
  • All components are responsive and support dark mode
  • Maintained all functionality while improving visual design and user experience
Original prompt

Rework the index.md and mcp.md files. And add a good home page with @nuxt/ui and rework the /mcp page with @nuxt/ui too


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArthurDanjou/artapi/pull/7 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 12/16/2025 **Status:** ✅ Merged **Merged:** 12/16/2025 **Merged by:** [@ArthurDanjou](https://github.com/ArthurDanjou) **Base:** `master` ← **Head:** `copilot/rework-index-and-mcp-files` --- ### 📝 Commits (4) - [`b9d7ccc`](https://github.com/ArthurDanjou/artapi/commit/b9d7ccc158ff90e70aa27a65360f4057a12a792e) Initial plan - [`9b894da`](https://github.com/ArthurDanjou/artapi/commit/9b894da6431947baade5996f1bc19268a9fd90f7) Initial plan for reworking index and mcp pages with @nuxt/ui - [`2faa01d`](https://github.com/ArthurDanjou/artapi/commit/2faa01d938f781487f9e9e7084f7a9e7117fc340) Rework index and docs pages with @nuxt/ui components - [`d4824ac`](https://github.com/ArthurDanjou/artapi/commit/d4824aca2849c3b012a14d9932e018403c46a16d) Fix formatting issues in docs.md - replace :br with proper line breaks ### 📊 Changes **9 files changed** (+23724 additions, -172 deletions) <details> <summary>View changed files</summary> ➕ `app/pages/docs.vue` (+414 -0) 📝 `app/pages/index.vue` (+275 -11) ➖ `app/pages/mcp.vue` (+0 -134) 📝 `content/docs.md` (+45 -14) 📝 `content/index.md` (+88 -1) 📝 `nuxt.config.ts` (+10 -9) ➕ `package-lock.json` (+22886 -0) 📝 `package.json` (+4 -1) 📝 `worker-configuration.d.ts` (+2 -2) </details> ### 📄 Description ## Rework index.md and mcp.md with @nuxt/ui - [x] Install and configure @nuxt/ui module - [x] Install required icon collections (@iconify-json/heroicons, @iconify-json/simple-icons) - [x] Rework content/index.md with engaging home page content - [x] Rename mcp.md to docs.md to avoid route conflicts with MCP endpoint - [x] Rework content/docs.md with better documentation structure - [x] Update app/pages/index.vue to use @nuxt/ui components for a modern home page - Hero section with badges and CTAs - Features grid with cards - Quick access resources - Getting started sections for MCP and REST API - Footer CTA - [x] Create app/pages/docs.vue with @nuxt/ui components for documentation - Hero header with gradient background - Overview section - Quick start with code examples - Expandable accordion for tools - Grid layout for prompts - List of resources and REST API endpoints - [x] Update nuxt.config.ts to configure browserRedirect to /docs - [x] Update all internal links to point to /docs instead of /mcp - [x] Fix all linting issues - [x] Fix formatting issues in docs.md - [x] Test the changes in development mode ## Screenshots ### New Home Page ![Homepage](https://github.com/user-attachments/assets/9794e524-3fc3-4921-a1d9-2ef5927ba8bb) ### New Documentation Page ![Documentation Page](https://github.com/user-attachments/assets/6efe6e2b-8bbe-428f-91e9-1bbc2746119c) ## Changes Summary - Added @nuxt/ui for modern, beautiful UI components - Renamed `/mcp` page route to `/docs` to avoid conflicts with MCP server endpoint at `/mcp/mcp` - Created engaging home page with feature cards, resource links, and code examples - Built comprehensive documentation page with organized sections for tools, prompts, resources, and API endpoints - All components are responsive and support dark mode - Maintained all functionality while improving visual design and user experience <!-- START COPILOT CODING AGENT SUFFIX --> <!-- START COPILOT ORIGINAL PROMPT --> <details> <summary>Original prompt</summary> > Rework the index.md and mcp.md files. And add a good home page with @nuxt/ui and rework the /mcp page with @nuxt/ui too </details> <!-- START COPILOT CODING AGENT TIPS --> --- 💬 We'd love your input! Share your thoughts on Copilot coding agent in our [2 minute survey](https://gh.io/copilot-coding-agent-survey). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
arthur added the pull-request label 2025-12-17 14:22:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: arthur/artapi#11