docs: 更新文档配置并添加启动脚本
- 修改 mkdocs.yml 文件,调整文档结构和主题设置 - 新增 start.py脚本,用于启动 MkDocs服务器
This commit is contained in:
parent
8aa053a45a
commit
ee8cb6e71f
BIN
docs/images/wallhaven-o35exm.webp
Normal file
BIN
docs/images/wallhaven-o35exm.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 428 KiB |
@ -6,7 +6,7 @@ body::before {
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-image: url("../images/wallhaven-o35exm.jpg"); /* 替换为你的图片路径 */
|
||||
background-image: url("../images/wallhaven-o35exm.webp"); /* 替换为你的图片路径 */
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
const preloadLink = document.createElement("link");
|
||||
preloadLink.rel = "preload";
|
||||
preloadLink.as = "image";
|
||||
preloadLink.href = "/images/wallhaven-o35exm.jpg"; // 替换为你的图片路径
|
||||
preloadLink.href = "/images/wallhaven-o35exm.webp"; // 替换为你的图片路径
|
||||
document.head.appendChild(preloadLink);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user