원클릭으로
docusaurus-config
Use when working with docusaurus.config.js/ts files to validate or modify Docusaurus configuration
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when working with docusaurus.config.js/ts files to validate or modify Docusaurus configuration
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when looking up information from the latest Docusaurus documentation at https://docusaurus.io/docs
Use when migrating Docusaurus projects from v2 to v3
Use when creating Docusaurus plugins (remark, rehype, theme, content, lifecycle) to extend markdown, modify HTML, or add custom functionality
Use when swizzling Docusaurus theme components and editing theme elements
Use when writing or reviewing technical documentation to follow Google's documentation style guide - https://developers.google.com/style
| name | docusaurus-config |
| description | Use when working with docusaurus.config.js/ts files to validate or modify Docusaurus configuration |
Configuration lives in docusaurus.config.js or docusaurus.config.ts at project root.
import { Config } from "@docusaurus/types";
const config: Config = {
title: "My Site", // Required
url: "https://example.com", // Required, no trailing /
baseUrl: "/", // Required, must start and end with /
favicon: "img/favicon.ico",
organizationName: "my-org",
projectName: "my-project",
presets: [
[
"@docusaurus/preset-classic",
{
/* options */
},
],
],
themeConfig: {
/* theme config */
},
customFields: {
/* unknown fields go here */
},
};
export default config;
title, url, baseUrl are mandatorycustomFields objecturl no trailing slash, baseUrl must be /path/[name, options] array formatBefore editing: Read current config to preserve format (JS/TS, ESM/CommonJS)
After editing: Verify required fields, URL formats, and restart dev server
See references/detailed-guide.md for comprehensive examples