mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
<!--
Make sure you've read the CONTRIBUTING.md guidelines:
https://github.com/stack-auth/stack-auth/blob/dev/CONTRIBUTING.md
-->
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> This pull request updates the Stack Auth documentation structure,
enhances navigation and layout functionalities, and introduces new
components for improved user experience.
>
> - **Behavior**:
> - Introduces `PlatformRedirect` component in `platform-redirect.tsx`
for redirecting users to their preferred platform.
> - Adds `usePlatformPreference` hook in `use-platform-preference.ts`
for managing platform preferences.
> - Updates `getSmartRedirectUrl()` in `navigation-utils.ts` to use
`getSmartPlatformRedirect()`.
> - **Layout and Navigation**:
> - Enhances sidebar functionality with collapsible sections in
`docs.tsx` and `sidebar-context.tsx`.
> - Adds `DocsSidebarCollapseTrigger` in `docs.tsx` for sidebar
collapse/expand functionality.
> - Updates `SharedHeader` in `shared-header.tsx` to include
platform-aware navigation links.
> - **Documentation Structure**:
> - Updates `meta.json` files in `templates` to reflect new
documentation structure.
> - Renames `overview.mdx` to `index.mdx` in `sdk` and `components`
directories.
> - Adds detailed documentation for `Team`, `TeamUser`, and
`ContactChannel` in respective `.mdx` files.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 21e55737cb. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->
---------
Co-authored-by: Stack-Bot <madison@stack-auth.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: Konsti Wohlwend <n2d4xc@gmail.com>
70 lines
2.1 KiB
JSON
70 lines
2.1 KiB
JSON
{
|
|
"name": "@stackframe/stack-docs",
|
|
"version": "2.8.19",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "npm run generate-platform-nav && next build",
|
|
"dev": "npm run generate-platform-nav && next dev --port 8104 --hostname 0.0.0.0",
|
|
"start": "next start --port 8104",
|
|
"lint": "next lint",
|
|
"lint:fix": "next lint --fix",
|
|
"postinstall": "fumadocs-mdx",
|
|
"generate-docs": "node scripts/generate-docs.js",
|
|
"generate-openapi-docs": "node scripts/generate-functional-api-docs.mjs",
|
|
"generate-platform-nav": "node scripts/generate-platform-navigation.js",
|
|
"setup-openapi": "node scripts/setup-openapi.mjs",
|
|
"clear-docs": "node scripts/clear-docs.js"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/google": "^1.2.21",
|
|
"@ai-sdk/openai": "^1.3.22",
|
|
"@ai-sdk/react": "^1.2.12",
|
|
"@radix-ui/react-collapsible": "^1.1.11",
|
|
"@radix-ui/react-popover": "^1.1.14",
|
|
"@radix-ui/react-presence": "^1.1.4",
|
|
"@radix-ui/react-scroll-area": "^1.2.9",
|
|
"@radix-ui/react-slot": "^1.2.3",
|
|
"@radix-ui/react-tabs": "^1.1.12",
|
|
"@stackframe/stack": "workspace:^",
|
|
"@xyflow/react": "^12.6.4",
|
|
"ai": "^4.3.16",
|
|
"class-variance-authority": "^0.7.1",
|
|
"fumadocs-core": "15.3.3",
|
|
"fumadocs-mdx": "11.6.4",
|
|
"fumadocs-openapi": "^8.1.12",
|
|
"fumadocs-typescript": "^4.0.5",
|
|
"fumadocs-ui": "15.3.3",
|
|
"js-yaml": "^4.1.0",
|
|
"lucide-react": "^0.511.0",
|
|
"mermaid": "^11.6.0",
|
|
"minimatch": "^10.0.1",
|
|
"next": "15.3.2",
|
|
"next-themes": "^0.4.6",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-remove-scroll": "^2.7.0",
|
|
"remark": "^15.0.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-mdx": "^3.1.0",
|
|
"shiki": "^3.4.2",
|
|
"tailwind-merge": "^3.3.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4.1.7",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/node": "22.15.18",
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.0",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "15.3.2",
|
|
"glob": "^11.0.0",
|
|
"postcss": "^8.5.3",
|
|
"tailwindcss": "^4.1.7",
|
|
"typescript": "^5.8.3"
|
|
}
|
|
}
|