Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2462d3f
docs: update MCP Catalog and add MCP Categories documentation for bet…
Jul 20, 2025
528827f
Add self-hosted documentation for DeployStack
Jul 27, 2025
f1739e0
Add comprehensive documentation for Gateway features including proces…
Jul 29, 2025
28803a9
build(deps): bump next from 15.3.5 to 15.4.5
dependabot[bot] Aug 4, 2025
8533564
build(deps-dev): bump @types/node from 24.0.13 to 24.2.0
dependabot[bot] Aug 4, 2025
8c6cab8
build(deps): bump fumadocs-core from 15.6.3 to 15.6.9
dependabot[bot] Aug 4, 2025
b709ae8
Refactor code structure for improved readability and maintainability
Aug 8, 2025
53a41fb
Enhance documentation and styling consistency by updating global CSS,…
Aug 8, 2025
4b30692
docs: update layout and documentation structure; remove MCP Server li…
Aug 8, 2025
460d6c5
docs: update README for clarity and structure; refine project structu…
Aug 8, 2025
a0e8f5d
docs: update links in self-hosted documentation for consistency and c…
Aug 8, 2025
90d8bd1
docs: update links in documentation for consistency and clarity
Aug 8, 2025
00541ff
docs: restructure documentation by removing outdated meta.json files …
Aug 8, 2025
9a15afd
docs: update documentation links for consistency and clarity; remove …
Aug 8, 2025
4565ae1
docs: enhance documentation structure by adding separate sources for …
Aug 9, 2025
20bd3df
docs: update links in GitHub OAuth and Quick Start documentation for …
Aug 9, 2025
31c63b1
Merge pull request #183 from deploystackio/feat/categories
Lasim Aug 9, 2025
9321ca8
Merge pull request #182 from deploystackio/dependabot/npm_and_yarn/fu…
Lasim Aug 9, 2025
e94646e
Merge pull request #178 from deploystackio/dependabot/npm_and_yarn/ne…
Lasim Aug 9, 2025
159b5b8
build(deps): bump fumadocs-mdx from 11.6.11 to 11.7.3
dependabot[bot] Aug 9, 2025
ec2f994
Merge pull request #181 from deploystackio/dependabot/npm_and_yarn/fu…
Lasim Aug 9, 2025
d40b389
Merge pull request #179 from deploystackio/dependabot/npm_and_yarn/ty…
Lasim Aug 9, 2025
7cdd68b
build(deps): bump fumadocs-ui from 15.6.3 to 15.6.9
dependabot[bot] Aug 9, 2025
e2fd045
Merge pull request #180 from deploystackio/dependabot/npm_and_yarn/fu…
Lasim Aug 9, 2025
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,6 @@ coverage/
._*.json
._*.ts
._*.tsx
._*.css
._*.cjs
out/
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DeployStack Documentation

