index.html 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214
  1. <!doctype html>
  2. <html lang="zh" class="no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1">
  6. <meta name="author" content="Wcowin">
  7. <link rel="canonical" href="http://wcowin.work/Mkdocs-Wcowin/blog/Mkdocs/mkdocs1/">
  8. <link rel="next" href="../mkdocs2/">
  9. <link rel="icon" href="../../../img/apple-line.png">
  10. <meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.2">
  11. <title>利用Mkdocs部署静态网页至GitHubpages - Mkdocs-Wcowin中文主题</title>
  12. <link rel="stylesheet" href="../../../assets/stylesheets/main.d451bc0e.min.css">
  13. <link rel="stylesheet" href="../../../assets/stylesheets/palette.a5377069.min.css">
  14. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  15. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
  16. <style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
  17. <link rel="stylesheet" href="../../../stylesheets/extra.css">
  18. <link rel="stylesheet" href="../../../stylesheets/link.css">
  19. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.css">
  20. <link rel="stylesheet" href="../../../ckplayer/css/ckplayer.css">
  21. <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
  22. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/lxgw-wenkai-webfont@1.1.0/style.css">
  23. <script>__md_scope=new URL("../../..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
  24. <script id="__analytics">function __md_analytics(){function n(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],n("js",new Date),n("config",""),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){this.value&&n("event","search",{search_term:this.value})}),document$.subscribe(function(){var a=document.forms.feedback;if(void 0!==a)for(var e of a.querySelectorAll("[type=submit]"))e.addEventListener("click",function(e){e.preventDefault();var t=document.location.pathname,e=this.getAttribute("data-md-value");n("event","feedback",{page:t,data:e}),a.firstElementChild.disabled=!0;e=a.querySelector(".md-feedback__note [data-md-value='"+e+"']");e&&(e.hidden=!1)}),a.hidden=!1}),location$.subscribe(function(e){n("config","",{page_path:e.pathname})})});var e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id=",document.getElementById("__analytics").insertAdjacentElement("afterEnd",e)}</script>
  25. <script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
  26. <link rel="stylesheet" href="../../../assets/stylesheets/custom.00c04c01.min.css">
  27. </head>
  28. <body dir="ltr" data-md-color-scheme="default" data-md-color-primary="blue-grey" data-md-color-accent="indigo">
  29. <script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
  30. <input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
  31. <input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
  32. <label class="md-overlay" for="__drawer"></label>
  33. <div data-md-component="skip">
  34. <a href="#一准备工作重要" class="md-skip">
  35. 跳转至
  36. </a>
  37. </div>
  38. <div data-md-component="announce">
  39. <aside class="md-banner">
  40. <div class="md-banner__inner md-grid md-typeset">
  41. <button class="md-banner__button md-icon" aria-label="不再显示此消息">
  42. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
  43. </button>
  44. Follow <strong>@Wcowin</strong> on
  45. <a rel="me" href="https://space.bilibili.com/1407028951?spm_id_from=333.1007.0.0">
  46. <span class="twemoji bilibili">
  47. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M488.6 104.1c16.7 18.1 24.4 39.7 23.3 65.7v202.4c-.4 26.4-9.2 48.1-26.5 65.1-17.2 17-39.1 25.9-65.5 26.7H92.02c-26.45-.8-48.21-9.8-65.28-27.2C9.682 419.4.767 396.5 0 368.2V169.8c.767-26 9.682-47.6 26.74-65.7C43.81 87.75 65.57 78.77 92.02 78h29.38L96.05 52.19c-5.75-5.73-8.63-13-8.63-21.79 0-8.8 2.88-16.06 8.63-21.797C101.8 2.868 109.1 0 117.9 0s16.1 2.868 21.9 8.603L213.1 78h88l74.5-69.397C381.7 2.868 389.2 0 398 0c8.8 0 16.1 2.868 21.9 8.603 5.7 5.737 8.6 12.997 8.6 21.797 0 8.79-2.9 16.06-8.6 21.79L394.6 78h29.3c26.4.77 48 9.75 64.7 26.1zm-38.8 69.7c-.4-9.6-3.7-17.4-10.7-23.5-5.2-6.1-14-9.4-22.7-9.8H96.05c-9.59.4-17.45 3.7-23.58 9.8-6.14 6.1-9.4 13.9-9.78 23.5v194.4c0 9.2 3.26 17 9.78 23.5s14.38 9.8 23.58 9.8H416.4c9.2 0 17-3.3 23.3-9.8 6.3-6.5 9.7-14.3 10.1-23.5V173.8zm-264.3 42.7c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.2 6.3-14 9.5-23.6 9.5-9.6 0-17.5-3.2-23.6-9.5-6.1-6.3-9.4-14-9.8-23.2v-33.3c.4-9.1 3.8-16.9 10.1-23.2 6.3-6.3 13.2-9.6 23.3-10 9.2.4 17 3.7 23.3 10zm191.5 0c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.1 6.3-14 9.5-23.6 9.5-9.6 0-17.4-3.2-23.6-9.5-7-6.3-9.4-14-9.7-23.2v-33.3c.3-9.1 3.7-16.9 10-23.2 6.3-6.3 14.1-9.6 23.3-10 9.2.4 17 3.7 23.3 10z"/></svg>
  48. </span>
  49. <strong>Bilibili</strong>
  50. </a>
  51. and
  52. <a href="https://twitter.com/Wcowin_">
  53. <span class="twemoji twitter">
  54. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
  55. </span>
  56. <strong>Twitter</strong>
  57. </a>
  58. </div>
  59. <script>var content,el=document.querySelector("[data-md-component=announce]");el&&(content=el.querySelector(".md-typeset"),__md_hash(content.innerHTML)===__md_get("__announce")&&(el.hidden=!0))</script>
  60. </aside>
  61. </div>
  62. <header class="md-header" data-md-component="header">
  63. <nav class="md-header__inner md-grid" aria-label="页眉">
  64. <a href="../../.." title="Mkdocs-Wcowin中文主题" class="md-header__button md-logo" aria-label="Mkdocs-Wcowin中文主题" data-md-component="logo">
  65. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
  66. </a>
  67. <label class="md-header__button md-icon" for="__drawer">
  68. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"/></svg>
  69. </label>
  70. <div class="md-header__title" data-md-component="header-title">
  71. <div class="md-header__ellipsis">
  72. <div class="md-header__topic">
  73. <span class="md-ellipsis">
  74. Mkdocs-Wcowin中文主题
  75. </span>
  76. </div>
  77. <div class="md-header__topic" data-md-component="header-topic">
  78. <span class="md-ellipsis">
  79. 利用Mkdocs部署静态网页至GitHubpages
  80. </span>
  81. </div>
  82. </div>
  83. </div>
  84. <form class="md-header__option" data-md-component="palette">
  85. <input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="blue-grey" data-md-color-accent="indigo" aria-label="切换至夜间模式" type="radio" name="__palette" id="__palette_1">
  86. <label class="md-header__button md-icon" title="切换至夜间模式" for="__palette_2" hidden>
  87. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m17.75 4.09-2.53 1.94.91 3.06-2.63-1.81-2.63 1.81.91-3.06-2.53-1.94L12.44 4l1.06-3 1.06 3 3.19.09m3.5 6.91-1.64 1.25.59 1.98-1.7-1.17-1.7 1.17.59-1.98L15.75 11l2.06-.05L18.5 9l.69 1.95 2.06.05m-2.28 4.95c.83-.08 1.72 1.1 1.19 1.85-.32.45-.66.87-1.08 1.27C15.17 23 8.84 23 4.94 19.07c-3.91-3.9-3.91-10.24 0-14.14.4-.4.82-.76 1.27-1.08.75-.53 1.93.36 1.85 1.19-.27 2.86.69 5.83 2.89 8.02a9.96 9.96 0 0 0 8.02 2.89m-1.64 2.02a12.08 12.08 0 0 1-7.8-3.47c-2.17-2.19-3.33-5-3.49-7.82-2.81 3.14-2.7 7.96.31 10.98 3.02 3.01 7.84 3.12 10.98.31Z"/></svg>
  88. </label>
  89. <input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="black" data-md-color-accent="indigo" aria-label="切换至日间模式" type="radio" name="__palette" id="__palette_2">
  90. <label class="md-header__button md-icon" title="切换至日间模式" for="__palette_1" hidden>
  91. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3m0-7 2.39 3.42C13.65 5.15 12.84 5 12 5c-.84 0-1.65.15-2.39.42L12 2M3.34 7l4.16-.35A7.2 7.2 0 0 0 5.94 8.5c-.44.74-.69 1.5-.83 2.29L3.34 7m.02 10 1.76-3.77a7.131 7.131 0 0 0 2.38 4.14L3.36 17M20.65 7l-1.77 3.79a7.023 7.023 0 0 0-2.38-4.15l4.15.36m-.01 10-4.14.36c.59-.51 1.12-1.14 1.54-1.86.42-.73.69-1.5.83-2.29L20.64 17M12 22l-2.41-3.44c.74.27 1.55.44 2.41.44.82 0 1.63-.17 2.37-.44L12 22Z"/></svg>
  92. </label>
  93. </form>
  94. <label class="md-header__button md-icon" for="__search">
  95. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
  96. </label>
  97. <div class="md-search" data-md-component="search" role="dialog">
  98. <label class="md-search__overlay" for="__search"></label>
  99. <div class="md-search__inner" role="search">
  100. <form class="md-search__form" name="search">
  101. <input type="text" class="md-search__input" name="query" aria-label="搜索" placeholder="搜索" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
  102. <label class="md-search__icon md-icon" for="__search">
  103. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
  104. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
  105. </label>
  106. <nav class="md-search__options" aria-label="查找">
  107. <a href="javascript:void(0)" class="md-search__icon md-icon" title="分享" aria-label="分享" data-clipboard data-clipboard-text="" data-md-component="search-share" tabindex="-1">
  108. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7 0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9a3 3 0 0 0-3 3 3 3 0 0 0 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.15c-.05.21-.08.43-.08.66 0 1.61 1.31 2.91 2.92 2.91 1.61 0 2.92-1.3 2.92-2.91A2.92 2.92 0 0 0 18 16.08Z"/></svg>
  109. </a>
  110. <button type="reset" class="md-search__icon md-icon" title="清空当前内容" aria-label="清空当前内容" tabindex="-1">
  111. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
  112. </button>
  113. </nav>
  114. <div class="md-search__suggest" data-md-component="search-suggest"></div>
  115. </form>
  116. <div class="md-search__output">
  117. <div class="md-search__scrollwrap" data-md-scrollfix>
  118. <div class="md-search-result" data-md-component="search-result">
  119. <div class="md-search-result__meta">
  120. 正在初始化搜索引擎
  121. </div>
  122. <ol class="md-search-result__list" role="presentation"></ol>
  123. </div>
  124. </div>
  125. </div>
  126. </div>
  127. </div>
  128. <div class="md-header__source">
  129. <a href="https://github.com/Wcowin/Mkdocs-Wcowin" title="前往仓库" class="md-source" data-md-component="source">
  130. <div class="md-source__icon md-icon">
  131. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
  132. </div>
  133. <div class="md-source__repository">
  134. Mkdocs-Wcowin
  135. </div>
  136. </a>
  137. </div>
  138. </nav>
  139. </header>
  140. <div class="md-container" data-md-component="container">
  141. <nav class="md-tabs" aria-label="标签" data-md-component="tabs">
  142. <div class="md-grid">
  143. <ul class="md-tabs__list">
  144. <li class="md-tabs__item md-tabs__item--active">
  145. <a href="./" class="md-tabs__link">
  146. MKdocs中文教程
  147. </a>
  148. </li>
  149. <li class="md-tabs__item">
  150. <a href="../../../develop/Markdown/markdown/" class="md-tabs__link">
  151. 建设MKdocs技能指北
  152. </a>
  153. </li>
  154. <li class="md-tabs__item">
  155. <a href="../../../tag/" class="md-tabs__link">
  156. 标签
  157. </a>
  158. </li>
  159. <li class="md-tabs__item">
  160. <a href="../../../liuyanban/" class="md-tabs__link">
  161. 留言板
  162. </a>
  163. </li>
  164. <li class="md-tabs__item">
  165. <a href="../../" class="md-tabs__link">
  166. Blogger
  167. </a>
  168. </li>
  169. <li class="md-tabs__item">
  170. <a href="../../../about/link/" class="md-tabs__link">
  171. 友链
  172. </a>
  173. </li>
  174. <li class="md-tabs__item">
  175. <a href="../../../about/geren/" class="md-tabs__link">
  176. 关于
  177. </a>
  178. </li>
  179. </ul>
  180. </div>
  181. </nav>
  182. <main class="md-main" data-md-component="main">
  183. <div class="md-main__inner md-grid">
  184. <div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
  185. <div class="md-sidebar__scrollwrap">
  186. <div class="md-sidebar__inner">
  187. <nav class="md-nav md-nav--primary md-nav--lifted" aria-label="导航栏" data-md-level="0">
  188. <label class="md-nav__title" for="__drawer">
  189. <a href="../../.." title="Mkdocs-Wcowin中文主题" class="md-nav__button md-logo" aria-label="Mkdocs-Wcowin中文主题" data-md-component="logo">
  190. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54Z"/></svg>
  191. </a>
  192. Mkdocs-Wcowin中文主题
  193. </label>
  194. <div class="md-nav__source">
  195. <a href="https://github.com/Wcowin/Mkdocs-Wcowin" title="前往仓库" class="md-source" data-md-component="source">
  196. <div class="md-source__icon md-icon">
  197. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
  198. </div>
  199. <div class="md-source__repository">
  200. Mkdocs-Wcowin
  201. </div>
  202. </a>
  203. </div>
  204. <ul class="md-nav__list" data-md-scrollfix>
  205. <li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
  206. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_1" checked>
  207. <label class="md-nav__link" for="__nav_1" id="__nav_1_label" tabindex="">
  208. <span class="md-ellipsis">
  209. MKdocs中文教程
  210. </span>
  211. <span class="md-nav__icon md-icon"></span>
  212. </label>
  213. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_1_label" aria-expanded="true">
  214. <label class="md-nav__title" for="__nav_1">
  215. <span class="md-nav__icon md-icon"></span>
  216. MKdocs中文教程
  217. </label>
  218. <ul class="md-nav__list" data-md-scrollfix>
  219. <li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
  220. <input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_1_1" checked>
  221. <label class="md-nav__link" for="__nav_1_1" id="__nav_1_1_label" tabindex="">
  222. <span class="md-ellipsis">
  223. MKdocs教程
  224. </span>
  225. <span class="md-nav__icon md-icon"></span>
  226. </label>
  227. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_1_1_label" aria-expanded="true">
  228. <label class="md-nav__title" for="__nav_1_1">
  229. <span class="md-nav__icon md-icon"></span>
  230. MKdocs教程
  231. </label>
  232. <ul class="md-nav__list" data-md-scrollfix>
  233. <li class="md-nav__item md-nav__item--active">
  234. <input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
  235. <label class="md-nav__link md-nav__link--active" for="__toc">
  236. <span class="md-ellipsis">
  237. 利用mkdocs部署静态网页至GitHub pages
  238. </span>
  239. <span class="md-nav__icon md-icon"></span>
  240. </label>
  241. <a href="./" class="md-nav__link md-nav__link--active">
  242. <span class="md-ellipsis">
  243. 利用mkdocs部署静态网页至GitHub pages
  244. </span>
  245. </a>
  246. <nav class="md-nav md-nav--secondary" aria-label="目录">
  247. <label class="md-nav__title" for="__toc">
  248. <span class="md-nav__icon md-icon"></span>
  249. 目录
  250. </label>
  251. <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
  252. <li class="md-nav__item">
  253. <a href="#一准备工作重要" class="md-nav__link">
  254. 一、准备工作(重要)
  255. </a>
  256. </li>
  257. <li class="md-nav__item">
  258. <a href="#二creating-your-site" class="md-nav__link">
  259. 二、Creating your site
  260. </a>
  261. </li>
  262. <li class="md-nav__item">
  263. <a href="#三配置完善" class="md-nav__link">
  264. 三、配置完善
  265. </a>
  266. </li>
  267. <li class="md-nav__item">
  268. <a href="#快速开始" class="md-nav__link">
  269. 快速开始
  270. </a>
  271. </li>
  272. </ul>
  273. </nav>
  274. </li>
  275. <li class="md-nav__item">
  276. <a href="../mkdocs2/" class="md-nav__link">
  277. <span class="md-ellipsis">
  278. Mkdocs部署静态网页至GitHub pages配置说明(mkdocs.yml)
  279. </span>
  280. </a>
  281. </li>
  282. <li class="md-nav__item">
  283. <a href="../mkdocs3/" class="md-nav__link">
  284. <span class="md-ellipsis">
  285. 解决 mkdocs部署 Github Pages 自定义域名失效的问题
  286. </span>
  287. </a>
  288. </li>
  289. <li class="md-nav__item">
  290. <a href="../mkdocsblog/" class="md-nav__link">
  291. <span class="md-ellipsis">
  292. 网站添加Mkdocs博客
  293. </span>
  294. </a>
  295. </li>
  296. </ul>
  297. </nav>
  298. </li>
  299. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  300. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_1_2" >
  301. <label class="md-nav__link" for="__nav_1_2" id="__nav_1_2_label" tabindex="">
  302. <span class="md-ellipsis">
  303. Mkdocs美化
  304. </span>
  305. <span class="md-nav__icon md-icon"></span>
  306. </label>
  307. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_1_2_label" aria-expanded="false">
  308. <label class="md-nav__title" for="__nav_1_2">
  309. <span class="md-nav__icon md-icon"></span>
  310. Mkdocs美化
  311. </label>
  312. <ul class="md-nav__list" data-md-scrollfix>
  313. <li class="md-nav__item">
  314. <a href="../../websitebeauty/mkcomments/" class="md-nav__link">
  315. <span class="md-ellipsis">
  316. 添加评论系统(giscus为例)
  317. </span>
  318. </a>
  319. </li>
  320. <li class="md-nav__item">
  321. <a href="../../websitebeauty/webtalknow/" class="md-nav__link">
  322. <span class="md-ellipsis">
  323. 添加在线聊天
  324. </span>
  325. </a>
  326. </li>
  327. <li class="md-nav__item">
  328. <a href="../../websitebeauty/linktech/" class="md-nav__link">
  329. <span class="md-ellipsis">
  330. 添加友链
  331. </span>
  332. </a>
  333. </li>
  334. <li class="md-nav__item">
  335. <a href="../../websitebeauty/mkdocsfont/" class="md-nav__link">
  336. <span class="md-ellipsis">
  337. 修改网站字体
  338. </span>
  339. </a>
  340. </li>
  341. <li class="md-nav__item">
  342. <a href="../../websitebeauty/shubiao/" class="md-nav__link">
  343. <span class="md-ellipsis">
  344. JS实现鼠标样式
  345. </span>
  346. </a>
  347. </li>
  348. <li class="md-nav__item">
  349. <a href="../../websitebeauty/backgroud/" class="md-nav__link">
  350. <span class="md-ellipsis">
  351. 背景特效
  352. </span>
  353. </a>
  354. </li>
  355. </ul>
  356. </nav>
  357. </li>
  358. </ul>
  359. </nav>
  360. </li>
  361. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  362. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_2" >
  363. <label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="">
  364. <span class="md-ellipsis">
  365. 建设MKdocs技能指北
  366. </span>
  367. <span class="md-nav__icon md-icon"></span>
  368. </label>
  369. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
  370. <label class="md-nav__title" for="__nav_2">
  371. <span class="md-nav__icon md-icon"></span>
  372. 建设MKdocs技能指北
  373. </label>
  374. <ul class="md-nav__list" data-md-scrollfix>
  375. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  376. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_2_1" >
  377. <label class="md-nav__link" for="__nav_2_1" id="__nav_2_1_label" tabindex="">
  378. <span class="md-ellipsis">
  379. Markdown
  380. </span>
  381. <span class="md-nav__icon md-icon"></span>
  382. </label>
  383. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_1_label" aria-expanded="false">
  384. <label class="md-nav__title" for="__nav_2_1">
  385. <span class="md-nav__icon md-icon"></span>
  386. Markdown
  387. </label>
  388. <ul class="md-nav__list" data-md-scrollfix>
  389. <li class="md-nav__item">
  390. <a href="../../../develop/Markdown/markdown/" class="md-nav__link">
  391. <span class="md-ellipsis">
  392. Markdown指南
  393. </span>
  394. </a>
  395. </li>
  396. <li class="md-nav__item">
  397. <a href="../../../develop/Markdown/MWeb/" class="md-nav__link">
  398. <span class="md-ellipsis">
  399. MWeb Pro
  400. </span>
  401. </a>
  402. </li>
  403. </ul>
  404. </nav>
  405. </li>
  406. <li class="md-nav__item">
  407. <a href="../../../develop/git/" class="md-nav__link">
  408. <span class="md-ellipsis">
  409. Git 实用技巧
  410. </span>
  411. </a>
  412. </li>
  413. <li class="md-nav__item">
  414. <a href="../../../develop/lighthouse/" class="md-nav__link">
  415. <span class="md-ellipsis">
  416. 利用Lighthouse测试网站性能
  417. </span>
  418. </a>
  419. </li>
  420. <li class="md-nav__item">
  421. <a href="../../../develop/vercel/" class="md-nav__link">
  422. <span class="md-ellipsis">
  423. 如何将 github pages 迁移到 vercel 上托管
  424. </span>
  425. </a>
  426. </li>
  427. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  428. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_2_5" >
  429. <label class="md-nav__link" for="__nav_2_5" id="__nav_2_5_label" tabindex="">
  430. <span class="md-ellipsis">
  431. 设计美学
  432. </span>
  433. <span class="md-nav__icon md-icon"></span>
  434. </label>
  435. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_2_5_label" aria-expanded="false">
  436. <label class="md-nav__title" for="__nav_2_5">
  437. <span class="md-nav__icon md-icon"></span>
  438. 设计美学
  439. </label>
  440. <ul class="md-nav__list" data-md-scrollfix>
  441. <li class="md-nav__item">
  442. <a href="../../../develop/designbeauty/db1/" class="md-nav__link">
  443. <span class="md-ellipsis">
  444. 唐·诺曼—情感设计的三个层次
  445. </span>
  446. </a>
  447. </li>
  448. <li class="md-nav__item">
  449. <a href="../../../develop/designbeauty/my-to-desihn/" class="md-nav__link">
  450. <span class="md-ellipsis">
  451. 我对设计的一些观点
  452. </span>
  453. </a>
  454. </li>
  455. </ul>
  456. </nav>
  457. </li>
  458. </ul>
  459. </nav>
  460. </li>
  461. <li class="md-nav__item">
  462. <a href="../../../tag/" class="md-nav__link">
  463. <span class="md-ellipsis">
  464. 标签
  465. </span>
  466. </a>
  467. </li>
  468. <li class="md-nav__item">
  469. <a href="../../../liuyanban/" class="md-nav__link">
  470. <span class="md-ellipsis">
  471. 留言板
  472. </span>
  473. </a>
  474. </li>
  475. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  476. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5" >
  477. <div class="md-nav__link md-nav__container">
  478. <a href="../../" class="md-nav__link ">
  479. <span class="md-ellipsis">
  480. Blogger
  481. </span>
  482. </a>
  483. <label class="md-nav__link " for="__nav_5" id="__nav_5_label" tabindex="">
  484. <span class="md-nav__icon md-icon"></span>
  485. </label>
  486. </div>
  487. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
  488. <label class="md-nav__title" for="__nav_5">
  489. <span class="md-nav__icon md-icon"></span>
  490. Blogger
  491. </label>
  492. <ul class="md-nav__list" data-md-scrollfix>
  493. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  494. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5_2" >
  495. <label class="md-nav__link" for="__nav_5_2" id="__nav_5_2_label" tabindex="">
  496. <span class="md-ellipsis">
  497. 归档
  498. </span>
  499. <span class="md-nav__icon md-icon"></span>
  500. </label>
  501. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_2_label" aria-expanded="false">
  502. <label class="md-nav__title" for="__nav_5_2">
  503. <span class="md-nav__icon md-icon"></span>
  504. 归档
  505. </label>
  506. <ul class="md-nav__list" data-md-scrollfix>
  507. <li class="md-nav__item">
  508. <a href="../../archive/2023/" class="md-nav__link">
  509. <span class="md-ellipsis">
  510. 2023
  511. </span>
  512. </a>
  513. </li>
  514. </ul>
  515. </nav>
  516. </li>
  517. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  518. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_5_3" >
  519. <label class="md-nav__link" for="__nav_5_3" id="__nav_5_3_label" tabindex="">
  520. <span class="md-ellipsis">
  521. 分类
  522. </span>
  523. <span class="md-nav__icon md-icon"></span>
  524. </label>
  525. <nav class="md-nav" data-md-level="2" aria-labelledby="__nav_5_3_label" aria-expanded="false">
  526. <label class="md-nav__title" for="__nav_5_3">
  527. <span class="md-nav__icon md-icon"></span>
  528. 分类
  529. </label>
  530. <ul class="md-nav__list" data-md-scrollfix>
  531. <li class="md-nav__item">
  532. <a href="../../category/%E7%BD%91%E7%AB%99%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95/" class="md-nav__link">
  533. <span class="md-ellipsis">
  534. 网站更新记录
  535. </span>
  536. </a>
  537. </li>
  538. <li class="md-nav__item">
  539. <a href="../../category/hello/" class="md-nav__link">
  540. <span class="md-ellipsis">
  541. Hello
  542. </span>
  543. </a>
  544. </li>
  545. </ul>
  546. </nav>
  547. </li>
  548. </ul>
  549. </nav>
  550. </li>
  551. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  552. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_6" >
  553. <label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="">
  554. <span class="md-ellipsis">
  555. 友链
  556. </span>
  557. <span class="md-nav__icon md-icon"></span>
  558. </label>
  559. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
  560. <label class="md-nav__title" for="__nav_6">
  561. <span class="md-nav__icon md-icon"></span>
  562. 友链
  563. </label>
  564. <ul class="md-nav__list" data-md-scrollfix>
  565. <li class="md-nav__item">
  566. <a href="../../../about/link/" class="md-nav__link">
  567. <span class="md-ellipsis">
  568. 友链
  569. </span>
  570. </a>
  571. </li>
  572. </ul>
  573. </nav>
  574. </li>
  575. <li class="md-nav__item md-nav__item--section md-nav__item--nested">
  576. <input class="md-nav__toggle md-toggle md-toggle--indeterminate" type="checkbox" id="__nav_7" >
  577. <label class="md-nav__link" for="__nav_7" id="__nav_7_label" tabindex="">
  578. <span class="md-ellipsis">
  579. 关于
  580. </span>
  581. <span class="md-nav__icon md-icon"></span>
  582. </label>
  583. <nav class="md-nav" data-md-level="1" aria-labelledby="__nav_7_label" aria-expanded="false">
  584. <label class="md-nav__title" for="__nav_7">
  585. <span class="md-nav__icon md-icon"></span>
  586. 关于
  587. </label>
  588. <ul class="md-nav__list" data-md-scrollfix>
  589. <li class="md-nav__item">
  590. <a href="../../../about/geren/" class="md-nav__link">
  591. <span class="md-ellipsis">
  592. 作者个人简介
  593. </span>
  594. </a>
  595. </li>
  596. <li class="md-nav__item">
  597. <a href="../../../about/test/" class="md-nav__link">
  598. <span class="md-ellipsis">
  599. 功能测试
  600. </span>
  601. </a>
  602. </li>
  603. </ul>
  604. </nav>
  605. </li>
  606. </ul>
  607. </nav>
  608. </div>
  609. </div>
  610. </div>
  611. <div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
  612. <div class="md-sidebar__scrollwrap">
  613. <div class="md-sidebar__inner">
  614. <nav class="md-nav md-nav--secondary" aria-label="目录">
  615. <label class="md-nav__title" for="__toc">
  616. <span class="md-nav__icon md-icon"></span>
  617. 目录
  618. </label>
  619. <ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
  620. <li class="md-nav__item">
  621. <a href="#一准备工作重要" class="md-nav__link">
  622. 一、准备工作(重要)
  623. </a>
  624. </li>
  625. <li class="md-nav__item">
  626. <a href="#二creating-your-site" class="md-nav__link">
  627. 二、Creating your site
  628. </a>
  629. </li>
  630. <li class="md-nav__item">
  631. <a href="#三配置完善" class="md-nav__link">
  632. 三、配置完善
  633. </a>
  634. </li>
  635. <li class="md-nav__item">
  636. <a href="#快速开始" class="md-nav__link">
  637. 快速开始
  638. </a>
  639. </li>
  640. </ul>
  641. </nav>
  642. </div>
  643. </div>
  644. </div>
  645. <div class="md-content" data-md-component="content">
  646. <article class="md-content__inner md-typeset">
  647. <nav class="md-tags" >
  648. <a href="../../../tag/#mkdocs" class="md-tag">Mkdocs</a>
  649. </nav>
  650. <a href="https://github.com/Wcowin/Mkdocs-Wcowin/edit/main/docs/blog/Mkdocs/mkdocs1.md" title="编辑此页" class="md-content__button md-icon">
  651. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M10 20H6V4h7v5h5v3.1l2-2V8l-6-6H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h4v-2m10.2-7c.1 0 .3.1.4.2l1.3 1.3c.2.2.2.6 0 .8l-1 1-2.1-2.1 1-1c.1-.1.2-.2.4-.2m0 3.9L14.1 23H12v-2.1l6.1-6.1 2.1 2.1Z"/></svg>
  652. </a>
  653. <a href="https://github.com/Wcowin/Mkdocs-Wcowin/raw/main/docs/blog/Mkdocs/mkdocs1.md" title="查看本页的源代码" class="md-content__button md-icon">
  654. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17 18c.56 0 1 .44 1 1s-.44 1-1 1-1-.44-1-1 .44-1 1-1m0-3c-2.73 0-5.06 1.66-6 4 .94 2.34 3.27 4 6 4s5.06-1.66 6-4c-.94-2.34-3.27-4-6-4m0 6.5a2.5 2.5 0 0 1-2.5-2.5 2.5 2.5 0 0 1 2.5-2.5 2.5 2.5 0 0 1 2.5 2.5 2.5 2.5 0 0 1-2.5 2.5M9.27 20H6V4h7v5h5v4.07c.7.08 1.36.25 2 .49V8l-6-6H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h4.5a8.15 8.15 0 0 1-1.23-2Z"/></svg>
  655. </a>
  656. <h1>利用mkdocs部署静态网页至GitHub pages</h1>
  657. <div class="admonition info">
  658. <p class="admonition-title">Info</p>
  659. <p>官方网站:<a href="https://www.mkdocs.org/" target="“_blank”">MkDocs</a></p>
  660. <p>我的个人网站成果:<a href="http://wcowin.work/" target="“_blank”">http://wcowin.work/</a></p>
  661. </div>
  662. <h2 id="一准备工作重要">一、准备工作(重要)<a class="headerlink" href="#一准备工作重要" title="Permanent link"></a></h2>
  663. <p>1.下载<a href="https://github.com/desktop/desktop" target="“_blank”">Github Desktop</a> </p>
  664. <p>2.有一个GitHub账号​​​​​​​ </p>
  665. <p>3.打开电脑终端安装mkdocs: <code>pip install mkdocs-material</code></p>
  666. <hr />
  667. <h2 id="二creating-your-site">二、Creating your site<a class="headerlink" href="#二creating-your-site" title="Permanent link"></a></h2>
  668. <p>参考教程: </p>
  669. <p><a href="https://blog.csdn.net/m0_63203517/article/details/129755527?spm=1001.2014.3001.5501" target="“_blank”">利用mkdocs部署静态网页至GitHubpages(更新版)</a></p>
  670. <p>与其他教程不同,我首先建议先在Github创建一个名为你的名字+github.io的仓库(不是这个名字的仓库也可以,你需要类比一下)
  671. <img alt="img" src="https://cn.mcecy.com/image/20230324/51a12510e3b332b6ceea6827f40c1f2f.png" />
  672. <img alt="img" src="https://cn.mcecy.com/image/20230324/7f19bb393e39fb9add953ee19f9e2d91.png" /> </p>
  673. <p>然后打开github Desktop 克隆到本地
  674. <img alt="img" src="https://cn.mcecy.com/image/20230324/ff3682428cc987cad79625951ef6d7bc.png" />
  675. <img alt="img" src="https://cn.mcecy.com/image/20230324/e896de95bd6fa737e7c6c3fa21c079fb.png" />
  676. <img alt="img" src="https://cn.mcecy.com/image/20230324/791834a5ac01c95ef174ab77d47c0f3a.png" />
  677. <img alt="img" src="https://cn.mcecy.com/image/20230324/80430d0f8be7ea09368c3e63fe5a91ff.png" />
  678. 打开Wcowin.github.io目录进入终端运行:
  679. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-0-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1"></a>mkdocs new mkdocs-site
  680. </code></pre></div></td></tr></table></div>
  681. 出现下图的几个文件
  682. <img alt="img" src="https://cn.mcecy.com/image/20230324/2f3f28cb5ee726ac154102de2ffb43da.png" /></p>
  683. <p>docs文件下是以后网站的内容,mkdocs.yml是配置文件(配置主题,目录,插件等)</p>
  684. <p>你在这个目录下写的任何东西都可以通过github Desktop 上传到github上</p>
  685. <p>以VScode为例我们打开具体看看里面的东西</p>
  686. <p>(必须先执行下面的代码添加一个GitHub Workflow)</p>
  687. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-1-1">1</a></span>
  688. <span class="normal"><a href="#__codelineno-1-2">2</a></span>
  689. <span class="normal"><a href="#__codelineno-1-3">3</a></span>
  690. <span class="normal"><a href="#__codelineno-1-4">4</a></span>
  691. <span class="normal"><a href="#__codelineno-1-5">5</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1"></a>mkdir .github
  692. <a id="__codelineno-1-2" name="__codelineno-1-2"></a>cd .github
  693. <a id="__codelineno-1-3" name="__codelineno-1-3"></a>mkdir workflows
  694. <a id="__codelineno-1-4" name="__codelineno-1-4"></a>cd workflows
  695. <a id="__codelineno-1-5" name="__codelineno-1-5"></a>vim PublishMySite.yml
  696. </code></pre></div></td></tr></table></div>
  697. <p>在PublishMySite.yml里面输入以下内容</p>
  698. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-2-1"> 1</a></span>
  699. <span class="normal"><a href="#__codelineno-2-2"> 2</a></span>
  700. <span class="normal"><a href="#__codelineno-2-3"> 3</a></span>
  701. <span class="normal"><a href="#__codelineno-2-4"> 4</a></span>
  702. <span class="normal"><a href="#__codelineno-2-5"> 5</a></span>
  703. <span class="normal"><a href="#__codelineno-2-6"> 6</a></span>
  704. <span class="normal"><a href="#__codelineno-2-7"> 7</a></span>
  705. <span class="normal"><a href="#__codelineno-2-8"> 8</a></span>
  706. <span class="normal"><a href="#__codelineno-2-9"> 9</a></span>
  707. <span class="normal"><a href="#__codelineno-2-10">10</a></span>
  708. <span class="normal"><a href="#__codelineno-2-11">11</a></span>
  709. <span class="normal"><a href="#__codelineno-2-12">12</a></span>
  710. <span class="normal"><a href="#__codelineno-2-13">13</a></span>
  711. <span class="normal"><a href="#__codelineno-2-14">14</a></span>
  712. <span class="normal"><a href="#__codelineno-2-15">15</a></span>
  713. <span class="normal"><a href="#__codelineno-2-16">16</a></span>
  714. <span class="normal"><a href="#__codelineno-2-17">17</a></span>
  715. <span class="normal"><a href="#__codelineno-2-18">18</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1"></a>name: publish site
  716. <a id="__codelineno-2-2" name="__codelineno-2-2"></a>on: # 在什么时候触发工作流
  717. <a id="__codelineno-2-3" name="__codelineno-2-3"></a> push: # 在从本地main分支被push到GitHub仓库时
  718. <a id="__codelineno-2-4" name="__codelineno-2-4"></a> branches:
  719. <a id="__codelineno-2-5" name="__codelineno-2-5"></a> - main
  720. <a id="__codelineno-2-6" name="__codelineno-2-6"></a> pull_request: # 在main分支合并别人提的pr时
  721. <a id="__codelineno-2-7" name="__codelineno-2-7"></a> branches:
  722. <a id="__codelineno-2-8" name="__codelineno-2-8"></a> - main
  723. <a id="__codelineno-2-9" name="__codelineno-2-9"></a>jobs: # 工作流的具体内容
  724. <a id="__codelineno-2-10" name="__codelineno-2-10"></a> deploy:
  725. <a id="__codelineno-2-11" name="__codelineno-2-11"></a> runs-on: ubuntu-latest # 创建一个新的云端虚拟机 使用最新Ubuntu系统
  726. <a id="__codelineno-2-12" name="__codelineno-2-12"></a> steps:
  727. <a id="__codelineno-2-13" name="__codelineno-2-13"></a> - uses: actions/checkout@v2 # 先checkout到main分支
  728. <a id="__codelineno-2-14" name="__codelineno-2-14"></a> - uses: actions/setup-python@v2 # 再安装Python3和相关环境
  729. <a id="__codelineno-2-15" name="__codelineno-2-15"></a> with:
  730. <a id="__codelineno-2-16" name="__codelineno-2-16"></a> python-version: 3.x
  731. <a id="__codelineno-2-17" name="__codelineno-2-17"></a> - run: pip install mkdocs-material # 使用pip包管理工具安装mkdocs-material
  732. <a id="__codelineno-2-18" name="__codelineno-2-18"></a> - run: mkdocs gh-deploy --force # 使用mkdocs-material部署gh-pages分支
  733. </code></pre></div></td></tr></table></div>
  734. <div class="admonition 重点来了">
  735. <p class="admonition-title">重点来了</p>
  736. </div>
  737. <p>仓库setings/Actions/General 勾选这两项
  738. <img alt="" src="https://cn.mcecy.com/image/20231014/60f48ab66eea11b52f572b8fd489ea92.png" /></p>
  739. <p>目录树状图:
  740. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-3-1">1</a></span>
  741. <span class="normal"><a href="#__codelineno-3-2">2</a></span>
  742. <span class="normal"><a href="#__codelineno-3-3">3</a></span>
  743. <span class="normal"><a href="#__codelineno-3-4">4</a></span>
  744. <span class="normal"><a href="#__codelineno-3-5">5</a></span>
  745. <span class="normal"><a href="#__codelineno-3-6">6</a></span>
  746. <span class="normal"><a href="#__codelineno-3-7">7</a></span>
  747. <span class="normal"><a href="#__codelineno-3-8">8</a></span>
  748. <span class="normal"><a href="#__codelineno-3-9">9</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-3-1" name="__codelineno-3-1"></a>$ tree -a
  749. <a id="__codelineno-3-2" name="__codelineno-3-2"></a>.
  750. <a id="__codelineno-3-3" name="__codelineno-3-3"></a>├── .github
  751. <a id="__codelineno-3-4" name="__codelineno-3-4"></a>│ ├── .DS_Store
  752. <a id="__codelineno-3-5" name="__codelineno-3-5"></a>│ └── workflows
  753. <a id="__codelineno-3-6" name="__codelineno-3-6"></a>│ └── PublishMySite.yml
  754. <a id="__codelineno-3-7" name="__codelineno-3-7"></a>├── docs
  755. <a id="__codelineno-3-8" name="__codelineno-3-8"></a>│ └── index.md
  756. <a id="__codelineno-3-9" name="__codelineno-3-9"></a>└── mkdocs.yml
  757. </code></pre></div></td></tr></table></div></p>
  758. <h2 id="三配置完善">三、配置完善<a class="headerlink" href="#三配置完善" title="Permanent link"></a></h2>
  759. <p>打开终端运行 </p>
  760. <p><code>pip install mkdocs-material</code></p>
  761. <p>打开<strong>mkdocs.yml</strong> </p>
  762. <p>把以下的内容输入进去(最简单配置) </p>
  763. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-4-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-4-1" name="__codelineno-4-1"></a>site_name: 网站名字
  764. </code></pre></div></td></tr></table></div>
  765. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-5-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-5-1" name="__codelineno-5-1"></a>site_url: 网站链接
  766. </code></pre></div></td></tr></table></div>
  767. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-6-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-6-1" name="__codelineno-6-1"></a>site_author: 你的名字
  768. </code></pre></div></td></tr></table></div>
  769. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-7-1">1</a></span>
  770. <span class="normal"><a href="#__codelineno-7-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-7-1" name="__codelineno-7-1"></a>theme:
  771. <a id="__codelineno-7-2" name="__codelineno-7-2"></a> name: material #主题
  772. </code></pre></div></td></tr></table></div>
  773. <p>详细mkdocs.yml配置见<a href="https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/">Changing the colors - Material for MkDocs</a></p>
  774. <p><a href="https://blog.csdn.net/m0_63203517/article/details/127444446?spm=1001.2014.3001.5502">下次</a>我会具体谈谈这个问题</p>
  775. <hr />
  776. <p>在下方终端运行可以在浏览器看到实时网站
  777. <div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-8-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-8-1" name="__codelineno-8-1"></a>mkdocs serve
  778. </code></pre></div></td></tr></table></div>
  779. <img alt="img" src="https://cn.mcecy.com/image/20230324/f11af9fb64a8418181bc3655a88d8635.png" />
  780. <img alt="img" src="https://cn.mcecy.com/image/20230324/c745b71840c17d639e1ea144bc8c5732.png" /></p>
  781. <p>这个网站就算是初步建好了</p>
  782. <p>最后去github Desktop上传到github
  783. <img alt="img" src="https://cn.mcecy.com/image/20230324/53ad3fdbe7d05668b99a46780930845a.png" /></p>
  784. <div class="admonition 重点来了">
  785. <p class="admonition-title">重点来了</p>
  786. </div>
  787. <p>去setings/pages 选择下图示意的路径
  788. <img alt="" src="https://cn.mcecy.com/image/20231014/ac6d1bc1a236737a18d9dd6bd2bd97dc.png" /></p>
  789. <p>你的网站网址就是:​</p>
  790. <p><div class="highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-9-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-9-1" name="__codelineno-9-1"></a>https://你github的名字.github.io/ (根据仓库名改变)
  791. </code></pre></div></td></tr></table></div>
  792. <img alt="img" src="https://cn.mcecy.com/image/20230324/51a12510e3b332b6ceea6827f40c1f2f.png" /></p>
  793. <h2 id="快速开始">快速开始<a class="headerlink" href="#快速开始" title="Permanent link"></a></h2>
  794. <p>打开终端安装mkdocs<code>pip install mkdocs-material</code>,在你第二步克隆到本地的文件夹下(比如我的就是Wcowin.github.io这个文件夹)的终端执行<code>git@github.com:Wcowin/Mkdocs-Wcowin.git</code>克隆本模版,随后<code>mkdocs serve</code>即可</p>
  795. <p>下次谈谈网站的<a href="../mkdocs2/">mkdocs.yml具体配置</a></p>
  796. <div class="footnote">
  797. <hr />
  798. <ol>
  799. <li id="fn:注">
  800. <p>于2023.3.24重写此文&#160;<a class="footnote-backref" href="#fnref:注" title="Jump back to footnote 1 in the text">&#8617;</a></p>
  801. </li>
  802. </ol>
  803. </div>
  804. <!--
  805. Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
  806. Permission is hereby granted, free of charge, to any person obtaining a copy
  807. of this software and associated documentation files (the "Software"), to
  808. deal in the Software without restriction, including without limitation the
  809. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  810. sell copies of the Software, and to permit persons to whom the Software is
  811. furnished to do so, subject to the following conditions:
  812. The above copyright notice and this permission notice shall be included in
  813. all copies or substantial portions of the Software.
  814. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  815. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  816. FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
  817. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  818. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  819. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  820. IN THE SOFTWARE.
  821. -->
  822. <!-- Determine feedback configuration -->
  823. <!-- Determine whether to show feedback -->
  824. <!-- Was this page helpful? -->
  825. <form class="md-feedback" name="feedback" hidden>
  826. <fieldset>
  827. <legend class="md-feedback__title">
  828. 此页面有帮助吗?
  829. </legend>
  830. <div class="md-feedback__inner">
  831. <!-- Feedback ratings -->
  832. <div class="md-feedback__list">
  833. <button
  834. class="md-feedback__icon md-icon"
  835. type="submit"
  836. title="This page was helpful"
  837. data-md-value="1"
  838. >
  839. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 9v12H1V9h4m4 12a2 2 0 0 1-2-2V9c0-.55.22-1.05.59-1.41L14.17 1l1.06 1.06c.27.27.44.64.44 1.05l-.03.32L14.69 8H21a2 2 0 0 1 2 2v2c0 .26-.05.5-.14.73l-3.02 7.05C19.54 20.5 18.83 21 18 21H9m0-2h9.03L21 12v-2h-8.79l1.13-5.32L9 9.03V19Z"/></svg>
  840. </button>
  841. <button
  842. class="md-feedback__icon md-icon"
  843. type="submit"
  844. title="This page could be improved"
  845. data-md-value="0"
  846. >
  847. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 15V3h4v12h-4M15 3a2 2 0 0 1 2 2v10c0 .55-.22 1.05-.59 1.41L9.83 23l-1.06-1.06c-.27-.27-.44-.64-.44-1.06l.03-.31.95-4.57H3a2 2 0 0 1-2-2v-2c0-.26.05-.5.14-.73l3.02-7.05C4.46 3.5 5.17 3 6 3h9m0 2H5.97L3 12v2h8.78l-1.13 5.32L15 14.97V5Z"/></svg>
  848. </button>
  849. </div>
  850. <!-- Feedback rating notes (shown after submission) -->
  851. <div class="md-feedback__note">
  852. <div data-md-value="1" hidden>
  853. <!-- Determine title -->
  854. <!-- Replace {url} and {title} placeholders in note -->
  855. 谢谢你的反馈!
  856. </div>
  857. <div data-md-value="0" hidden>
  858. <!-- Determine title -->
  859. <!-- Replace {url} and {title} placeholders in note -->
  860. Thanks for your feedback! Help us improve this page by using our <a href="https://marketingplatform.google.com/about/analytics/" target="_blank" rel="noopener">feedback form</a>.
  861. </div>
  862. </div>
  863. </div>
  864. </fieldset>
  865. </form>
  866. <!--
  867. Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
  868. Permission is hereby granted, free of charge, to any person obtaining a copy
  869. of this software and associated documentation files (the "Software"), to
  870. deal in the Software without restriction, including without limitation the
  871. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  872. sell copies of the Software, and to permit persons to whom the Software is
  873. furnished to do so, subject to the following conditions:
  874. The above copyright notice and this permission notice shall be included in
  875. all copies or substantial portions of the Software.
  876. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  877. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  878. FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
  879. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  880. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  881. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  882. IN THE SOFTWARE.
  883. -->
  884. <!-- Comment system -->
  885. </article>
  886. </div>
  887. <script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var tab,labels=set.querySelector(".tabbed-labels");for(tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script>
  888. </div>
  889. <button type="button" class="md-top md-icon" data-md-component="top" hidden>
  890. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8v12Z"/></svg>
  891. 回到页面顶部
  892. </button>
  893. </main>
  894. <!--
  895. Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
  896. Permission is hereby granted, free of charge, to any person obtaining a copy
  897. of this software and associated documentation files (the "Software"), to
  898. deal in the Software without restriction, including without limitation the
  899. rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  900. sell copies of the Software, and to permit persons to whom the Software is
  901. furnished to do so, subject to the following conditions:
  902. The above copyright notice and this permission notice shall be included in
  903. all copies or substantial portions of the Software.
  904. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  905. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  906. FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
  907. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  908. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  909. FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  910. IN THE SOFTWARE.
  911. -->
  912. <!-- Footer -->
  913. <footer class="md-footer">
  914. <!-- Link to previous and/or next page -->
  915. <nav
  916. class="md-footer__inner md-grid"
  917. aria-label="页脚"
  918. >
  919. <!-- Link to previous page -->
  920. <!-- Link to next page -->
  921. <a
  922. href="../mkdocs2/"
  923. class="md-footer__link md-footer__link--next"
  924. aria-label="下一页: Mkdocs部署静态网页至GitHub pages配置说明(mkdocs.yml)"
  925. >
  926. <div class="md-footer__title">
  927. <span class="md-footer__direction">
  928. 下一页
  929. </span>
  930. <div class="md-ellipsis">
  931. Mkdocs部署静态网页至GitHub pages配置说明(mkdocs.yml)
  932. </div>
  933. </div>
  934. <div class="md-footer__button md-icon">
  935. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4Z"/></svg>
  936. </div>
  937. </a>
  938. </nav>
  939. <!-- Further information -->
  940. <div class="md-footer-meta md-typeset">
  941. <div class="md-footer-meta__inner md-grid">
  942. <div class="md-copyright">
  943. <div class="md-copyright__highlight">
  944. Copyright &copy; 2022~2023 Wcowin/All Rights Reserved.
  945. </div>
  946. Made with
  947. <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
  948. Material for MkDocs
  949. </a>
  950. </div>
  951. <!-- Social links -->
  952. <center>
  953. <footer>
  954. <a href="https://icp.gov.moe/?keyword=20230640" target="_blank">萌ICP备20230640号</a>
  955. </footer>
  956. </center>
  957. <div class="md-social">
  958. <a href="https://twitter.com/wcowin_" target="_blank" rel="noopener" title="twitter.com" class="md-social__link">
  959. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8l164.9-188.5L26.8 48h145.6l100.5 132.9L389.2 48zm-24.8 373.8h39.1L151.1 88h-42l255.3 333.8z"/></svg>
  960. </a>
  961. <a href="https://github.com/Wcowin" target="_blank" rel="noopener" title="github.com" class="md-social__link">
  962. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
  963. </a>
  964. <a href="mailto:<wangkewen821@gmail.com>" target="_blank" rel="noopener" title="" class="md-social__link">
  965. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M64 112c-8.8 0-16 7.2-16 16v22.1l172.5 141.6c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16h384c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128c0-35.3 28.7-64 64-64h384c35.3 0 64 28.7 64 64v256c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"/></svg>
  966. </a>
  967. <a href="https://space.bilibili.com/1407028951?spm_id_from=333.1007.0.0" target="_blank" rel="noopener" title="space.bilibili.com" class="md-social__link">
  968. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M488.6 104.1c16.7 18.1 24.4 39.7 23.3 65.7v202.4c-.4 26.4-9.2 48.1-26.5 65.1-17.2 17-39.1 25.9-65.5 26.7H92.02c-26.45-.8-48.21-9.8-65.28-27.2C9.682 419.4.767 396.5 0 368.2V169.8c.767-26 9.682-47.6 26.74-65.7C43.81 87.75 65.57 78.77 92.02 78h29.38L96.05 52.19c-5.75-5.73-8.63-13-8.63-21.79 0-8.8 2.88-16.06 8.63-21.797C101.8 2.868 109.1 0 117.9 0s16.1 2.868 21.9 8.603L213.1 78h88l74.5-69.397C381.7 2.868 389.2 0 398 0c8.8 0 16.1 2.868 21.9 8.603 5.7 5.737 8.6 12.997 8.6 21.797 0 8.79-2.9 16.06-8.6 21.79L394.6 78h29.3c26.4.77 48 9.75 64.7 26.1zm-38.8 69.7c-.4-9.6-3.7-17.4-10.7-23.5-5.2-6.1-14-9.4-22.7-9.8H96.05c-9.59.4-17.45 3.7-23.58 9.8-6.14 6.1-9.4 13.9-9.78 23.5v194.4c0 9.2 3.26 17 9.78 23.5s14.38 9.8 23.58 9.8H416.4c9.2 0 17-3.3 23.3-9.8 6.3-6.5 9.7-14.3 10.1-23.5V173.8zm-264.3 42.7c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.2 6.3-14 9.5-23.6 9.5-9.6 0-17.5-3.2-23.6-9.5-6.1-6.3-9.4-14-9.8-23.2v-33.3c.4-9.1 3.8-16.9 10.1-23.2 6.3-6.3 13.2-9.6 23.3-10 9.2.4 17 3.7 23.3 10zm191.5 0c6.3 6.3 9.7 14.1 10.1 23.2V273c-.4 9.2-3.7 16.9-9.8 23.2-6.1 6.3-14 9.5-23.6 9.5-9.6 0-17.4-3.2-23.6-9.5-7-6.3-9.4-14-9.7-23.2v-33.3c.3-9.1 3.7-16.9 10-23.2 6.3-6.3 14.1-9.6 23.3-10 9.2.4 17 3.7 23.3 10z"/></svg>
  969. </a>
  970. </div>
  971. </div>
  972. </div>
  973. </footer>
  974. </div>
  975. <div class="md-dialog" data-md-component="dialog">
  976. <div class="md-dialog__inner md-typeset"></div>
  977. </div>
  978. <script id="__config" type="application/json">{"base": "../../..", "features": ["announce.dismiss", "navigation.tracking", "navigation.tabs", "navigation.sections", "navigation.top", "navigation.footer", "search.suggest", "search.highlight", "search.share", "navigation.expand", "navigation.indexes", "content.tabs.link", "content.tooltips", "content.code.copy", "content.action.edit", "content.action.view", "content.code.annotate"], "search": "../../../assets/javascripts/workers/search.a264c092.min.js", "translations": {"clipboard.copied": "\u5df2\u590d\u5236", "clipboard.copy": "\u590d\u5236", "search.result.more.one": "\u5728\u8be5\u9875\u4e0a\u8fd8\u6709 1 \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.more.other": "\u5728\u8be5\u9875\u4e0a\u8fd8\u6709 # \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.none": "\u6ca1\u6709\u627e\u5230\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.one": "\u627e\u5230 1 \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.other": "# \u4e2a\u7b26\u5408\u6761\u4ef6\u7684\u7ed3\u679c", "search.result.placeholder": "\u952e\u5165\u4ee5\u5f00\u59cb\u641c\u7d22", "search.result.term.missing": "\u7f3a\u5c11", "select.version": "\u9009\u62e9\u5f53\u524d\u7248\u672c"}}</script>
  979. <script src="../../../assets/javascripts/bundle.726fbb30.min.js"></script>
  980. <script src="../../../javascripts/extra.js"></script>
  981. <script src="../../../javascripts/mathjax.js"></script>
  982. <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
  983. <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
  984. <script src="../../../ckplayer/js/ckplayer.js"></script>
  985. <script src="https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.min.js"></script>
  986. <script src="https://cdn.jsdelivr.net/npm/mermaid@10.0.2/dist/add-html-label-6e56ed67.min.js"></script>
  987. <script src="../../../assets/javascripts/custom.9458f965.min.js"></script>
  988. </body>
  989. </html>