{"version":3,"sources":["webpack:///./docs/README.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,iBAGkB;AAAG,cAAU,EAAC;AAAd,KAAuB;AACrC,YAAQ,cAD6B;AAErC,mBAAe,IAFsB;AAGrC,iBAAa;AAHwB,GAAvB,OAHlB,CADK,EASL,gEAAQ;AACN,iBAAa,YADP;AAEN,UAAM;AAFA,GAAR,aAGc;AAAG,cAAU,EAAC;AAAd,KAAuB;AACjC,YAAQ,UADyB;AAEjC,mBAAe,IAFkB;AAGjC,iBAAa;AAHoB,GAAvB,OAHd,CATK,EAiBL,iFAAe;AAAY,cAAU,EAAC;AAAvB,oBAAf,WAAgF;AAAG,cAAU,EAAC;AAAd,KAAsB;AAClG,YAAQ,qBAD0F;AAElG,cAAU;AAFwF,GAAtB,UAAhF,CAjBK,EAqBL,iEAAS;AACP,iBAAa,mBADN;AAEP,qBAAiB;AAFV,GAAT,EAGG;AAAK,cAAU,EAAC;AA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AH,CAAYJ,UAAZ,CAAb;;;;;;;;;;0BA1IMR,a;0BAKAM,W;0BAGAC,S;0BACkBC,U","file":"README.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\": \"get-started\"\n    }}>{`Get Started`}<a parentName=\"h1\" {...{\n        \"href\": \"#get-started\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h1>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"install\"\n    }}>{`Install`}<a parentName=\"h2\" {...{\n        \"href\": \"#install\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`Install `}<inlineCode parentName=\"p\">{`@rcpress/cli`}</inlineCode>{` via `}<a parentName=\"p\" {...{\n        \"href\": \"https://yarnpkg.com\",\n        \"target\": \"_blank\"\n      }}>{`yarn`}</a></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        }}><span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`yarn`}</span>{` global `}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`add`}</span>{` @rcpress/cli`}</code></pre></div>\n    <p>{`Or install via `}<a parentName=\"p\" {...{\n        \"href\": \"https://docs.npmjs.com/cli/install.html\",\n        \"target\": \"_blank\"\n      }}>{`npm`}</a></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        }}><span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`npm`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`install`}</span>{` @rcpress/cli -g`}</code></pre></div>\n    <h2 {...{\n      \"className\": \"__internal\",\n      \"id\": \"usage\"\n    }}>{`Usage`}<a parentName=\"h2\" {...{\n        \"href\": \"#usage\",\n        \"aria-hidden\": true,\n        \"className\": \"anchor\"\n      }}>{`#`}</a></h2>\n    <p>{`Create diretory and markdown file`}</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        }}><span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# create docs diretory(docs is the default documentation directory).`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token function\"\n          }}>{`mkdir`}</span>{` docs\n\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# create a markdown file`}</span>{`\n`}<span parentName=\"code\" {...{\n            \"className\": \"token builtin class-name\"\n          }}>{`echo`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token string\"\n          }}>{`'# Hello RcPress'`}</span>{` `}<span parentName=\"code\" {...{\n            \"className\": \"token operator\"\n          }}>{`>`}</span>{` docs/README.md\n`}</code></pre></div>\n    <p>{`Run server`}</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        }}><span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# start spa mode server`}</span>{`\nrcpress dev\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# start ssr mode server`}</span>{`\nrcpress server\n\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# Visit the default address \\`localhost:3000\\` to see the effect page`}</span></code></pre></div>\n    <p>{`Build`}</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        }}><span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# build spa in production`}</span>{`\nrcpress build\n`}<span parentName=\"code\" {...{\n            \"className\": \"token comment\"\n          }}>{`# build ssr and generate static html files in production`}</span>{`\nrcpress generate`}</code></pre></div>\n    </MDXLayout>;\n}\n\n;\nMDXContent.isMDXComponent = true;\n\nMDXContent = hot(module)(MDXContent);\n"],"sourceRoot":""}