Mkdocs-Wcowin/模板.md
2023-10-14 03:17:27 +08:00

44 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 标题
# 隐藏的模块
hide:
# - navigation # 隐藏左边导航
# - toc #隐藏右边导航
# - footer #隐藏翻页
# - feedback #隐藏反馈
tags:
-
comments: false #评论,默认不开启
---
```git
git init // 初始化本地仓库
git config --global user.name "myname" // 配置用户名
git config --global user.email "myname@mymail.com" //配置邮箱
git remote add origin code@github.git //绑定本地和远程仓库
git pull // 拉取远程仓库的变化来同步本地的状态
git add // 确认本地仓库的变化到本地缓存区
git commit // 确认本地缓存区的内容可以准备push
git push // 提交本地仓库到远程仓库
git status // 确定本地缓存区的状态
```
//安装mkdocs
pip install mkdocs-material
//更新mkdocs
pip install --upgrade --force-reinstall mkdocs-material
//完成编辑后,您可以使用以下命令从 Markdown 文件构建静态站点:
mkdocs build --clean
//新标签打开
{target=“_blank”}
示例:[Wcowin's web](https://wcowin.work/){target=“_blank”}