mirror of
https://github.com/Wcowin/Mkdocs-Wcowin.git
synced 2025-07-20 17:06:34 +00:00
161 lines
6.1 KiB
Markdown
161 lines
6.1 KiB
Markdown
# Wcowin for MkDocs主题
|
||
|
||
**- 基于Material for MkDocs美化**
|
||
**- 简洁美观,功能多元化**
|
||
**- 可自定义样式,中文教程详细**
|
||
**- 简单易上手,小白配置**
|
||
**- 𝕙𝕒𝕧𝕖 𝕒 𝕘𝕠𝕠𝕕 𝕥𝕚𝕞𝕖 !**
|
||
|
||
## 目录
|
||
- [Wcowin for MkDocs主题](#wcowin-for-mkdocs主题)
|
||
- [目录](#目录)
|
||
- [展示](#展示)
|
||
- [如何快速使用](#如何快速使用)
|
||
- [视频教程](#视频教程)
|
||
- [Connect with me](#connect-with-me)
|
||
- [案例成果](#案例成果)
|
||
- [Star History](#star-history)
|
||
- [贡献者](#贡献者)
|
||
- [请作者喝杯咖啡](#请作者喝杯咖啡)
|
||
- [License](#license)
|
||
|
||
## 展示
|
||
|
||
<center>
|
||
|
||
**主页**
|
||

|
||
|
||
**文章页**
|
||

|
||
|
||
**博客页**
|
||

|
||
|
||
**关于**
|
||
<img width="1355" alt="image" src="https://github.com/Wcowin/Mkdocs-Wcowin/assets/99159173/bfc10737-260c-44c7-b036-8c7dba52be24">
|
||
|
||
|
||
**标签页**
|
||

|
||
|
||
**简洁的友链页面**
|
||

|
||
|
||
**页面底部**
|
||
<img width="1363" alt="image" src="https://github.com/Wcowin/Mkdocs-Wcowin/assets/99159173/ac4db87b-396a-4d0e-99b5-51a1b316db33">
|
||
|
||
**Lighthouse测试结果**
|
||
<img width="1363" alt="image" src="https://pic3.zhimg.com/80/v2-afef47cac915ad51071fdc2f6d990b30_1440w.webp">
|
||
|
||
<img width="1363" alt="image" src="https://s2.loli.net/2025/02/13/M7dgcDiGOI28PQs.png">
|
||
|
||
</center>
|
||
|
||
## 如何快速使用
|
||
|
||
首先,建议在虚拟环境下安装 mkdocs-material:
|
||
|
||
```bash
|
||
pip install mkdocs-material
|
||
```
|
||
|
||
**方法一:**
|
||
直接下载[releases](https://github.com/Wcowin/Mkdocs-Wcowin/releases)里的`Wcowin-for-MkDocs.zip`文件,解压到你本地的文件夹下,随后在文件目录终端里`mkdocs serve`即可
|
||
|
||
**方法二:**
|
||
在你本地的文件夹下(我的就是Wcowin.github.io这个文件夹)的终端执行`git clone git@github.com:Wcowin/Mkdocs-Wcowin.git`克隆本模版到本地
|
||
|
||
把克隆下来文件里的东西全部复制出来到Wcowin.github.io文件里(如下图),随后在Wcowin.github.io文件目录终端里`mkdocs serve`即可运行,另一种运行方法:根目录有一个`Mkdocs-serve.bat`批处理文件,直接双击即可(仅在Windows系统下有效)
|
||

|
||
|
||
!注意:如果提示未安装git-committers等插件,在终端执行`pip install git-committers`即可,缺少什么就安装什么,直接执行`pip install -r requirements.txt`也可以安装所有插件
|
||
|
||
初步教程见:[利用Mkdocs部署静态网页至GitHubpages](快速开始.md)
|
||
|
||
## 视频教程
|
||
|
||
[Mkdocs中文教程视频](https://space.bilibili.com/1407028951/lists/4566631?type=series)(手把手教学,首次使用MKdocs建议观看)
|
||
|
||
# Connect with me
|
||
|
||
<center>
|
||
|
||
**Wechat**
|
||
<a href="https://pic3.zhimg.com/80/v2-5ef3dde831c9d0a41fe35fabb0cb8784_1440w.webp" target="_blank">
|
||
<center>
|
||
<img src="https://pic3.zhimg.com/80/v2-5ef3dde831c9d0a41fe35fabb0cb8784_1440w.webp" style="width: 450px; height: auto;">
|
||
</center>
|
||
</a>
|
||
|
||
**Telegram**
|
||
|
||
<a href="https://t.me/wecowin" target="_blank" >
|
||
<center>
|
||
<img src="https://pica.zhimg.com/80/v2-d5876bc0c8c756ecbba8ff410ed29c14_1440w.webp" style="width: 450px; height: auto;">
|
||
</center>
|
||
</a>
|
||
|
||
</center>
|
||
|
||
|
||
## 案例成果
|
||
|
||
[Lenny's Web](https://lennychen.top)
|
||
[苍镜月's docs](https://pale-illusions.github.io/my-mkdocs/)
|
||
[世界天光的笔记本](https://lastwish.icu/)
|
||
[Wen-Chieh Lee的生活](https://wenchiehlee.github.io/mkdocs-life/)
|
||
[BruceJin's Notebook](https://brucejqs.github.io/MyNotebook/)
|
||
[0X10CC的代码空间](https://tang-jiapeng.github.io/)
|
||
[GENG Wei's Homepage](https://wgeng.site/index.html)
|
||
|
||
谢谢你们~
|
||
|
||
## Star History
|
||
|
||
[](https://star-history.com/#Wcowin/Mkdocs-Wcowin&Date)
|
||
|
||

|
||
|
||
## 贡献者
|
||
<a href="https://github.com/Wcowin/Mkdocs-Wcowin/graphs/contributors">
|
||
<img src="https://contrib.rocks/image?repo=Wcowin/Mkdocs-Wcowin" />
|
||
</a>
|
||
|
||
[](https://squidfunk.github.io/mkdocs-material/)
|
||
|
||
<!-- ## 版权声明
|
||
|
||
本作品采用[知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh-hans)进行许可。 -->
|
||
## 请作者喝杯咖啡
|
||
|
||
<a href="https://pic2.zhimg.com/80/v2-4384c32173a239a1609309aa1b1ee9f9_1440w.webp" target="_blank">
|
||
<center>
|
||
<img src="https://pic2.zhimg.com/80/v2-4384c32173a239a1609309aa1b1ee9f9_1440w.webp" style="width: 450px; height: auto;">
|
||
</center>
|
||
</a>
|
||
|
||
|
||
## License
|
||
|
||
**MIT License**
|
||
|
||
Copyright (c) 2022-2025 Wang Kewen
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||
of this software and associated documentation files (the "Software"), to
|
||
deal in the Software without restriction, including without limitation the
|
||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||
sell copies of the Software, and to permit persons to whom the Software is
|
||
furnished to do so, subject to the following conditions:
|
||
|
||
The above copyright notice and this permission notice shall be included in
|
||
all copies or substantial portions of the Software.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||
IN THE SOFTWARE. |