{"version":3,"sources":["webpack:///./docs/zh/guide/configuration.md"],"names":["makeShortcode","name","MDXDefaultShortcode","props","console","warn","layoutProps","MDXLayout","MDXContent","components","isMDXComponent","hot","module"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA;AACA;AACA;AACA;AAEA;;AAGA,IAAMA,aAAa,GAAG,SAAhBA,aAAgB,CAAAC,IAAI;AAAA,SAAI,SAASC,mBAAT,CAA6BC,KAA7B,EAAoC;AAChEC,WAAO,CAACC,IAAR,CAAa,eAAeJ,IAAf,GAAsB,yEAAnC;AACA,WAAO,iEAASE,KAAT,CAAP;AACD,GAHyB;AAAA,CAA1B;;AAKA,IAAMG,WAAW,GAAG,EAApB;AAGA,IAAMC,SAAS,GAAG,SAAlB;AACe,SAASC,UAAT,OAGZ;AAAA,MAFDC,UAEC,QAFDA,UAEC;AAAA,MADEN,KACF;;AACD,SAAO,0DAAC,SAAD,eAAeG,WAAf,EAAgCH,KAAhC;AAAuC,cAAU,EAAEM,UAAnD;AAA+D,WAAO,EAAC;AAAvE,MACL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,8BAGW;AAAG,cAAU,EAAC;AAAd,KAAuB;AAC9B,YAAQ,uCADsB;AAE9B,mBAAe,IAFe;AAG9B,iBAAa;AAHiB,GAAvB,OAHX,CADK,EASL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,eAGgB;AAAG,cAAU,EAAC;AAAd,KAAuB;AACnC,YAAQ,WAD2B;AAEnC,mBAAe,IAFoB;AAGnC,iBAAa;AAHsB,GAAvB,OAHhB,CATK,EAiBL,yHAAe;AAAY,cAAU,EAAC;AAAvB,iBAAf,sDAAgF;AAAY,cAAU,EAAC;AAAvB,gBAAhF,oCAA6I;AAAY,cAAU,EAAC;AAAvB,iBAA7I,CAjBK,EAkBL,iEAAS;AACP,iBAAa,mBADN;AAEP,qBAAiB;AAFV,GAAT,EAGG;AAAK,cAAU,EAAC;A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AAjB,KAA4B;AACzC,iBAAa;AAD4B,GAA5B,OAvBhB,CAFF,CAHH,CAtCK,EAqEL,yHAAe;AAAY,cAAU,EAAC;AAAvB,aAAf,YAAqE;AAAY,cAAU,EAAC;AAAvB,mBAArE,kEAA0I;AAAG,cAAU,EAAC;AAAd,KAAsB;AAC5J,YAAQ;AADoJ,GAAtB,kBAA1I,uBArEK,EAwEL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,8BAGW;AAAG,cAAU,EAAC;AAAd,KAAuB;AAC9B,YAAQ,uCADsB;AAE9B,mBAAe,IAFe;AAG9B,iBAAa;AAHiB,GAAvB,OAHX,CAxEK,EAgFL,+tBAAqJ;AAAG,cAAU,EAAC;AAAd,KAAsB;AACvK,YAAQ;AAD+J,GAAtB,8BAArJ,CAhFK,EAmFL,sLAA0B;AAAG,cAAU,EAAC;AAAd,KAAsB;AAC5C,YAAQ;AADoC,GAAtB,oCAA1B,WAnFK,CAAP;AAuFD;AAED;AACAD,UAAU,CAACE,cAAX,GAA4B,IAA5B;AAEAF,UAAU,GAAGG,4DAAG,CAACC,MAAD,CAAH,CAAYJ,UAAZ,CAAb;;;;;;;;;;0BAzGMR,a;0BAKAM,W;0BAGAC,S;0BACkBC,U","file":"zh/guide/configuration.md.server-bundle.js","sourcesContent":["\nimport { hot } from 'react-hot-loader'; \nimport '@temp//rhlConfig';\nimport React from 'react';\nimport { mdx } from '@mdx-js/react'; \n\n/* @jsx mdx */\n\n\nconst makeShortcode = name => function MDXDefaultShortcode(props) {\n  console.warn(\"Component \" + name + \" was not imported, exported, or provided by MDXProvider as global scope\")\n  return <div {...props}/>\n};\n\nconst layoutProps = {\n  \n};\nconst MDXLayout = \"wrapper\"\nexport default function MDXContent({\n  components,\n  ...props\n}) {\n  return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n    <h1 {...{\n      \"className\": \"__internal\",\n      \"id\": \"配置文件\"\n    }}>{`配置文件`}<a parentName=\"h1\" {...{\n        \"href\": \"#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h1>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"configjs\"\n    }}>{`config.js`}<a parentName=\"h2\" {...{\n        \"href\": \"#configjs\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`网站配置文件名为`}<inlineCode parentName=\"p\">{`config.js`}</inlineCode>{`，在网站根目录下`}<inlineCode parentName=\"p\">{`.rcpress`}</inlineCode>{`文件夹下的`}<inlineCode parentName=\"p\">{`config.js`}</inlineCode></p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"bash\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-bash\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-bash\"\n        }}>{`├── .rcpress\n    ├── config.js\n├── docs\n├── package.json`}</code></pre></div>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"基本配置\"\n    }}>{`基本配置`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E5%9F%BA%E6%9C%AC%E9%85%8D%E7%BD%AE\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p><inlineCode parentName=\"p\">{`config.js`}</inlineCode>{` 的基本配置如下:`}</p>\n    <div {...{\n      \"className\": \"rcpress-highlight\",\n      \"data-language\": \"js\"\n    }}><pre parentName=\"div\" {...{\n        \"className\": \"language-js\"\n      }}><code parentName=\"pre\" {...{\n          \"className\": \"language-js\"\n        }}>{`module`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`.`}</span>{`exports `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`=`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`{`}</span>{`\n  title`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'my-docs'`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`,`}</span>{`\n  description`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`:`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'some descriptions...'`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`}`}</span><span parentName=\"code\" {...{\n            \"className\": \"token punctuation\"\n          }}>{`;`}</span></code></pre></div>\n    <p>{`需要基本包含一个`}<inlineCode parentName=\"p\">{`title`}</inlineCode>{`和`}<inlineCode parentName=\"p\">{`description`}</inlineCode>{`，详细的配置可以参考`}<a parentName=\"p\" {...{\n        \"href\": \"/zh/config/\"\n      }}>{`配置`}</a>{`一节。`}</p>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"主题配置\"\n    }}>{`主题配置`}<a parentName=\"h2\" {...{\n        \"href\": \"#%E4%B8%BB%E9%A2%98%E9%85%8D%E7%BD%AE\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`一个 RcPress 主题应该负责整个网站的布局和交互细节。在 RcPress 中，目前自带了一个默认的主题（正是你现在所看到的），它是为技术文档而设计的。同时，默认主题提供了一些选项，让你可以去自定义头部（header）、 底部（footer）和 首页（home） 等，详情请参见 `}<a parentName=\"p\" {...{\n        \"href\": \"/zh/default-theme-config/\"\n      }}>{`默认主题`}</a></p>\n    <p>{`如果你想开发一个自定义主题，可以参考 `}<a parentName=\"p\" {...{\n        \"href\": \"/zh/guide/theme\"\n      }}>{`自定义主题`}</a>{`。`}</p>\n    </MDXLayout>;\n}\n\n;\nMDXContent.isMDXComponent = true;\n\nMDXContent = hot(module)(MDXContent);\n"],"sourceRoot":""}