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
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ jobs:
# - name: Build package
# run: yarn prepare

build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Build documentation
run: pnpm build:docs

build-android:
runs-on: ubuntu-latest
env:
Expand Down
13 changes: 7 additions & 6 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@
"postinstall": "fumadocs-mdx"
},
"dependencies": {
"fumadocs-core": "15.7.10",
"fumadocs-mdx": "11.9.0",
"fumadocs-typescript": "^4.0.8",
"fumadocs-ui": "15.7.10",
"fumadocs-core": "^16.0.14",
"fumadocs-mdx": "^14.0.2",
"fumadocs-typescript": "^4.0.13",
"fumadocs-ui": "^16.0.14",
"lucide-react": "^0.542.0",
"next": "15.5.2",
"next": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"sharp": "^0.34.3"
"sharp": "^0.34.3",
"shiki": "^3.15.0"
},
"devDependencies": {
"@biomejs/biome": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/app/[lang]/docs/[[...slug]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function Page(props: {
params: Promise<{ lang: string; slug: string[] }>;
}) {
const params = await props.params;
const page = source.getPage(params.slug, params.lang);
const page: any = source.getPage(params.slug, params.lang);
if (!page) notFound();

const MDXContent = page.data.body;
Expand Down
2 changes: 1 addition & 1 deletion docs/src/app/[lang]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export default async function Layout({
<html lang={lang} suppressHydrationWarning>
<Script
defer
src="https://umami.mjstudio.net/script.js"
src={'https://umami.mjstudio.net/script.js'}
data-website-id="20802a8b-5591-4919-a8af-d20317718fd0"
/>
<body className="flex flex-col min-h-screen">
Expand Down
2 changes: 1 addition & 1 deletion docs/src/lib/source.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { docs } from 'fumadocs-mdx:collections/server';
import { loader } from 'fumadocs-core/source';
import { icons } from 'lucide-react';
import { createElement } from 'react';
import { docs } from '@/.source';
import { i18n } from '@/lib/i18n';

// See https://fumadocs.vercel.app/docs/headless/source-api for more info
Expand Down
File renamed without changes.
13 changes: 10 additions & 3 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,25 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"paths": {
"@/.source": ["./.source/index.ts"],
"@/*": ["./src/*"]
"@/*": ["./src/*"],
"fumadocs-mdx:collections/*": [".source/*"]
},
"plugins": [
{
"name": "next"
}
]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": ["node_modules"]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mj-studio/react-native-naver-map",
"version": "2.6.6",
"version": "2.6.7",
"description": "Naver Map Component for React Native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -87,7 +87,7 @@
"lefthook": "^1.12.3",
"react": "catalog:",
"react-native": "catalog:",
"react-native-builder-bob": "0.40.12",
"react-native-builder-bob": "^0.40.15",
"release-it": "19.0.3",
"turbo": "^2.5.6",
"typescript": "catalog:",
Expand Down
Loading
Loading