๋ฉ”์ธ ์ปจํ…์ธ ๋กœ ์ด๋™
Version: 2.0.0-alpha.73

๐Ÿ“ฆ plugin-content-docs

๋ฌธ์„œ ๋งŒ๋“ค๊ธฐ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” ๋„ํ์‚ฌ์šฐ๋ฃจ์Šค์˜ ๊ธฐ๋ณธ ๋ฌธ์„œ ํ”Œ๋Ÿฌ๊ทธ์ธ์ž…๋‹ˆ๋‹ค.

์„ค์น˜#

npm install --save @docusaurus/plugin-content-docs
tip

@docusaurus/preset-classic์„ ์„ค์น˜ํ•œ ๊ฒฝ์šฐ์—๋Š” ๊ธฐ๋ณธ ํŽ˜์ด์ง€ ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ๋”ฐ๋กœ ์„ค์น˜ํ•  ํ•„์š”๋Š” ์—†์Šต๋‹ˆ๋‹ค. ์•„๋ž˜์™€ ๊ฐ™์ด ์„ค์ •ํ•˜๋Š” ๋Œ€์‹  classic preset options์—์„œ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์„ค์ •#

docusaurus.config.js
module.exports = {  plugins: [    [      '@docusaurus/plugin-content-docs',      {        /**         * ์‚ฌ์ดํŠธ ๋””๋ ‰ํ„ฐ๋ฆฌ์˜ ์ƒ๋Œ€ ๊ฒฝ๋กœ๋กœ ํŒŒ์ผ ์‹œ์Šคํ…œ์˜ ๋ฐ์ดํ„ฐ ๊ฒฝ๋กœ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         */        path: 'docs',        /**         * ์—ฌ๋Ÿฌ๋ถ„์˜ ์‚ฌ์ดํŠธ๋ฅผ ํŽธ์ง‘ํ•˜๊ธฐ ์œ„ํ•œ Base url์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         * ๋„ํ์‚ฌ์šฐ๋ฃจ์Šค๋Š” "editUrl + relativeDocPath" ํ˜•์‹์œผ๋กœ ์‹ค์ œ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ๋Š” editUrl์„ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค.         */        editUrl: 'https://github.com/facebook/docusaurus/edit/master/website/',        /**         * ํ•„์š”์— ๋”ฐ๋ผ ๊ฐ ๋งˆํฌ๋‹ค์šด ํŒŒ์ผ์˜ editUrl์„ ์ง์ ‘ ์„ค์ •ํ•ด์ค„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.         */        editUrl: function ({          locale,          version,          versionDocsDirPath,          docPath,          permalink,        }) {          return `https://github.com/facebook/docusaurus/edit/master/website/${versionDocsDirPath}/${docPath}`;        },        /**         * ๋ฒˆ์—ญ๋œ ํŒŒ์ผ์„ ๊นƒ์— ์ปค๋ฐ‹ํ•˜๋Š” ๊ฒฝ์šฐ ์œ ์šฉํ•œ ์„ค์ •์ž…๋‹ˆ๋‹ค.         * ๋งˆํฌ๋‹ค์šด ํŒŒ์ผ์„ ๋ฒˆ์—ญํ•œ ํ›„ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ๋Š” url์€ ์›๋ณธ ๋ฒˆ์—ญ๋˜์ง€ ์•Š๋Š” ํŒŒ์ผ ๋Œ€์‹          * ๋ฒˆ์—ญ๋œ ํŒŒ์ผ์„ ๊ฐ€๋ฆฌํ‚ค๊ณ  ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.         * ์ฐธ๊ณ : editUrl์ด ํ•จ์ˆ˜์ธ ๊ฒฝ์šฐ์— ํ•ด๋‹น ์˜ต์…˜์€ ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค.         */        editLocalizedFiles: false,        /**         * ์ด์ „ ๋ฒ„์ „์— ๋Œ€ํ•œ ์‚ฌ์šฉ์ž์˜ ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ์š”์ฒญ์„ ๋ง‰์„ ๊ฒฝ์šฐ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.         * ๋ฌธ์„œ ๋ฒ„์ „์ด ์˜ฌ๋ผ๊ฐ„ ๊ฒฝ์šฐ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ๋Š” url์€ ์ด์ „ ๋ฒ„์ „ ๋ฌธ์„œ ๋Œ€์‹          * ํ˜„์žฌ ๋ฒ„์ „ ๋ฌธ์„œ๋กœ ์—ฐ๊ฒฐ๋˜๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.         * ์ฐธ๊ณ : editUrl์ด ํ•จ์ˆ˜์ธ ๊ฒฝ์šฐ์— ํ•ด๋‹น ์˜ต์…˜์€ ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค.         */        editCurrentVersion: false,        /**         * ์—ฌ๋Ÿฌ๋ถ„์˜ ์‚ฌ์ดํŠธ ๋ฌธ์„œ ๋””๋ ‰ํ„ฐ๋ฆฌ์— ๋Œ€ํ•œ URL ๊ฒฝ๋กœ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         * *์ ˆ๋Œ€* URL ๋์— ์Šฌ๋ž˜์‹œ๋ฅผ ๋ถ™์ด์ง€ ๋งˆ์„ธ์š”.         * ์ฐธ๊ณ : base ๊ฒฝ๋กœ ์—†์ด ๋ฐฐํฌ๋˜๋Š” ๋ฌธ์„œ๋Š” `/`์„ ์„ค์ •ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.         */        routeBasePath: 'docs',        include: ['**/*.md', '**/*.mdx'], // Extensions to include.        /**         * ๋งˆํฌ๋‹ค์šด ํŽ˜์ด์ง€ ๋ชฉ๋ก์„ ๋ณด์—ฌ์ฃผ๋Š” ์‚ฌ์ด๋“œ๋ฐ” ๊ฒฝ๋กœ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         */        sidebarPath: 'sidebars.js',        /**         * "autogenerated" ํƒ€์ž…์˜ ์‚ฌ์ด๋“œ๋ฐ” ์•„์ดํ…œ์„ ์‹ค์ œ ์‚ฌ์ด๋“œ๋ฐ” ์•„์ดํ…œ(๋ฌธ์„œ, ์นดํ…Œ๊ณ ๋ฆฌ, ๋งํฌ ๋“ฑ)์œผ๋กœ         * ๋ฐ”๊พธ๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉํ•˜๋Š” ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค.         */        sidebarItemsGenerator: function ({item, version, docs}) {          // ์‚ฌ์šฉ์ž ์ง€์ • "sidebar slice"๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด ์‚ฌ์šฉํ•  ๋ฐ์ดํ„ฐ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.          return [{type: 'doc', id: 'doc1'}];        },        /**         * ๋ฌธ์„œ ํŽ˜์ด์ง€์—์„œ ์‚ฌ์šฉํ•  ํ…Œ๋งˆ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         */        docLayoutComponent: '@theme/DocPage',        docItemComponent: '@theme/DocItem',        /**         * MDX์— ์ „๋‹ฌํ•  Remark, Rehype ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         */        remarkPlugins: [          /* require('remark-math') */        ],        rehypePlugins: [],        /**         * ๊ธฐ๋ณธ ๋„ํ์‚ฌ์šฐ๋ฃจ์Šค์˜ Remark, Rehype ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์ ์šฉํ•˜๊ธฐ ์ „์—         * MDX์— ์ „๋‹ฌํ•  ์‚ฌ์šฉ์ž ์ง€์ • Remark, Rehype ํ”Œ๋Ÿฌ๊ทธ์ธ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         */        beforeDefaultRemarkPlugins: [],        beforeDefaultRehypePlugins: [],        /**         * ๋งˆ์ง€๋ง‰์œผ๋กœ ๋ฌธ์„œ๋ฅผ ์ˆ˜์ •ํ•œ ์‚ฌ์šฉ์ž๋ฅผ ํ‘œ์‹œํ• ์ง€ ์—ฌ๋ถ€๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         */        showLastUpdateAuthor: false,        /**         * ๋งˆ์ง€๋ง‰์œผ๋กœ ๋ฌธ์„œ๋ฅผ ์ˆ˜์ •ํ•œ ์ผ์ž๋ฅผ ํ‘œ์‹œํ• ์ง€ ์—ฌ๋ถ€๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.         */        showLastUpdateTime: false,        /**         * ๊ธฐ๋ณธ์ ์œผ๋กœ ๋ฌธ์„œ ๋ฒ„์ „์„ ๊ด€๋ฆฌํ•˜๋Š” ์‚ฌ์ดํŠธ๋Š” ๋ฒ„์ „ ๊ด€๋ฆฌ ๊ธฐ๋Šฅ์ด ํ™œ์„ฑํ™”๋ฉ๋‹ˆ๋‹ค.         * ์•„๋ž˜ ์˜ต์…˜์€ ๋ช…์‹œ์ ์œผ๋กœ ๋ฒ„์ „ ๊ด€๋ฆฌ ๊ธฐ๋Šฅ์„ ๋น„ํ™œ์„ฑํ™”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.         */        disableVersioning: false,        /**         * ๋ฒ„์ „ ๊ด€๋ฆฌ ๊ธฐ๋Šฅ์„ ํ™œ์„ฑํ™”ํ•œ ๊ฒฝ์šฐ์—๋Š” next ๋ฆด๋ฆฌ์Šค ๋ฌธ์„œ ์ฒ˜๋ฆฌ๋ฅผ ๊ฑด๋„ˆ๋œ๋‹ˆ๋‹ค.         * ๋ฌธ์„œ์˜ ์ œํ’ˆ ๋นŒ๋“œ ์‹œ `/docs/next` ๋””๋ ‰ํ„ฐ๋ฆฌ์—๋Š” HTML ํŒŒ์ผ์„ ๋งŒ๋“ค์ง€ ์•Š๊ณ          * ๋ฒ„์ „์ด ์ง€์ •๋œ ๋ฌธ์„œ๋งŒ ๋งŒ๋“ญ๋‹ˆ๋‹ค.         */        excludeNextVersionDocs: false,        /**         * ๋งˆ์ง€๋ง‰ ๋ฒ„์ „์€ ๋ฒ„์ „ ๊ด€๋ฆฌ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์‚ฌ์ดํŠธ์—์„œ ์šฐ์„ ์ ์œผ๋กœ ํƒ์ƒ‰ํ•˜๋Š” ๋ฒ„์ „์ž…๋‹ˆ๋‹ค.         * navbar ์•„์ดํ…œ์—์„œ ๊ธฐ๋ณธ์ ์œผ๋กœ ํ‘œ์‹œ๋˜๋Š” ๋ฒ„์ „์ž…๋‹ˆ๋‹ค.         * ๊ธฐ๋ณธ์ ์œผ๋กœ ๋งˆ์ง€๋ง‰ ๋ฒ„์ „์€ versions.json ํŒŒ์ผ์—์„œ ๊ฐ€์žฅ ๋จผ์ € ํ‘œ์‹œ๋˜๋Š” ๋ฒ„์ „์ž…๋‹ˆ๋‹ค.         * ๊ธฐ๋ณธ์ ์œผ๋กœ ๋งˆ์ง€๋ง‰ ๋ฒ„์ „์€ ๋ฌธ์„œ ๊ฒฝ๋กœ์˜ "๋ฃจํŠธ"์— ์œ„์น˜ํ•ฉ๋‹ˆ๋‹ค(๋ฌธ์„œ์˜ ๊ฒฝ๋กœ=/docs/myDoc)         * ์ฐธ๊ณ : ๋งˆ์ง€๋ง‰ ๋ฒ„์ „์˜ ๊ฒฝ๋กœ์™€ ํ‘œ์‹œ ๋ฌธ์ž์—ด์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.         * ํŒ: lastVersion ์˜ต์…˜๊ฐ’์„ 'current'๋กœ ์„ค์ •ํ•˜๋ฉด ๋Œ€๋ถ€๋ถ„ ๋ฌธ์ œ ์—†์ด ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.         */        lastVersion: undefined,        /**         * ๋„ํ์‚ฌ์šฐ๋ฃจ์Šค์˜ ๋ฒ„์ „ ๊ด€๋ฆฌ ๊ธฐ๋ณธ๊ฐ’์€ ๋ชจ๋“  ํ”„๋กœ์ ํŠธ์— ์ ํ•ฉํ•˜์ง€ ์•Š์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.         * ๊ธฐ๋ณธ ๋ฒ„์ „ ์„ค์ •์ด ๋ง˜์— ๋“ค์ง€ ์•Š๋Š”๋‹ค๋ฉด         * ๊ฐ ๋ฒ„์ „์˜ ํ‘œ์‹œ ๋ฌธ์ž์—ด์ด๋‚˜ ๊ฒฝ๋กœ๋ฅผ ์ˆ˜์ •ํ•ด์„œ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.         */        versions: {          /*          ์„ค์ • ์˜ˆ:           current: {            label: 'Android SDK v2.0.0 (WIP)',            path: 'android-2.0.0',          },          '1.0.0': {            label: 'Android SDK v1.0.0',            path: 'android-1.0.0',          },          */        },        /**         * ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ฒ„์ „๋งŒ ๊ณต๊ฐœํ•˜๋„๋ก ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.         * ํŒ: ๊ฐœ๋ฐœ ๋ฐ ๋ฐฐํฌ ๋ฏธ๋ฆฌ ๋ณด๊ธฐ ์ƒํƒœ์—์„œ๋Š” ์‹œ์ž‘ ๋ฐ ๋นŒ๋“œ ์„ฑ๋Šฅ์„ ํ–ฅ์ƒ์‹œํ‚ค๊ธฐ ์œ„ํ•ด 2~3๊ฐœ ์ •๋„ ๋ฒ„์ „๋งŒ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.         */        onlyIncludeVersions: undefined, // ์˜ˆ: ["current", "1.0.0", "2.0.0"]      },    ],  ],};

๋งˆํฌ๋‹ค์šด ํ”„๋ŸฐํŠธ ๋งคํ„ฐ#

๋งˆํฌ๋‹ค์šด ๋ฌธ์„œ์—์„œ๋Š” ---๋กœ ๊ฐ์‹ผ ๋งˆํฌ๋‹ค์šด ํ”„๋ŸฐํŠธ ๋งคํ„ฐ ์˜์—ญ์—์„œ ์•„๋ž˜์™€ ๊ฐ™์€ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ ํ•„๋“œ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

  • id: ์œ ์ผํ•œ ๋ฌธ์„œ id์ž…๋‹ˆ๋‹ค. ๊ฐ’์„ ์„ค์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ๋ฌธ์„œ id๋Š” ํŒŒ์ผ๋ช…(ํ™•์žฅ์ž๋ฅผ ์ œ์™ธํ•œ)์œผ๋กœ ๊ธฐ๋ณธ ์„ค์ •๋ฉ๋‹ˆ๋‹ค.
  • title: ๋ฌธ์„œ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค. ๊ฐ’์„ ์„ค์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ๋ฌธ์„œ title์€ id ๊ฐ’์œผ๋กœ ๊ธฐ๋ณธ ์„ค์ •๋ฉ๋‹ˆ๋‹ค.
  • hide_title: ๋ฌธ์„œ ์ƒ๋‹จ์—์„œ ์ œ๋ชฉ์„ ์ˆจ๊ธธ์ง€ ์—ฌ๋ถ€๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ๊ฐ’์€ false์ž…๋‹ˆ๋‹ค
  • hide_table_of_contents: ์˜ค๋ฅธ์ชฝ์— ํ‘œ์‹œ๋˜๋Š” ๋ชฉ์ฐจ ์ˆจ๊น€ ์—ฌ๋ถ€๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ๊ฐ’์€ false์ž…๋‹ˆ๋‹ค
  • sidebar_label: ์‚ฌ์ด๋“œ๋ฐ”์™€ ๋‹ค์Œ/์ด์ „ ๋ฒ„ํŠผ์— ํ‘œ์‹œํ•  ํ…์ŠคํŠธ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ๊ฐ’์„ ์„ค์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ๋ฌธ์„œ sidebar_label์€ title ๊ฐ’์œผ๋กœ ๊ธฐ๋ณธ ์„ค์ •๋ฉ๋‹ˆ๋‹ค.
  • sidebar_position: autogenerated ์‚ฌ์ด๋“œ๋ฐ” ์•„์ดํ…œ์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ๋งŒ๋“ค์–ด์ง„ ์‚ฌ์ด๋“œ๋ฐ” ์Šฌ๋ผ์ด์Šค ๋‚ด์—์„œ ๋ฌธ์„œ ์œ„์น˜๋ฅผ ์กฐ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Int ๋˜๋Š” Float ๊ฐ’์„ ์„ค์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • strip_number_prefixes: ๋ฌธ์„œ์— ๋ฒˆํ˜ธ ์ ‘๋‘์‚ฌ(001 - My Doc.md, 2. MyDoc.md...)๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ ์ž๋™์œผ๋กœ ์ œ๊ฑฐํ•˜๊ณ  ์ ‘๋‘์‚ฌ๋Š” sidebar_position๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ํ•ด๋‹น ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•˜์ง€ ์•Š์œผ๋ ค๋ฉด strip_number_prefixes: false๋กœ ์„ค์ •ํ•ด์ฃผ์„ธ์š”.
  • custom_edit_url: ๋ฌธ์„œ๋ฅผ ํŽธ์ง‘ํ•  ์ˆ˜ ์žˆ๋Š” URL์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ๊ฐ’์„ ์„ค์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ๋ฌธ์„œ์˜ ํŽธ์ง‘ URL์€ docusaurus-plugin-content-docs์— ์ „๋‹ฌ๋œ ์˜ต์…˜ ํ•„๋“œ์—์„œ editUrl ๊ฐ’์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.
  • keywords: ๊ฒ€์ƒ‰ ์—”์ง„์—์„œ ํ•„์š”ํ•œ ๋ฌธ์„œ ํŽ˜์ด์ง€์˜ ํ‚ค์›Œ๋“œ ๋ฉ”ํƒ€ ํƒœ๊ทธ๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
  • description: ๋ฌธ์„œ์˜ ์„ค๋ช…์€ ๊ฒ€์ƒ‰์—”์ง„์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ฒŒ <head> ํƒœ๊ทธ ์•ˆ์— <meta name="description" content="..."/>์™€ <meta property="og:description" content="..."/>๋กœ ์ฒ˜๋ฆฌ๋ฉ๋‹ˆ๋‹ค. ๊ฐ’์„ ์„ค์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ๊ธฐ๋ณธ๊ฐ’์œผ๋กœ ์ฝ˜ํ…์ธ ์˜ ์ฒซ ๋ฒˆ์งธ ์ค„์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค
  • image: ๊ฒŒ์‹œ๊ธ€ ๋งํฌ๋ฅผ ํ‘œ์‹œํ•  ๋•Œ ๋ณด์—ฌ์ง€๋Š” ์ปค๋ฒ„ ์ด๋ฏธ์ง€ ๋˜๋Š” ์„ฌ๋„ค์ผ ์ด๋ฏธ์ง€๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.
  • slug: ๋ฌธ์„œ url์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ๋„๋ก ํ—ˆ์šฉํ•ฉ๋‹ˆ๋‹ค(/<routeBasePath>/<slug>). ์—ฌ๋Ÿฌ ํŒจํ„ด์„ ์„ค์ •ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค: slug: my-doc, slug: /my/path/myDoc, slug: /

์˜ˆ:

---id: doc-markdowntitle: Markdown Featureshide_title: falsehide_table_of_contents: falsesidebar_label: Markdown :)custom_edit_url: https://github.com/facebook/docusaurus/edit/master/docs/api-doc-markdown.mddescription: How do I find you when I cannot solve this problemkeywords:  - docs  - docusaurusimage: https://i.imgur.com/mErPwqL.pngslug: /myDoc---My Document Markdown content

i18n#

i18n ์†Œ๊ฐœ ๋ฌธ์„œ๋ฅผ ๋จผ์ € ํ™•์ธํ•ด์ฃผ์„ธ์š”.

๋ฒˆ์—ญ ํŒŒ์ผ ์œ„์น˜#

  • ๊ธฐ๋ณธ ๊ฒฝ๋กœ: website/i18n/<locale>/docusaurus-plugin-content-docs
  • ๋ฉ€ํ‹ฐ ์ธ์Šคํ„ด์Šค ๊ฒฝ๋กœ: website/i18n/<locale>/docusaurus-plugin-content-docs-<pluginId>
  • JSON ํŒŒ์ผ: extracted with docusaurus write-translations
  • ๋งˆํฌ๋‹ค์šด ํŒŒ์ผ: website/i18n/<locale>/docusaurus-plugin-content-docs/<version>

ํŒŒ์ผ ์‹œ์Šคํ…œ ๊ตฌ์กฐ ์˜ˆ#

website/i18n/<locale>/docusaurus-plugin-content-docsโ”‚โ”‚ # translations for website/docsโ”œโ”€โ”€ currentโ”‚ย ย  โ”œโ”€โ”€ apiโ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ config.mdโ”‚ย ย  โ””โ”€โ”€ getting-started.mdโ”œโ”€โ”€ current.jsonโ”‚โ”‚ # translations for website/versioned_docs/version-1.0.0โ”œโ”€โ”€ version-1.0.0โ”‚ย ย  โ”œโ”€โ”€ apiโ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ config.mdโ”‚ย ย  โ””โ”€โ”€ getting-started.mdโ””โ”€โ”€ version-1.0.0.json