{"id":476,"date":"2022-12-24T14:44:32","date_gmt":"2022-12-24T06:44:32","guid":{"rendered":"http:\/\/150.158.163.220\/?p=476"},"modified":"2022-12-24T15:19:35","modified_gmt":"2022-12-24T07:19:35","slug":"blog%e7%9a%84gitbook%e5%b5%8c%e5%85%a5%e5%8f%b2-2","status":"publish","type":"post","link":"https:\/\/zhewana.cn\/?p=476","title":{"rendered":"Blog\u7684GitBook\u5d4c\u5165\u53f2"},"content":{"rendered":"<h2>\u524d\u8a00<\/h2>\n<p>\u653e\u5047\u5566\uff01\u521a\u5f00\u59cb\u7684\u51e0\u5929\u5728\u5bb6\u91cc\u9762\u81ea\u6211\u9694\u79bb\u751a\u662f\u65e0\u804a\uff0c\u518d\u52a0\u4e0a\u539f\u672c\u963f\u91cc\u4e91\u7684\u670d\u52a1\u5668\u5230\u671f\u4e86\uff0c\u4e8e\u662f\u7b14\u8005\u6253\u7b97\u4e00\u5e74\u4e00\u5ea6\u7684\u88c5\u4fee\u4e00\u4e0b\u81ea\u5df1\u7684\u535a\u5ba2\u3002<\/p>\n<p>\u4e3b\u8981\u7684\u66f4\u65b0\u6709\u90a3\u4e48\u51e0\u4e2a\uff1a<\/p>\n<ul>\n<li>\u66f4\u6362\u535a\u5ba2\u7cfb\u7edf\u4e3a<a href=\"https:\/\/wordpress.com\/zh-cn\/\">WordPress<\/a>\uff08\u535a\u5ba2\u7684\u6700\u7ec8\u5f52\u5bbf\u8fd8\u662fWP\uff1b<\/li>\n<li>\u4f7f\u7528<a href=\"https:\/\/biji.io\/\">Tokin<\/a>\u7684\u65b0\u4e3b\u9898\uff1a<a href=\"https:\/\/github.com\/Tokinx\/Wing\/tree\/preview\">Wing<\/a>\uff0c\u8c22\u8c22\u5927\u4f6c\uff1b<\/li>\n<li>\u90e8\u7f72GitBook\u4f5c\u4e3a\u672a\u6765\u53ef\u80fd\u4f1a\u6709\u7684\u7cfb\u7edf\u5316\u7b14\u8bb0\u9875\u9762\uff1b<\/li>\n<\/ul>\n<p>\u672c\u6587\u8bb0\u5f55\u7684\u5c31\u662f\u5728\u670d\u52a1\u5668\u4e0a\u5b9e\u73b0\u81ea\u52a8\u5316\u90e8\u7f72GitBook\u7684\u5168\u8fc7\u7a0b\u3002<\/p>\n<p>\u5e0c\u671b\u5b9e\u73b0\u7684\u6548\u679c\u662f\uff1a<br \/>\n\u4f7f\u7528Git\u4ed3\u5e93\u7ba1\u7406\u4e0a\u4f20\u7684MarkDown\u6587\u4ef6\uff0c\u6bcf\u6b21\u4ed3\u5e93Push\u540e<strong>\u89e6\u53d1\u81ea\u52a8\u90e8\u7f72<\/strong>\u5bf9\u5185\u5bb9\u8fdb\u884c\u90e8\u7f72\u548c\u66f4\u65b0\u3002<\/p>\n<blockquote>\n<p><strong>\u524d\u6392\u63d0\u9192\uff1a<\/strong><\/p>\n<ul>\n<li>\u672c\u6587<strong>\u4e0d\u6d89\u53caGit\u7684\u5b89\u88c5<\/strong>\uff0c\u5e76\u9ed8\u8ba4\u8bfb\u8005\u5df2\u7ecf\u5728\u81ea\u5df1\u7684\u7535\u8111\u4e0a\u5177\u6709Git\u73af\u5883\u3002<\/li>\n<li>\u672c\u6587<strong>\u4e0d\u6d89\u53caGit\u7684\u4f7f\u7528<\/strong>\uff0c\u5e76\u9ed8\u8ba4\u8bfb\u8005\u5df2\u7ecf\u5177\u6709\u4e00\u5b9a\u7b80\u5355\u7684Git\u57fa\u7840<del>\uff08\u4f1apush\u5c31\u884c<\/del>\u3002<\/li>\n<\/ul>\n<\/blockquote>\n<h2>\u6280\u672f\u8def\u7ebf\u7684\u9009\u62e9<\/h2>\n<p>\u8981\u60f3\u5b9e\u73b0\u4e0a\u9762\u6240\u8bf4\u7684\u6548\u679c\uff0c\u7b14\u8005\u60f3\u5230\u4e86\u4ee5\u4e0b\u51e0\u4e2a\u6280\u672f\u8def\u7ebf\u53ef\u4ee5\u5b9e\u73b0\uff1a<\/p>\n<ol>\n<li>Github\u5b58\u50a8\uff0c\u670d\u52a1\u5668\u7aef\u6784\u5efa\uff1a\n<ul>\n<li>MD\u6587\u4ef6\u4e0a\u4f20\u5230Github\uff1b<\/li>\n<li>\u670d\u52a1\u5668\u7aef\u62c9\u53d6Github\u6587\u4ef6\uff1b<\/li>\n<li>\u670d\u52a1\u5668\u7aef\u6784\u5efa\uff1b<\/li>\n<\/ul>\n<\/li>\n<li>\u670d\u52a1\u5668\u7aef\u5b58\u50a8\u3001\u6784\u5efa\uff1a\n<ul>\n<li>\u670d\u52a1\u5668\u4e0a\u642d\u5efaGit\u4ed3\u5e93\uff1b<\/li>\n<li>MD\u6587\u4ef6\u4e0a\u4f20\u5230\u670d\u52a1\u5668\uff1b<\/li>\n<li>\u670d\u52a1\u5668\u7aef\u6784\u5efa\uff1b<\/li>\n<\/ul>\n<\/li>\n<li>Github\u5b58\u50a8\u3001\u6784\u5efa\uff0c\u670d\u52a1\u5668\u76f4\u63a5\u62c9\u53d6\u6587\u4ef6\uff1a\n<ul>\n<li>MD\u6587\u4ef6\u4e0a\u4f20\u5230Github\uff1b<\/li>\n<li>\u4f7f\u7528GithubAction\u670d\u52a1\uff0c\u7f16\u5199\u811a\u672c\u81ea\u52a8\u6784\u5efa\uff1b<\/li>\n<li>\u670d\u52a1\u5668\u76f4\u63a5\u62c9\u53d6\u6784\u5efa\u540e\u7684\u6587\u4ef6\uff1b<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u7b14\u8005\u6700\u7ec8\u8fd8\u662f\u9009\u62e9\u4e86\u7b2c\u4e09\u79cd\u6280\u672f\u8def\u7ebf\u3002\u4e3b\u8981\u8fd8\u662f\u611f\u89c9GithubAction\u7684\u53ef\u73a9\u6027\u5f88\u9ad8\uff0c\u521a\u597d\u501f\u6b64\u673a\u4f1a\u5b66\u4e60\u4e00\u4e0b\u3002<\/p>\n<p>\u5df2\u7ecf\u5b8c\u6210\u7684\u6210\u679c\u53ef\u4ee5\u5728\u7b14\u8005\u7684<a href=\"https:\/\/github.com\/Zhewana\/BlogBook\">BlogBook<\/a>\u8fd9\u4e2aRepo\u4e2d\u770b\u5230\u6e90\u7801\u3002<\/p>\n<blockquote>\n<p>\u5f53\u7136\uff0c\u53e6\u5916\u4e24\u79cd\u4e5f\u90fd\u8bd5\u7740\u642d\u5efa\u4e86\uff0c\u5948\u4f55\u7b14\u8005\u5f53\u524d\u6280\u672f\u529b\u4e0d\u591f\uff0c\u642d\u5efa\u51fa\u6765\u7684\u6548\u679c\u4e0d\u662f\u5f88\u597d\uff0c\u9042\u6700\u7ec8\u90fd\u653e\u5f03\u4e86\u3002<\/p>\n<\/blockquote>\n<h2>\u672c\u5730GitBook\u7684\u73af\u5883\u642d\u5efa<\/h2>\n<p>\u8981\u60f3\u5728\u670d\u52a1\u5668\u4e0a\u4f7f\u7528GitBook\u7f16\u8bd1\uff0c\u5f53\u7136\u8981\u5148\u5728\u672c\u5730\u642d\u5efa\u4e00\u4e2a\u73af\u5883\u719f\u6089\u4e00\u4e0b\u3002<\/p>\n<p>\u4e0d\u8fc7\u5728\u6b64\u4e4b\u524d\u6211\u4eec\u8fd8\u662f\u5148\u5bf9GitBook\u6709\u4e00\u4e2a\u7b80\u5355\u7684\u4e86\u89e3\u3002<\/p>\n<h3>\u5565\u662fGitBook<\/h3>\n<p>\u5176\u5b9e\u4ece\u540d\u5b57\u5f88\u5bb9\u6613\u5c31\u80fd\u770b\u5f97\u51fa\u6765\uff0cGitBook\u4e3b\u8981\u5c31\u662f\u4e24\u4e2a\u5173\u952e\u70b9\uff1a<strong>Git<\/strong>\u548c<strong>Book<\/strong><del>\uff08\u5e9f\u8bdd<\/del><\/p>\n<p>GIt\u5f53\u7136\u5c31\u662f\u6307\u53ef\u4ee5\u901a\u8fc7<strong>Git\u7248\u672c\u7ba1\u7406\u7684\u65b9\u5f0f<\/strong>\u6765\u8fdb\u884c\u65b9\u4fbf\u7684\u7ba1\u7406\uff1b\u800cBook\u5219\u662f\u6307\u5176<strong>\u4e3b\u8981\u7528\u4e8e\u5236\u4f5c\u4e66\u7c4d\u6216\u8005\u6587\u6863<\/strong>\u7684\u529f\u80fd\u3002\u4f17\u6240\u5468\u77e5\uff0cWord\u8fd9\u7c7b\u6587\u6863\u5de5\u5177\u867d\u7136\u683c\u5f0f\u4e30\u5bcc\uff0c\u6613\u4e8e\u6392\u7248\uff0c\u4f46\u662f\u6587\u4ef6\u672c\u8eab\u662f<strong>\u4e8c\u8fdb\u5236\u7f16\u7801<\/strong>\uff0c\u6545\u5e76\u4e0d\u9002\u5408\u4f7f\u7528Git\u8fdb\u884c\u7ba1\u7406\uff1b\u6b64\u5916\uff0cWord\u8fc7\u591a\u6587\u6863\u6392\u7248\u65b9\u5f0f\u5f80\u5f80\u4e5f\u5e76\u4e0d\u9002\u5408\u7a0b\u5e8f\u5458\u6280\u672f\u6587\u6863\u7684\u5185\u5bb9\u7279\u70b9\uff0c\u6545\u5f88\u5bb9\u6613\u731c\u5f97\u5230\uff0cGitBook\u5176\u5b9e\u4f7f\u7528\u7684\u662f<strong>MarkDown<\/strong>\u6765\u7ec4\u7ec7\u4e66\u7c4d\u7684\uff0c\u5173\u4e8eMarkDown\u7b14\u8005\u5728\u6b64\u4e0d\u518d\u8d58\u8ff0<del>\uff08\u4f1a\u6765\u770b\u672c\u6587\u7684\u8bfb\u8005\u5e94\u8be5\u4e5f\u4e0d\u81f3\u4e8e\u4e0d\u77e5\u9053MD\u662f\u4ec0\u4e48<\/del>\u3002<\/p>\n<h3>\u642d\u5efaGitBook\u73af\u5883<\/h3>\n<p>GitBook\u662f\u57fa\u4e8eNode.js\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u56e0\u6b64\u8981\u4f7f\u7528GitBook\u81ea\u7136\u8981\u5148<strong>\u5b89\u88c5Node.js\u73af\u5883<\/strong>\u3002\u6574\u4f53\u6d41\u7a0b\u5176\u5b9e\u4e5f\u975e\u5e38\u7b80\u5355\uff1a<\/p>\n<ol>\n<li>\n<p>\u5b89\u88c5nodejs\uff1a<\/p>\n<blockquote>\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u7b14\u8005\u843d\u7b14\u65f6\uff0c<a href=\"https:\/\/nodejs.org\/en\/download\/\">nodejs\u5b98\u7f51<\/a>\u7684\u6700\u65b0\u7248\u672c\u4e3a<strong>v18.12.1(npm 8.19.2)<\/strong>\uff0c\u4f46\u662f\u6211\u4eec\u5e76\u4e0d\u91c7\u7528\u6b64\u7248\u672c\u3002<br \/>\n<strong>\u8f83\u65b0\u7248\u672c\u7684nodejs\u5728\u6267\u884cgitbook\u81ea\u52a8\u5b89\u88c5\u65f6\u4f1a\u4ea7\u751f\u7248\u672c\u4e0d\u517c\u5bb9\u95ee\u9898\u5bfc\u81f4\u65e0\u6cd5\u6b63\u5e38\u5b89\u88c5<\/strong>\uff0c\u6545\u6b64\u5904\u91c7\u7528<strong>v10.12.0<\/strong>\u7248\u672c\uff0c\u8be5\u7248\u672c\u7ecf\u7b14\u8005\u5b9e\u6d4b\u662f\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u7684\u3002<\/p>\n<\/blockquote>\n<p>Windows\u5b89\u88c5\u53ef\u4ee5\u76f4\u63a5\u9009\u62e9<a href=\"https:\/\/nodejs.org\/download\/release\/v10.12.0\/\">\u5728\u8fd9\u91cc<\/a>\u4e0b\u8f7dmsi\u6587\u4ef6\u6765\u8fdb\u884c\u5b89\u88c5\u7684\u65b9\u5f0f\uff0c\u7b80\u5355\u53c8\u65b9\u4fbf\u4e0d\u518d\u8d58\u8ff0\u3002<\/p>\n<p>\u5982\u679c\u662fLinux\u4e0b\u8f7d\u5b89\u88c5\u7684\u8bdd\u5176\u5b9e\u66f4\u52a0\u63a8\u8350\u5148\u88c5nvm\uff0c\u7136\u540e<strong>\u901a\u8fc7nvm\u6765\u7ba1\u7406\u4e0d\u540c\u7248\u672c\u7684nodejs<\/strong>(CentOS 7)\uff1a<\/p>\n<pre><code class=\"language-shell\">curl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.2\/install.sh | bash\nnvm install 10.12<\/code><\/pre>\n<p>\u5b89\u88c5\u8fc7\u540e\u67e5\u770b\u4e0bnode\u7248\u672c\u6765\u9a8c\u8bc1\u662f\u5426\u6b63\u786e\u5b89\u88c5\u4e86nodejs\uff1a<\/p>\n<pre><code class=\"language-shell\">node -v\n# \u8f93\u51fa\u5982\u4e0b\u8bf4\u660e\u6b63\u5e38\u5b89\u88c5\uff1a\n# v10.12.0<\/code><\/pre>\n<\/li>\n<li>\n<p>\u5b89\u88c5gitbook\uff1a<\/p>\n<blockquote>\n<p><strong>\u5efa\u8bae\uff1a<\/strong>\u5728\u4f7f\u7528Windows\u65f6\u51e0\u4e4e\u7528\u4e0d\u5230\u547d\u4ee4\u884c\uff0c\u540c\u65f6\u4f5c\u4e3aLinux\u521d\u5b66\u8005\u5e0c\u671b\u719f\u6089Linux\u547d\u4ee4\u884c\u6307\u4ee4\uff1fGitBash\u5c06\u662f\u4f60\u5f88\u597d\u7684\u9009\u62e9\u3002<\/p>\n<p>\u4ee5\u4e0b\u7b14\u8005\u7684Windows\u547d\u4ee4\u884c\u6f14\u793a\u5747\u5728<strong>GitBash<\/strong>\u4e0b\u8fdb\u884c\uff08\u5f53\u7136\u7528cmdpowershell\u6765\u8fdb\u884c\u540e\u7eed\u64cd\u4f5c\u662f\u5b8c\u5168\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\u7684\uff09\u3002<\/p>\n<p><strong>\u6ce8\uff1a<\/strong>GitBash\u662f\u5b89\u88c5Git\u65f6\u9644\u5e26\u7684\u5de5\u5177\uff0c\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u5b89\u88c5Git\uff0c\u8bf7\u81ea\u884c\u67e5\u627e\u6559\u7a0b\u5b89\u88c5\u540e\u518d\u7ee7\u7eed\u9605\u8bfb\u3002<\/p>\n<\/blockquote>\n<p>\u5728\u4efb\u610f\u8def\u5f84\u4e0b\u6253\u5f00GitBash\uff0c\u5b89\u88c5gitbook\u547d\u4ee4\u884c\u5de5\u5177\uff1a<\/p>\n<blockquote>\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u6b64\u5904<strong>\u4e00\u5b9a\u4e0d\u8981\u76f4\u63a5\u5b89\u88c5<\/strong>gitbook\uff01\u5b89\u88c5\u8fc7\u547d\u4ee4\u884c\u5de5\u5177\u540e\u4f1a\u81ea\u52a8\u5b89\u88c5gitbook\u3002<\/p>\n<\/blockquote>\n<pre><code class=\"language-shell\">npm install gitbook-cli<\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u67e5\u770bgitbook\u7248\u672c\uff0c\u6b64\u65f6\u4f1a\u81ea\u52a8\u5b89\u88c5gitbook\u672c\u4f53\uff1a<\/p>\n<pre><code class=\"language-shell\">gitbook --version<\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u518d\u6b21\u8fd0\u884c\u4e0a\u8ff0\u6307\u4ee4\uff0c\u5f97\u5230\u4ee5\u4e0b\u8f93\u51fa\u4fbf\u8bf4\u660e\u6ca1\u6709\u95ee\u9898\u4e86\uff1a<\/p>\n<pre><code>CLI version: 2.3.2\nGitBook version: 3.2.3<\/code><\/pre>\n<\/li>\n<li>\n<p>\u5b8c\u7ed3\u6492\u82b1<\/p>\n<\/li>\n<\/ol>\n<p>\u81f3\u6b64\u6211\u4eec\u7684GitBook\u73af\u5883\u5c31\u7b97\u662f\u914d\u7f6e\u5b8c\u6bd5\u4e86\uff0c\u63a5\u4e0b\u6765\u7b14\u8005\u987a\u52bf\u4ecb\u7ecd\u4e00\u4e0bGitBook\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n<h2>GitBook  Quick Start<\/h2>\n<p>\u663e\u800c\u6613\u89c1\u7684\u662f\u7531\u4e8eGitBook\u5b98\u65b9\u5bf9\u4e8e\u684c\u9762\u7248\u8f6f\u4ef6\u7684\u66f4\u65b0\u6446\u70c2\uff0cGitBook\u5b98\u7f51\u6587\u6863\u4e2d\u73b0\u5728\u751a\u81f3\u5df2\u7ecf\u627e\u4e0d\u5230\u548c\u684c\u9762\u7248\u6709\u5173\u7684\u6784\u5efa\u90e8\u7f72\u6559\u7a0b\u3002<\/p>\n<p>\u4e0d\u8fc7\u503c\u5f97\u5e86\u5e78\u7684\u662f\u4ecd\u7136\u6709\u5927\u6279\u7684\u521b\u4f5c\u8005\u7559\u4e0b\u4e86\u76f8\u5bf9\u8f83\u5b8c\u5584\u7684\u6587\u6863\uff0c\u7b14\u8005\u5c31\u770b\u5230\u4e86\u8fd9\u4e48\u4e00\u7bc7\uff1a<a href=\"https:\/\/www.chengweiyang.cn\/gitbook\/introduction\/README.html\">GitBook\u7b80\u660e\u6559\u7a0b<\/a><\/p>\n<p>\u4e0d\u60f3\u770b\u957f\u7bc7\u5927\u8bba\u7684\u6587\u6863\u7684\u8bdd\u4e5f\u53ef\u4ee5\u76f4\u63a5\u770b\u4e0b\u6587\u7b14\u8005\u5bf9\u4e8e<strong>GitBook\u7b80\u5355\u4f7f\u7528<\/strong>\u7684\u6982\u62ec\u3002<\/p>\n<blockquote>\n<p><strong>\u6ce8\uff1a<\/strong>\u4e0b\u6587\u63cf\u8ff0\u4ec5\u4e3aGitBook\u4e2d<strong>\u6700\u5e38\u7528\u4e14\u666e\u904d<\/strong>\u7684\u529f\u80fd\uff0c\u90e8\u5206\u7410\u788e\u5185\u5bb9\u8bf7\u53c2\u8003\u5b98\u65b9\u6587\u6863\u6216\u4e0a\u65b9\u94fe\u63a5\u3002<\/p>\n<\/blockquote>\n<h3>\u5173\u952e\u6587\u4ef6<\/h3>\n<p>GitBook\u7684\u5173\u952e\u6587\u4ef6\u5171\u6709\u4e09\u4e2a\uff1a<strong>SUMMARY.md<\/strong>\u3001<strong>README.md<\/strong>\u548c<strong>book.json<\/strong>\uff08\u793a\u4f8b\u89c1\u8d85\u94fe\u63a5\uff09\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/Zhewana\/BlogBook\/blob\/master\/book.json\">book.json<\/a>\uff1a\u4f5c\u7528\u662f\u914d\u7f6e\u4e66\u7c4d\u7684\u4e00\u4e9b\u57fa\u672c\u4fe1\u606f\u4ee5\u53ca<strong>\u8bb0\u5f55\u5f53\u524d\u4e66\u7c4d\u63d2\u4ef6\u4f9d\u8d56<\/strong>\uff0c\u8be5\u6587\u4ef6<strong>\u53ef\u4ee5\u7701\u7565<\/strong>\u3002<\/li>\n<li><a href=\"https:\/\/github.com\/Zhewana\/BlogBook\/blob\/master\/Tutorial_STM32\/SUMMARY.md?plain=1\">SUMMARY.md<\/a>\uff1a\u7528\u4e8e<strong>\u5b9a\u4e49\u4e66\u7c4d\u7684\u7ae0\u8282\u76ee\u5f55\u7ed3\u6784<\/strong>\uff0c\u662f\u5fc5\u987b\u6587\u4ef6\uff0c<strong>\u4e0d\u53ef\u7701\u7565<\/strong>\u3002<\/li>\n<li>README.md\uff1a\u7528\u4e8e\u4e66\u5199<strong>\u4e66\u7c4d\u4ecb\u7ecd<\/strong>\u76f8\u5173\u5185\u5bb9\uff0c<strong>\u4e0d\u53ef\u7701\u7565<\/strong>\u3002<\/li>\n<\/ul>\n<h3>\u76ee\u5f55\u7ed3\u6784<\/h3>\n<p>GitBook\u4f7f\u7528\u591a\u7ea7\u76ee\u5f55\u7ed3\u6784\u5b9a\u4e49\u4e00\u672c\u4e66\u7684\u5185\u5bb9\uff0c\u4e3e\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50:<\/p>\n<p>\u7b14\u8005\u7f16\u5199\u4e86\u4e00\u672c\u4e66\u7c4d\uff0c\u540d\u5b57\u53eb\u505aTutorial_STM32\uff0c\u5176\u4e2d\u5305\u542b\u4e86<code>\u5f00\u53d1\u73af\u5883<\/code>\u3001<code>\u5916\u8bbe\u5e38\u89c4<\/code>\u548c<code>\u5916\u8bbe\u8fdb\u9636<\/code>\u4e09\u4e2a\u7ae0\u8282\uff1a<\/p>\n<ul>\n<li><code>\u5f00\u53d1\u73af\u5883<\/code>\u4e2d\u5206\u4e3a<strong>\u786c\u4ef6<\/strong>\u548c<strong>\u8f6f\u4ef6<\/strong>\u4e24\u90e8\u5206\uff0c\u6bcf\u90e8\u5206\u4e2d\u5404\u6709\u4e00\u4e9b\u7bc7\u7ae0\uff1b<\/li>\n<li><code>\u5916\u8bbe\u5e38\u89c4<\/code>\u4e2d\u5305\u542b<strong>GPIO<\/strong>\u3001<strong>\u5b9a\u65f6\u5668<\/strong>\u7b49\u7bc7\u7ae0\uff1b<\/li>\n<li><code>\u5916\u8bbe\u8fdb\u9636<\/code>\u4e2d\u5305\u542b<strong>\u4e3b\u4ece\u5b9a\u65f6\u5668<\/strong>\u7b49\u7bc7\u7ae0\uff1b<\/li>\n<\/ul>\n<p>\u6b64\u5916\uff0c\u6bcf\u4e2a\u7ae0\u8282\u90fd\u9700\u8981\u6709<strong>\u8be5\u7ae0\u8282\u5185\u5bb9\u7684\u4ecb\u7ecd<\/strong>\uff08\u6216<strong>\u6982\u8ff0<\/strong>\uff09\uff0c\u6574\u4e66\u7684\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n<pre><code>Tutorial_STM32\n\u2502   README.md\n\u2502   SUMMARY.md\n\u2502\n\u251c\u2500\u2500\u2500\u5916\u8bbe\u5e38\u89c4\n\u2502       ADC.md\n\u2502       GPIO.md\n\u2502       IIC.md\n\u2502       RCC\u65f6\u949f\u6811.md\n\u2502       README.md\n\u2502       SPI.md\n\u2502       UART.md\n\u2502       \u5b9a\u65f6\u5668.md\n\u2502\n\u251c\u2500\u2500\u2500\u5916\u8bbe\u8fdb\u9636\n\u2502       README.md\n\u2502       \u4e3b\u4ece\u5b9a\u65f6\u5668.md\n\u2502\n\u2514\u2500\u2500\u2500\u5f00\u53d1\u73af\u5883\n    \u2502   README.md\n    \u2502\n    \u251c\u2500\u2500\u2500\u786c\u4ef6\n    \u2502       README.md\n    \u2502       STM32CubeMX.md\n    \u2502\n    \u2514\u2500\u2500\u2500\u8f6f\u4ef6\n            GCC\u73af\u5883.md\n            IAR\u73af\u5883.md\n            Keil\u73af\u5883.md\n            README.md<\/code><\/pre>\n<p>\u663e\u7136\uff0c\u6bcf\u4e2a\u6587\u4ef6\u5939\u4e0b\u90fd\u4f1a\u6709\u4e00\u4e2aREADME.md\u7528\u4f5c<strong>\u4e66\u7c4d<\/strong>\u6216<strong>\u7ae0\u8282<\/strong>\u7684\u7efc\u8ff0\uff0c\u800cSUMMARY.md\u4ec5\u5728<strong>\u4e66\u7c4d\u6839\u76ee\u5f55<\/strong>\u4e0b\u6709\u4e00\u4e2a\uff0c\u7528\u4e8e\u63cf\u8ff0\u4e66\u7c4d\u7684\u7bc7\u7ae0\u7ed3\u6784\u3002<\/p>\n<p>\u662f\u7684\uff0c\u8fd9\u6837\u7684\u76ee\u5f55\u7ed3\u6784\u5e76\u4e0d\u9700\u8981\u4f5c\u8005\u4e00\u70b9\u4e00\u70b9\u624b\u52a8\u65b0\u5efa\u6587\u4ef6\uff0c\u4f5c\u8005\u53ea\u9700\u8981\u9884\u5148<strong>\u6784\u601d\u597d\u4e66\u7c4d\u7684\u7bc7\u7ae0\u76ee\u5f55<\/strong>\u7136\u540e\u5c06\u5176<strong>\u5199\u5165SUMMARY.md<\/strong>\u4e2d\u5373\u53ef\u3002<\/p>\n<h3>\u5e38\u7528\u6307\u4ee4<\/h3>\n<ul>\n<li>\n<p><code>gitbook init [book]<\/code><\/p>\n<p>\u4f5c\u7528\uff1a\u7528\u4e8e<strong>\u521d\u59cb\u5316\u56fe\u4e66<\/strong>\u3002<\/p>\n<p>book\u4e3a<strong>\u53ef\u9009<\/strong>\u53c2\u6570\uff0c\u7528\u4e8e\u6307\u5b9a\u56fe\u4e66<strong>\u6839\u76ee\u5f55<\/strong>\uff0c\u9ed8\u8ba4\u5c06<strong>\u5f53\u524d\u76ee\u5f55<\/strong>\u4f5c\u4e3a\u6839\u76ee\u5f55\u3002<\/p>\n<p>\u521d\u59cb\u5316\u7684\u6d41\u7a0b\u5305\u62ec\uff1a<\/p>\n<ol>\n<li>\u68c0\u67e5\u6839\u76ee\u5f55\u4e0b\u6709\u6ca1\u6709<strong>\u5fc5\u987b\u7684\u5173\u952e\u6587\u4ef6<\/strong>\uff0c\u5982\u679c\u6ca1\u6709\uff0c\u5219\u751f\u6210\uff1b<\/li>\n<li>\u6839\u636eSUMMARY.md\u6587\u4ef6\u7684\u5185\u5bb9\u751f\u6210\u4e66\u7c4d\u7684\u591a\u7ea7\u76ee\u5f55\uff1b<\/li>\n<\/ol>\n<\/li>\n<li>\n<p><code>gitbook build [book] [output]<\/code><\/p>\n<p>\u4f5c\u7528\uff1a\u6839\u636emd\u6587\u4ef6\u548c\u76ee\u5f55\u7ed3\u6784\u5c06\u56fe\u4e66\u8fdb\u884c\u6784\u5efa\uff0c\u8f93\u51fa\u9700\u8981\u7684\u6587\u4ef6\u7c7b\u578b\uff08html\u3001pdf\u3001epub\uff09\u3002<\/p>\n<p>book\u4e3a<strong>\u53ef\u9009<\/strong>\u53c2\u6570\uff0c\u7528\u4e8e\u6307\u5b9a\u56fe\u4e66<strong>\u6839\u76ee\u5f55<\/strong>\uff0c\u9ed8\u8ba4\u5c06<strong>\u5f53\u524d\u76ee\u5f55<\/strong>\u4f5c\u4e3a\u6839\u76ee\u5f55\u3002<\/p>\n<p>output\u4e3a<strong>\u53ef\u9009<\/strong>\u53c2\u6570\uff0c\u7528\u4e8e\u6307\u5b9a<strong>\u8f93\u51fa\u76ee\u5f55<\/strong>\uff0c\u9ed8\u8ba4\u5728\u6839\u76ee\u5f55\u4e0b<strong>\u521b\u5efa<code>_book<\/code>\u6587\u4ef6\u5939<\/strong>\uff0c\u5e76\u5c06\u8f93\u51fa\u6587\u4ef6\u5b58\u5165\u3002<\/p>\n<\/li>\n<li>\n<p><code>gitbook install [book]<\/code><\/p>\n<p>\u4f5c\u7528\uff1a\u6309\u7167book.json\u6587\u4ef6\u4e2d\u5217\u51fa\u7684\u63d2\u4ef6\u4f9d\u8d56\u9879\u5b89\u88c5\u6240\u9700\u63d2\u4ef6\u3002<\/p>\n<p>book\u4e3a<strong>\u53ef\u9009<\/strong>\u53c2\u6570\uff0c\u7528\u4e8e\u6307\u5b9a\u56fe\u4e66<strong>\u6839\u76ee\u5f55<\/strong>\uff0c\u9ed8\u8ba4\u5c06<strong>\u5f53\u524d\u76ee\u5f55<\/strong>\u4f5c\u4e3a\u6839\u76ee\u5f55\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u6beb\u4e0d\u5ba2\u6c14\u7684\u8bf4\uff0c\u638c\u63e1\u4e86\u4ee5\u4e0a\u5185\u5bb9\uff0c\u4f60\u5df2\u7ecf\u53ef\u4ee5\u6210\u4e3a\u4e86\u4e2a\u5408\u683c\u7684GitBook\u4f7f\u7528\u8005\u4e86\uff0c\u6b64\u5916\u7b14\u8005\u8fd8\u6709\u4e00\u70b9\u60f3\u8bb2\u7684\u5c0f\u6280\u5de7\u662f\uff1a\u8981\u83b7\u5f97GitBook\u6240\u652f\u6301\u7684\u63d2\u4ef6\u5217\u8868\uff0c\u76f4\u63a5\u5230<a href=\"https:\/\/www.npmjs.com\/search?q=gitbook-plugin\">npm\u5546\u5e97<\/a>\u4e2d\u641c\u7d22<strong>gitbook-plugin<\/strong>\u5373\u53ef\u3002<\/p>\n<h2>GitHub\u5728\u7ebf\u6784\u5efa\u73af\u5883\u642d\u5efa<\/h2>\n<p>GitHub\u7684\u5728\u7ebf\u6784\u5efa\u5176\u5b9e\u662f\u4f7f\u7528\u4e86\u5176\u63d0\u4f9b\u7684\u4e00\u9879\u6301\u7eed\u96c6\u6210\u670d\u52a1\uff0c\u7b14\u8005\u5728\u524d\u6587\u4e5f\u6709\u63d0\u53ca\uff1a<strong>GitHub Actions<\/strong>\u3002<\/p>\n<h3>GitHub Actions\u7b80\u4ecb<\/h3>\n<blockquote>\n<p>GitHub Actions\u662f\u4e00\u4e2a<strong>\u6301\u7eed\u96c6\u6210<\/strong>\u548c<strong>\u6301\u7eed\u4ea4\u4ed8<\/strong> (CI\/CD) \u5e73\u53f0\uff0c\u53ef\u8ba9\u60a8<strong>\u81ea\u52a8\u5316<\/strong>\u6784\u5efa\u3001\u6d4b\u8bd5\u548c\u90e8\u7f72\u7ba1\u9053\u3002\u60a8\u53ef\u4ee5\u521b\u5efa\u5de5\u4f5c\u6d41\u6765\u6784\u5efa\u548c\u6d4b\u8bd5\u5b58\u50a8\u5e93\u4e2d\u7684\u6bcf\u4e2a\u62c9\u53d6\u8bf7\u6c42\uff0c\u6216\u5c06\u5408\u5e76\u7684\u62c9\u53d6\u8bf7\u6c42\u90e8\u7f72\u5230\u751f\u4ea7\u73af\u5883\u3002<\/p>\n<p style=\"text-align:right\"><b>----GitHub Actions Doc<\/b><\/p>\n<\/blockquote>\n<p>\u8981\u7b14\u8005\u8bf4\u7684\u8bdd\u5176\u5b9e\u5c31\u662f\u5b98\u65b9\u4f1a<strong>\u4e3a\u4ed3\u5e93\u63d0\u4f9b\u5bb9\u5668<\/strong>\u4f9b\u4f7f\u7528\u8005\u53ef\u4ee5\u5728<strong>\u7279\u5b9a\u7684\u65f6\u95f4\u8282\u70b9<\/strong>\uff08\u5982push\u540e\uff09\u65f6\u4f9d\u7167\u9884\u5148\u7f16\u5199\u597d\u7684\u811a\u672c<strong>\u81ea\u52a8\u5316<\/strong>\u5b8c\u6210\u4e00\u5b9a\u7684\u5de5\u4f5c\u3002<del>\uff08\u522b\u8bf4\u8fd8\u6709\u70b9\u4e13\u4e1a\u5bf9\u53e3<\/del><\/p>\n<h3>GitHub Actions  Quick Start<\/h3>\n<blockquote>\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u7b14\u8005\u53ea\u662f\u5bf9\u8be5\u670d\u52a1\u6709\u4e00\u70b9\u6781\u5176\u6d45\u663e\u7684\u8ba4\u77e5\uff0c\u7b14\u8005\u6240\u5199\u4e5f\u5b8c\u5168\u662f\u81ea\u5df1\u5bf9\u5176\u7684\u7406\u89e3\uff0c\u5982\u6709\u9519\u8bef\u8fd8\u671b\u8bfb\u8005\u6307\u6b63\u3002<\/p>\n<p>\u5982\u679c\u8bfb\u8005\u5e0c\u671b\u5e0c\u671b\u7cfb\u7edf\u7684\u5b66\u4e60GitHub Actions\uff0c\u8bf7\u79fb\u6b65<a href=\"https:\/\/docs.github.com\/en\/actions\">\u5b98\u65b9\u6587\u6863<\/a>\u3002<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>workflow\uff1a\u5de5\u4f5c\u6d41<\/p>\n<p>\u5de5\u4f5c\u6d41\u4e3b\u8981\u662f\u6307\u4f1a<strong>\u88ab\u7279\u5b9a\u4e8b\u4ef6\u89e6\u53d1<\/strong>\u7684\u7279\u5b9a\u7684\u5de5\u4f5c\u6d41\u7a0b\u3002<\/p>\n<p>\u4e00\u4e2a\u5de5\u4f5c\u6d41\u7531\u4ed3\u5e93\u4e2d<strong>\u7279\u5b9a\u8def\u5f84<\/strong>\uff08<code>.github\/workflows<\/code>\uff09\u4e0b\u7684<strong>\u540e\u7f00\u4e3ayml<\/strong>\u7684\u6587\u4ef6\u6240\u5b9a\u4e49\u3002\u4e00\u4e2a\u4ed3\u5e93<strong>\u53ef\u4ee5\u5177\u6709\u591a\u4e2a<\/strong>\u4e0d\u540c\u7684\u5de5\u4f5c\u6d41\uff0c\u5373\u53ef\u4ee5\u6709\u591a\u4e2a\u540e\u7f00\u4e3ayml\u7684\u6587\u4ef6\uff0c\u5de5\u4f5c\u6d41\u4e4b\u95f4\u4e92\u76f8\u72ec\u7acb\uff0c\u4f46\u4e5f<strong>\u53ef\u4ee5\u4e92\u76f8\u91cd\u7528<\/strong>\u3002<\/p>\n<\/li>\n<li>\n<p>events\uff1a\u4e8b\u4ef6<\/p>\n<p>\u4e8b\u4ef6\u6307<strong>\u89e6\u53d1\u5de5\u4f5c\u6d41\u8fd0\u884c<\/strong>\u7684\u4ed3\u5e93\u4e8b\u4ef6\uff08\u5982push\uff0cpull\u7b49\uff09\uff0c\u5177\u4f53\u4e8b\u4ef6\u53c2\u8003<a href=\"https:\/\/docs.github.com\/en\/actions\/reference\/events-that-trigger-workflows\">\u89e6\u53d1\u5de5\u4f5c\u6d41\u7684\u4e8b\u4ef6<\/a>\u3002<\/p>\n<\/li>\n<li>\n<p>jobs\uff1a\u4f5c\u4e1a<\/p>\n<p>\u4f5c\u4e1a\u662f\u6307\u4e00\u7cfb\u5217\u8fd0\u884c\u6b65\u9aa4\u7684\u96c6\u5408\uff0c\u6bcf\u4e2a\u4f5c\u4e1a\u4f1a\u6709\u4e00\u4e2a\u5355\u72ec\u7684\u5bb9\u5668\uff0c\u4e00\u4e2a\u4f5c\u4e1a\u4e2d\u7684\u4e0d\u540c\u6b65\u9aa4\u6309\u987a\u5e8f\u6267\u884c\uff0c\u5171\u7528\u540c\u4e00\u5bb9\u5668\u73af\u5883\u3002<\/p>\n<p>\u591a\u4e2a\u4f5c\u4e1a\u9ed8\u8ba4\u662f\u5e76\u884c\u5173\u7cfb\uff0c\u811a\u672c\u4f5c\u8005\u53ef\u4ee5\u901a\u8fc7\u4e3a\u4e0d\u540c\u4f5c\u4e1a\u4e4b\u95f4\u8bbe\u7f6e\u4f9d\u8d56\u7684\u65b9\u5f0f\u6765\u63a7\u5236\u4f5c\u4e1a\u7684\u8fd0\u884c\u987a\u5e8f\u3002<\/p>\n<\/li>\n<li>\n<p>steps\uff1a\u6b65\u9aa4<\/p>\n<p>\u662f\u4f5c\u4e1a\u4e2d\u4efb\u52a1\u7684\u6700\u5c0f\u7ec6\u5206\uff0c\u4e00\u4e2a\u6b65\u9aa4\u53ef\u4ee5\u662f\u4f7f\u7528\u4e00\u4e2a\u73b0\u6210\u7684Action\uff0c\u4e5f\u53ef\u4ee5\u662f\u6267\u884c\u4e00\u4e2ashell\u8bed\u53e5\u3002<\/p>\n<\/li>\n<li>\n<p>Action\uff1a\u64cd\u4f5c<\/p>\n<p>\u662f\u4e00\u4e2a\u5355\u72ec\u7684\u5e38\u7528\u6a21\u5757\u7684\u5c01\u88c5\uff0c\u662f\u7c7b\u4f3c\u4e8e\u5e38\u89c4\u7f16\u7a0b\u8bed\u8a00\u4e2d\u51fd\u6570\u7684\u6982\u5ff5\uff0c\u53ef\u4ee5\u4f20\u5165\u53c2\u6570\u7ed9\u64cd\u4f5c\u4f7f\u7528\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u8be6\u7ec6\u7684\u811a\u672c\u8bed\u6cd5\u53ef\u4ee5\u53c2\u8003<a href=\"https:\/\/docs.github.com\/zh\/actions\/using-workflows\/workflow-syntax-for-github-actions#name\">\u5b98\u65b9\u6587\u6863\u7684\u5de5\u4f5c\u6d41\u8bed\u6cd5<\/a>\u7ae0\u8282\uff0c\u6b64\u5904\u7b14\u8005\u53ea\u662f\u8fdb\u884c\u4e00\u4e2a\u7b80\u5355\u7684\u4ecb\u7ecd\u3002<\/p>\n<p>\u4e00\u4e2a\u7b80\u5355\u7684\u811a\u672c\u6846\u67b6\uff08\u5b98\u65b9\u63d0\u4f9b\uff09\uff1a<\/p>\n<pre><code class=\"language-yml\"># \u5de5\u4f5c\u6d41\u540d\u79f0\nname: learn-github-actions\n\n# \u914d\u7f6e\u5de5\u4f5c\u6d41\u89e6\u53d1\u4e8b\u4ef6\non: [push]\njobs:\n  check-bats-version: # \u4f5c\u4e1a\u540d\u79f0\n    runs-on: ubuntu-latest # \u6307\u5b9a\u5bb9\u5668\u8fd0\u884c\u73af\u5883\n    steps: # \u6307\u5b9a\u8fd0\u884c\u6b65\u9aa4\n      - uses: actions\/checkout@v3 # \u4f7f\u7528\u73b0\u6210\u7684Action\n      - uses: actions\/setup-node@v3 # \u4f7f\u7528\u73b0\u6210\u7684Action\uff0c\u5e26\u53c2\u6570\n        with:\n          node-version: &amp;#039;14&amp;#039;\n      - run: npm install -g bats # \u6267\u884cshell\u8bed\u53e5\n      - run: bats -v # \u6267\u884cshell\u8bed\u53e5<\/code><\/pre>\n<p>\u6b64\u5916\uff0c\u8003\u8651\u5230\u4f7f\u7528\u811a\u672c\u4e0d\u53ef\u907f\u514d\u7684\u8981\u4f7f\u7528\u5230\u5bc6\u7801\u3001\u5bc6\u94a5\u4e4b\u7c7b\u7684\u6bd4\u8f83\u9690\u79c1\u7684\u4e1c\u897f\uff0c\u6240\u4ee5\u5b98\u65b9\u63d0\u4f9b\u4e86secrets\u5b57\u6bb5\u7528\u4e8e\u5f15\u7528\u8fd9\u4e00\u7cfb\u5217\u4e0d\u65b9\u4fbf\u5bf9\u5916\u5c55\u793a\u7684\u5185\u5bb9\u3002\u811a\u672c\u4f5c\u8005\u53ea\u9700\u8981\u5728GitHub Repo\u8bbe\u7f6e\u7684Secrets\u83dc\u5355\u4e2d\u914d\u7f6e\u53d8\u91cf\u540d\u4ee5\u53ca\u5185\u5bb9\u5373\u53ef\u5728\u811a\u672c\u4e2d\u901a\u8fc7\u8bbf\u95eesecrets\u5b57\u6bb5\u6210\u5458\u7684\u65b9\u5f0f\u6765\u8fdb\u884c\u5f15\u7528\u3002<\/p>\n<h3>\u4e00\u4e2a\u7b80\u5355\u7684\u5c0f\u811a\u672c<\/h3>\n<p>\u65e2\u7136\u90fd\u8bb2\u5230\u8fd9\u91cc\u4e86\uff0c\u4e0d\u5f97\u4e0d\u63d0\u7684\u4e00\u70b9\u662f\uff1a\u7531\u4e8e\u4f17\u6240\u5468\u77e5\u7684\u539f\u56e0\uff0c\u56fd\u5185\u7684\u670d\u52a1\u5668\u5e76\u4e0d\u5177\u6709\u8bbf\u95eeGitHub\u7684\u80fd\u529b\uff0c\u6240\u4ee5\u5176\u5b9e\u811a\u672c\u4e2d\u8fd8\u9700\u8981\u589e\u52a0\u4e00\u70b9\u5176\u4ed6\u7684\u5185\u5bb9\uff0c\u5373<strong>\u540c\u6b65GitHub\u5185\u5bb9\u5230Gitee<\/strong>\uff0c\u7136\u540e\u518d\u7531\u670d\u52a1\u5668\u5b9a\u65f6\u62c9\u53d6\u3002<\/p>\n<p>\u4e8e\u662f\u6700\u7ec8\u7684\u811a\u672c\u5c31\u662f<a href=\"https:\/\/github.com\/Zhewana\/BlogBook\/blob\/master\/.github\/workflows\/buildbooks.yml\">\u8fd9\u6837<\/a>\u3002<\/p>\n<p>\u6574\u4f53\u7684\u6d41\u7a0b\u5176\u5b9e\u8fd8\u86ee\u7b80\u5355\u7684\uff1a<\/p>\n<blockquote>\n<p><strong>\u6ce8\u610f\uff1a<\/strong>\u6b64\u5904\u9700\u8981\u77e5\u9053\u7684\u4e00\u4e2a\u524d\u63d0\u77e5\u8bc6\u662f\uff1ajob\u5bf9\u5e94\u7684\u5bb9\u5668\u662f\u7a7a\u7684\uff0c\u5e76\u4e14\u6bcf\u6b21\u4f7f\u7528\u90fd\u4f1a\u5206\u914d\u65b0\u7684<del>\uff08\u60f3\u60f3\u4e5f\u4e0d\u4f1a\u62ff\u4e00\u4e2a\u5bb9\u5668\u7ed9\u4f60\u9738\u5360\u554a\uff09<\/del>\u3002\u6545\u663e\u7136\uff0c<strong>\u6bcf\u6b21\u90fd\u9700\u8981\u81ea\u884c\u628a\u9700\u8981\u7684\u73af\u5883\u88c5\u4e00\u904d<\/strong>\uff1b\u6b64\u5916\uff0c\u6bcf\u6b21\u6784\u5efa\u5b8c\u6210\u540e\uff0c\u5982\u679c\u5e0c\u671b\u4fdd\u7559\u6784\u5efa\u751f\u6210\u7684\u6587\u4ef6\uff0c\u9700\u8981\u901a\u8fc7Git\u5c06\u751f\u6210\u7684\u6587\u4ef6\u63a8\u5230GitHub\uff0c\u5426\u5219<strong>\u6784\u5efa\u8fc7\u7a0b\u4e2d\u9020\u6210\u6211\u7684\u6587\u4ef6\u4fee\u6539\u662f\u4e0d\u4f1a\u540c\u6b65\u5230\u5728\u7ebf\u4ed3\u5e93\u7684<\/strong>\u3002<\/p>\n<p><strong>\u8865\u5145\uff1a<\/strong>GitHub\u548cGitee\u90fd\u53ef\u4ee5\u4f7f\u7528\u5bc6\u94a5\u8fdb\u884c\u514d\u5bc6\u7684push\u548cpull\u64cd\u4f5c\uff0c\u53ea\u9700\u4ee5\u7279\u5b9a\u7684\u94fe\u63a5\u683c\u5f0f\u8bbf\u95ee\u8fdc\u7a0b\u4e3b\u673a\u5373\u53ef\uff1a<\/p>\n<ul>\n<li>GitHub\uff1a<a href=\"https:\/\/${TOKEN}@github.com\/${USER_NAME}\/${REPO_NAME\">https:\/\/${TOKEN}@github.com\/${USER_NAME}\/${REPO_NAME<\/a>}<\/li>\n<li>Gitee\uff1a<a href=\"https:\/\/${USER_NAME}:${TOKEN\">https:\/\/${USER_NAME}:${TOKEN<\/a> }@gitee.com\/${USER_NAME}\/${REPO_NAME}.git<\/li>\n<\/ul>\n<\/blockquote>\n<ol>\n<li>\n<p>\u5b89\u88c5Node.js\uff1b<\/p>\n<\/li>\n<li>\n<p>\u5b89\u88c5GitBook\uff1b<\/p>\n<\/li>\n<li>\n<p>\u6784\u5efa\u4e66\u7c4d\uff1b<\/p>\n<blockquote>\n<p><strong>\u6ce8\uff1a<\/strong>\u6b64\u5904\u7b14\u8005\u91c7\u7528\u7684\u662f\u4e00\u4e2a\u4ed3\u5e93\u4e2d\u5b58\u50a8\u591a\u672c\u4e66\u7c4d\u7684\u65b9\u5f0f\uff0c\u6240\u4ee5\u9700\u8981<strong>cd\u5230\u6bcf\u4e2a\u4e66\u7c4d\u76ee\u5f55\u4e0b<\/strong>\u8fdb\u884c\u5206\u522b\u521d\u59cb\u5316\u4ee5\u53ca\u6784\u5efa\u64cd\u4f5c\u3002<\/p>\n<\/blockquote>\n<\/li>\n<li>\n<p>push\u5230GitHub\uff1b<\/p>\n<\/li>\n<li>\n<p>push\u5230Gitee\uff1b<\/p>\n<\/li>\n<\/ol>\n<hr \/>\n<p>\u81f3\u6b64\uff0c\u6574\u4e2a\u914d\u7f6e\u8fc7\u7a0b\u5176\u5b9e\u5c31\u5b8c\u6210\u4e86\uff0c\u53ea\u9700\u8981\u5728\u670d\u52a1\u5668\u4e0a\u5f00\u4e2a\u5b9a\u65f6\u4efb\u52a1\u6267\u884c\u62c9\u53d6\u811a\u672c\u5373\u53ef\uff0c\u53ef\u4ee5\u5f00\u59cb\u4eab\u53d7\u81ea\u52a8\u90e8\u7f72\u5566\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00 \u653e\u5047\u5566\uff01\u521a\u5f00\u59cb\u7684\u51e0\u5929\u5728\u5bb6\u91cc\u9762\u81ea\u6211\u9694\u79bb\u751a\u662f\u65e0\u804a\uff0c\u518d\u52a0\u4e0a\u539f\u672c\u963f\u91cc\u4e91\u7684\u670d\u52a1\u5668\u5230\u671f\u4e86\uff0c\u4e8e\u662f\u7b14\u8005\u6253\u7b97\u4e00\u5e74\u4e00\u5ea6\u7684\u88c5\u4fee [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":428,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[47],"class_list":["post-476","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-words","tag-47"],"_links":{"self":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts\/476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=476"}],"version-history":[{"count":11,"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions"}],"predecessor-version":[{"id":487,"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts\/476\/revisions\/487"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/media\/428"}],"wp:attachment":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}