chore: update fumadocs domain
This commit is contained in:
parent
9eaacfff8d
commit
a119a86e78
@ -14,7 +14,7 @@ import {
|
|||||||
* https://www.content-collections.dev/docs/transform#join-collections
|
* https://www.content-collections.dev/docs/transform#join-collections
|
||||||
*
|
*
|
||||||
* 2. Use Content Collections for Fumadocs
|
* 2. Use Content Collections for Fumadocs
|
||||||
* https://fumadocs.vercel.app/docs/headless/content-collections
|
* https://fumadocs.dev/docs/headless/content-collections
|
||||||
*/
|
*/
|
||||||
const docs = defineCollection({
|
const docs = defineCollection({
|
||||||
name: 'docs',
|
name: 'docs',
|
||||||
|
@ -31,14 +31,14 @@ interface DocsLayoutProps {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 1. Configure navigation
|
* 1. Configure navigation
|
||||||
* https://fumadocs.vercel.app/docs/ui/navigation/links
|
* https://fumadocs.dev/docs/ui/navigation/links
|
||||||
* https://fumadocs.vercel.app/docs/ui/navigation/sidebar
|
* https://fumadocs.dev/docs/ui/navigation/sidebar
|
||||||
*
|
*
|
||||||
* ref:
|
* ref:
|
||||||
* https://github.com/fuma-nama/fumadocs/blob/dev/apps/docs/app/layout.config.tsx
|
* https://github.com/fuma-nama/fumadocs/blob/dev/apps/docs/app/layout.config.tsx
|
||||||
*
|
*
|
||||||
* 2. Organizing Pages
|
* 2. Organizing Pages
|
||||||
* https://fumadocs.vercel.app/docs/ui/page-conventions
|
* https://fumadocs.dev/docs/ui/page-conventions
|
||||||
*
|
*
|
||||||
* ref:
|
* ref:
|
||||||
* https://github.com/fuma-nama/fumadocs/blob/dev/apps/docs/content/docs/ui/meta.json
|
* https://github.com/fuma-nama/fumadocs/blob/dev/apps/docs/content/docs/ui/meta.json
|
||||||
|
@ -7,10 +7,10 @@ import { createI18nSearchAPI } from 'fumadocs-core/search/server';
|
|||||||
* Fumadocs i18n search configuration
|
* Fumadocs i18n search configuration
|
||||||
*
|
*
|
||||||
* 1. For internationalization, use createI18nSearchAPI:
|
* 1. For internationalization, use createI18nSearchAPI:
|
||||||
* https://fumadocs.vercel.app/docs/headless/search/orama#internationalization
|
* https://fumadocs.dev/docs/headless/search/orama#internationalization
|
||||||
*
|
*
|
||||||
* 2. For special languages like Chinese, configure custom tokenizers:
|
* 2. For special languages like Chinese, configure custom tokenizers:
|
||||||
* https://fumadocs.vercel.app/docs/headless/search/orama#special-languages
|
* https://fumadocs.dev/docs/headless/search/orama#special-languages
|
||||||
* https://docs.orama.com/open-source/supported-languages/using-chinese-with-orama
|
* https://docs.orama.com/open-source/supported-languages/using-chinese-with-orama
|
||||||
*/
|
*/
|
||||||
const searchAPI = createI18nSearchAPI('advanced', {
|
const searchAPI = createI18nSearchAPI('advanced', {
|
||||||
|
@ -4,7 +4,7 @@ import type { I18nConfig } from 'fumadocs-core/i18n';
|
|||||||
/**
|
/**
|
||||||
* Internationalization configuration for FumaDocs
|
* Internationalization configuration for FumaDocs
|
||||||
*
|
*
|
||||||
* https://fumadocs.vercel.app/docs/ui/internationalization
|
* https://fumadocs.dev/docs/ui/internationalization
|
||||||
*/
|
*/
|
||||||
export const docsI18nConfig: I18nConfig = {
|
export const docsI18nConfig: I18nConfig = {
|
||||||
defaultLanguage: DEFAULT_LOCALE,
|
defaultLanguage: DEFAULT_LOCALE,
|
||||||
|
@ -8,8 +8,8 @@ import { docsI18nConfig } from './i18n';
|
|||||||
/**
|
/**
|
||||||
* Turn a content source into a unified interface
|
* Turn a content source into a unified interface
|
||||||
*
|
*
|
||||||
* https://fumadocs.vercel.app/docs/headless/source-api
|
* https://fumadocs.dev/docs/headless/source-api
|
||||||
* https://fumadocs.vercel.app/docs/headless/content-collections
|
* https://fumadocs.dev/docs/headless/content-collections
|
||||||
*/
|
*/
|
||||||
export const source = loader({
|
export const source = loader({
|
||||||
baseUrl: '/docs',
|
baseUrl: '/docs',
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
|
|
||||||
/* Fumadocs Themes */
|
/* Fumadocs Themes */
|
||||||
/* https://fumadocs.vercel.app/docs/ui/theme#themes */
|
/* https://fumadocs.dev/docs/ui/theme#themes */
|
||||||
@import "fumadocs-ui/css/neutral.css";
|
@import "fumadocs-ui/css/neutral.css";
|
||||||
@import "fumadocs-ui/css/preset.css";
|
@import "fumadocs-ui/css/preset.css";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user