docs: 更新文档配置并添加启动脚本

- 修改 mkdocs.yml 文件,调整文档结构和主题设置
- 新增 start.py脚本,用于启动 MkDocs服务器
This commit is contained in:
sairate 2025-05-29 20:10:53 +08:00
parent 8aa053a45a
commit ee8cb6e71f
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 KiB

View File

@ -6,7 +6,7 @@ body::before {
left: 0; left: 0;
height: 100%; height: 100%;
width: 100%; width: 100%;
background-image: url("../images/wallhaven-o35exm.jpg"); /* 替换为你的图片路径 */ background-image: url("../images/wallhaven-o35exm.webp"); /* 替换为你的图片路径 */
background-size: cover; background-size: cover;
background-position: center; background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;

View File

@ -2,5 +2,5 @@
const preloadLink = document.createElement("link"); const preloadLink = document.createElement("link");
preloadLink.rel = "preload"; preloadLink.rel = "preload";
preloadLink.as = "image"; preloadLink.as = "image";
preloadLink.href = "/images/wallhaven-o35exm.jpg"; // 替换为你的图片路径 preloadLink.href = "/images/wallhaven-o35exm.webp"; // 替换为你的图片路径
document.head.appendChild(preloadLink); document.head.appendChild(preloadLink);