This repository contains the official documentation site for the [DeployStack](https://deploystack.io/docs/) ecosystem, built with [fumadocs](https://fumadocs.vercel.app/). Visit [deploystack.io](https://deploystack.io) to learn more about our platform.
This repository contains the official documentation site for [DeployStack](https://deploystack.io/docs/), The Complete MCP Management Platform, built with [fumadocs](https://fumadocs.vercel.app/). Visit [deploystack.io](https://deploystack.io) to learn more about our platform.

## Technology Stack

Expand All @@ -15,9 +15,14 @@ This repository contains the official documentation site for the [DeployStack](h
```text
.
├── docs/ # Documentation content (MDX files)
│ ├── deploystack/ # DeployStack documentation
│ ├── docker-to-iac/ # Docker-to-IaC documentation
│ └── assets/ # Images and static assets
│ ├── development/ # Development documentation
│ │ ├── backend/ # Backend development guides
│ │ ├── frontend/ # Frontend development guides
│ │ └── gateway/ # Gateway architecture & implementation
│ ├── self-hosted/ # Self-hosting guides
│ ├── deploystack/ # Core DeployStack documentation
│ ├── assets/ # Images and static assets
│ └── ... # MCP guides and configuration docs
├── app/ # Next.js app directory (fumadocs framework)
├── lib/ # Documentation utilities & components
└── source.config.ts # Fumadocs configuration
Expand Down Expand Up @@ -54,8 +59,9 @@ npm run lint:links # Link validation
3. **Navigation**: Use `meta.json` files in each directory to control navigation structure
4. **Assets**: Place images in `docs/assets/images/` with appropriate subdirectories
5. **Links**: Use absolute paths for all references:
- Documentation: `/docs/docker-to-iac/`
- Documentation: `/docs/development/gateway/`
- Images: `/docs/assets/images/example.png`
6. **Brand Colors**: Use the primary color (`text-primary`, `bg-primary`) for consistency - avoid introducing other accent colors

### Navigation Structure

Expand Down
33 changes: 18 additions & 15 deletions app/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { DocsLayout } from 'fumadocs-ui/layouts/docs';
import { HomeLayout } from 'fumadocs-ui/layouts/home';
import { DocsPage, DocsBody } from 'fumadocs-ui/page';
import { notFound } from 'next/navigation';
import { source } from '@/lib/source';
import { source, mainSource, developmentSource, selfHostedSource } from '@/lib/source';
import { generatePageMetadata, getCanonicalUrl } from '@/lib/seo-utils';
import { getFinalPageTitle } from '@/lib/h1-extractor';
import { readFile } from 'fs/promises';
Expand Down Expand Up @@ -41,12 +41,25 @@ export default async function Page({
);
}

// Determine which section we're in and get the appropriate page tree
const firstSegment = slug[0];
let pageTree = mainSource.pageTree;
let navTitle = 'DeployStack Docs';

if (firstSegment === 'development') {
pageTree = developmentSource.pageTree;
navTitle = 'Development Docs';
} else if (firstSegment === 'self-hosted') {
pageTree = selfHostedSource.pageTree;
navTitle = 'Self-Hosted Docs';
}

return (
<DocsLayout
{...docsOptions}
tree={source.pageTree}
tree={pageTree}
nav={{
title: 'DeployStack Docs',
title: navTitle,
url: '/',
}}
sidebar={{
Expand All @@ -63,18 +76,8 @@ export default async function Page({
}

export async function generateStaticParams() {
const params = source.generateParams();

const result = [
...params,
...docs.docs
.filter((page: any) => page._file.flattenedPath)
.map((page: any) => ({
slug: page._file.flattenedPath.split('/'),
})),
];

return result;
// Simply use the unified source generateParams
return source.generateParams();
}

export async function generateMetadata({
Expand Down
44 changes: 38 additions & 6 deletions app/global.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
/* Import Fumadocs UI complete styles */
@import 'fumadocs-ui/css/style.css';
/* Import Tailwind CSS v4 and Fumadocs UI presets */
@import 'tailwindcss';
@import 'fumadocs-ui/css/neutral.css';
@import 'fumadocs-ui/css/preset.css';

/* Include Fumadocs UI source for Tailwind v4 */
@source '../node_modules/fumadocs-ui/dist/**/*.js';

/* Define primary color in Tailwind v4 @theme directive */
@theme {
/* Primary color - Teal theme matching DeployStack brand */
--color-primary: hsl(177, 79%, 28%); /* Teal-700 */
--color-primary-foreground: hsl(0, 0%, 100%); /* White text on primary */

/* Additional variants */
--color-primary-hover: hsl(176, 79%, 23%); /* Darker teal for hover states */
--color-primary-light: hsl(174, 72%, 56%); /* Lighter teal variant */
--color-primary-dark: hsl(176, 100%, 16%); /* Darker teal variant */
}

/* Dark mode color overrides */
:root {
/* Light mode is default, defined in @theme above */
}

.dark {
/* Dark mode primary colors */
--color-primary: hsl(174, 72%, 56%); /* Lighter teal for dark mode */
--color-primary-foreground: hsl(176, 100%, 6%); /* Dark text on primary in dark mode */

--color-primary-hover: hsl(173, 68%, 64%); /* Lighter on hover in dark mode */
--color-primary-light: hsl(172, 66%, 70%); /* Even lighter variant */
--color-primary-dark: hsl(177, 79%, 28%); /* Original teal for contrast */
}

/* Custom navbar styling to match main site */
/* Navbar height override removed since navbar is now inside content area */
Expand All @@ -12,21 +44,21 @@

/* Style the login button to match main site */
[data-fumadocs-nav] a[href*="login"] {
background: hsl(var(--primary));
color: hsl(var(--primary-foreground));
background: var(--color-primary);
color: var(--color-primary-foreground);
border-radius: 9999px;
padding: 0.5rem 1rem;
font-weight: 500;
transition: background-color 0.2s ease;
}

[data-fumadocs-nav] a[href*="login"]:hover {
background: hsl(var(--primary) / 0.9);
background: var(--color-primary-hover);
}

/* Ensure Documentation link is highlighted when active */
[data-fumadocs-nav] a[href="/docs"][data-active="true"] {
color: hsl(var(--primary));
color: var(--color-primary);
font-weight: 600;
}

Expand Down
5 changes: 0 additions & 5 deletions app/layout.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ const baseConfig = {
export const homeOptions: BaseLayoutProps = {
...baseConfig,
links: [
{
text: 'MCP Server',
url: 'https://deploystack.io/mcp',
external: true,
},
{
text: 'Changelog',
url: 'https://deploystack.io/changelog',
Expand Down
2 changes: 1 addition & 1 deletion docs/deploystack/auth.mdx → docs/auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@ For developers and integrations, DeployStack provides REST API endpoints for aut

---

For technical implementation details, see the [Backend Authentication Documentation](/deploystack/development/backend/api) and [Global Settings Management](/deploystack/global-settings).
For technical implementation details, see the [Backend Authentication Documentation](/development/backend/api) and [Global Settings Management](/global-settings).
138 changes: 0 additions & 138 deletions docs/deploystack/development/index.mdx

This file was deleted.

Loading