{"id":151807,"date":"2020-08-28T04:43:11","date_gmt":"2020-08-27T20:43:11","guid":{"rendered":"http:\/\/4563.org\/?p=151807"},"modified":"2020-08-28T04:43:11","modified_gmt":"2020-08-27T20:43:11","slug":"vuepress-%e4%b8%a4%e4%b8%aa%e9%97%ae%e9%a2%981-%e7%94%9f%e6%88%90%e9%a1%b5%e9%9d%a2%e5%8f%aa%e6%9c%89%e6%a0%87%e9%a2%98%e6%b2%a1%e6%9c%89%e5%86%85%e5%ae%b9%e3%80%822-%e9%83%a8%e7%bd%b2%e5%9c%a8-gh-pa","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=151807","title":{"rendered":"VuePress \u4e24\u4e2a\u95ee\u9898:1.\u751f\u6210\u9875\u9762\u53ea\u6709\u6807\u9898\u6ca1\u6709\u5185\u5bb9\u30022.\u90e8\u7f72\u5728 gh-pages \u7684\u9875\u9762\u65e0\u6cd5\u7f16\u8f91"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  VuePress \u4e24\u4e2a\u95ee\u9898:1.\u751f\u6210\u9875\u9762\u53ea\u6709\u6807\u9898\u6ca1\u6709\u5185\u5bb9\u30022.\u90e8\u7f72\u5728 gh-pages \u7684\u9875\u9762\u65e0\u6cd5\u7f16\u8f91               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : solider245 <\/span>  <span><i><\/i> 42<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<blockquote>\n<p>\u7f51\u4e0a\u641c\u4e86\u4e00\u4e2a\u904d\uff0c\u5b9e\u5728\u662f\u627e\u4e0d\u5230\u89e3\u51b3\u529e\u6cd5\u4e86\u3002<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/09\/20200907_5f5651bdd1fc5.png\" alt=\"VuePress \u4e24\u4e2a\u95ee\u9898:1.\u751f\u6210\u9875\u9762\u53ea\u6709\u6807\u9898\u6ca1\u6709\u5185\u5bb9\u30022.\u90e8\u7f72\u5728 gh-pages \u7684\u9875\u9762\u65e0\u6cd5\u7f16\u8f91\" \/><\/p>\n<p>\u8fd9\u4e2a\u662f\u56fe\u4e00\u7684\u95ee\u9898\u3002 \u53ea\u6709\u6807\u9898\uff0c\u4f46\u662f\u5374\u6ca1\u6709\u5185\u5bb9\u3002\u7136\u800c\u6211\u5728\u672c\u5730\u662f\u663e\u793a\u6b63\u5e38\u7684\u3002\u611f\u89c9\u5e94\u8be5\u662f\u6e32\u67d3\u95ee\u9898\uff0c\u4f46\u662f vuepress \u5374\u6ca1\u6709\u62a5\u9519\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/09\/20200907_5f5651c3e335d.png\" alt=\"VuePress \u4e24\u4e2a\u95ee\u9898:1.\u751f\u6210\u9875\u9762\u53ea\u6709\u6807\u9898\u6ca1\u6709\u5185\u5bb9\u30022.\u90e8\u7f72\u5728 gh-pages \u7684\u9875\u9762\u65e0\u6cd5\u7f16\u8f91\" \/><\/p>\n<p>\u8fd9\u4e2a\u662f\u95ee\u9898 2. \u6211\u7684\u914d\u7f6e\u91cc\u5df2\u7ecf\u6539\u6210\u4e86 gh-pages \u5206\u652f\uff0c\u7136\u800c\u8fd9\u91cc\u90e8\u7f72\u7684\u65f6\u5019\u4f9d\u7136\u8fd8\u662f master \u5206\u652f\u3002<\/p>\n<p>\u4e2a\u4eba\u5206\u6790\u5e94\u8be5\u662f\u811a\u672c\u90e8\u7f72\u7684\u5220\u6389\u4e86 gh-pages \u3002\u6240\u4ee5\u5bfc\u81f4\u6211\u90e8\u7f72\u5931\u8d25\u3002\u6211\u770b\u4f3c\u4e4e\u6ca1\u6709\u4eba\u90e8\u7f72\u5728 gh-pages \u8fc7\u3002\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u5728\u7528\u7684\u5927\u4f6c\uff0c\u5e2e\u5fd9\u5206\u6790\u4e0b\u95ee\u9898\uff1f<\/p>\n<pre><code>module.exports = {     title: '\u5434\u8d77\u7684\u4e2a\u4eba\u7f51\u7ad9',     description:'\u5434\u8d77\u7684\u4e2a\u4eba\u7f51\u7ad9\uff0c\u4e13\u653b vue,python,linux,PowerBI',     base:'\/VuePress-blog\/',     markdown:markdownConfig,     plugins: pluginsConfig,     head: headConfig,     \/\/theme: 'ououe',\/\/\u5b89\u88c5\u547d\u4ee4 yarn add vuepress-theme-ououe     \/\/theme: 'reco',\/\/\u5b89\u88c5\u547d\u4ee4 yarn add vuepress-theme-reco     themeConfig:{         nav,         authorAvatar: 'http:\/\/shp.qpic.cn\/ishow\/2735060319\/1591183305_84828260_14686_sProdImgNo_2.jpg\/0',         \/\/type: 'blog',         \/\/sidebar,          lastUpdated: \"\u4e0a\u6b21\u66f4\u65b0\",         repo: 'https:\/\/github.com\/solider245\/VuePress-blog',\/\/\u4f60\u7684\u4ed3\u5e93\u5730\u5740         repoLabel: 'Repo',         \/\/ \u5047\u5982\u4f60\u7684\u6587\u6863\u4ed3\u5e93\u548c\u9879\u76ee\u672c\u8eab\u4e0d\u5728\u4e00\u4e2a\u4ed3\u5e93\uff1a         docsRepo: 'solider245\/VuePress-blog',         docsDir: 'docs',         docsBranch: 'gh-pages',         editLinks: true,         editLinkText: '\u4f60\u8981\u6559\u6211\u505a\u4e8b\u54af\uff1f',         smoothScroll: true,\/\/\u9875\u9762\u6eda\u52a8         locales: { '\/': { lang: 'zh-CN' }},\/\/\u4fee\u6539\u9ed8\u8ba4\u8bed\u8a00\u4e3a\u4e2d\u6587                  \/\/algolia: {             \/\/apiKey: 'b89c2570f4d0358f1b38ef95c4dc9b9b',             \/\/indexName: '&lt;INDEX_NAME&gt;'           \/\/}             } } <\/code><\/pre>\n<p>\u8fd9\u4e2a\u662f\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2943075\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : robinch <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u90e8\u7f72\u7684\u662f\u7528\u4ec0\u4e48\u90e8\u7f72\u7684 \u624b\u52a8\u5417 \u8fd8\u662f Actions                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2943076\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tyx1703 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u63a7\u5236\u53f0\u6253\u5f00\u6709\u62a5\u9519\u5417\uff0cdev \u6a21\u5f0f\u4e0b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2943077\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : solider245 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tyx1703 \u5c31\u662f\u6ca1\u62a5\u9519                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2943078\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : solider245 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @robinch \u624b\u52a8\u90e8\u7f72\u7684\uff0c\u7528\u811a\u672c\uff0c\u5148\u5220\u9664\uff0c\u7136\u540e\u751f\u6210\uff0c\u518d\u63a8\u9001\u3002\u6216\u8bb8\u8981\u7528 actions \u81ea\u52a8\u751f\u6210\u4f1a\u597d\u4e9b\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2943079\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Asyncway <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5c1d\u8bd5\u770b\u4e00\u4e0b page.vue \u8fd9\u4e2a\u7ec4\u4ef6\u91cc\u662f\u5426\u6709\u95ee\u9898\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2943080\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : solider245 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Asyncway \u5c34\u5c2c\u4e86\uff0c\u8fde\u8fd9\u4e2a\u6587\u4ef6\u90fd\u6ca1\u6709\u627e\u5230\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2943081\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Asyncway <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @solider245 \u5982\u679c\u4f60\u6ca1\u81ea\u5b9a\u4e49\u8fc7\u6837\u5f0f\u7684\u8bdd \u6ca1\u6709\u8fd9\u4e2a\u6587\u4ef6\u662f\u6b63\u5e38\u7684 \u80fd\u6765\u4e2a\u5730\u5740\u5417 \u6211\u5e2e\u4f60\u770b\u770b\u9875\u9762\u4e0a\u80fd\u4e0d\u80fd\u53cd\u9988\u4e00\u4e9b\u6709\u7528\u7684\u4fe1\u606f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2943082\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : solider245 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Asyncway https:\/\/solider245.github.io\/VuePress-blog\/Python\/%E6%9C%80%E6%96%B0%E8%BD%AC%E8%BD%BD\/%E5%9C%A8Python%E4%B8%ADmain%E5%87%BD%E6%95%B0%E6%98%AF%E6%80%8E%E4%B9%88%E6%9D%A5%E7%9A%84.html<\/p>\n<p>\u4f60\u597d\uff0c\u8fd9\u4e2a\u662f\u94fe\u63a5\uff0c\u6bd4\u8f83\u5c34\u5c2c\u7684\u662f\uff0c\u6211\u5728\u672c\u5730\u770b\u4e0d\u5230\u7684\u5185\u5bb9\u73b0\u5728\u5728\u90e8\u7f72\u5230 githubpage \u4e4b\u540e\u5c45\u7136\u80fd\u770b\u5230\u4e86\u3002<br \/>\u7136\u800c\u6bd4\u8f83\u5947\u602a\u7684\u662f\uff0c\u540c\u6b65\u5230 netlify \u7684\u5185\u5bb9\u5374\u9047\u5230\u4e86 css \u4e22\u5931\u7684\u60c5\u51b5<\/p>\n<p>https:\/\/soider.netlify.app\/<br \/>\u4e0a\u9762\u8fd9\u4e2a\u662f css \u4e22\u5931\u94fe\u63a5\u7684\u5730\u5740\u3002<\/p>\n<p>\u73b0\u5728\u4e0d\u597d\u89e3\u51b3\u7684\u95ee\u9898\u662f\u4f9d\u7136\u65e0\u6cd5\u7f16\u8f91\u3002\u6211\u786e\u5b9e\u5c06\u7f51\u7ad9\u90e8\u7f72\u5728\u4e86\u9879\u76ee\u5730\u5740\u7684 gh-pages \u9875\u9762\u3002\u7136\u800c\u70b9\u8fdb\u53bb\u4f9d\u7136\u662f master \u9875\u9762                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3162289\" data-uid=\"1746\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bobyuan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u521a\u78b0\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u4e00\u6b65\u6b65\u4fee\u6539\u5185\u5bb9\uff0c\u53d1\u73b0\u662f\u6587\u6863\u4e2d\u6709\u4efb\u4f55\u811a\u6ce8\u201c&lt;anything&gt;\u201d\u5c06\u5bfc\u81f4\u6b64\u95ee\u9898\u3002\u56e0\u6b64\u63d0\u4ea4\u4e86\u4e00\u4e2aBug\uff0c\u5e0c\u671bVuePress\u80fd\u6539\u3002&nbsp;https:\/\/github.com\/vuejs\/vuepress\/issues\/2597                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>VuePress \u4e24\u4e2a\u95ee\u9898:1.\u751f&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/151807"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=151807"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/151807\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=151807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=151807"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=151807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}