From 1e02ba92c9fb6d010ee0becfcd1f109e19457f2a Mon Sep 17 00:00:00 2001
From: jaywcjlove <398188662@qq.com>
Date: Fri, 15 Apr 2022 23:17:29 +0800
Subject: [PATCH] website: use idoc build.
---
.gitignore | 26 ++++++++++++++++++++++++++
README.md | 19 +++++++++++++++++++
git.svg | 2 ++
idoc.yml | 8 ++++++++
package.json | 21 ++++++++++++---------
5 files changed, 67 insertions(+), 9 deletions(-)
create mode 100644 .gitignore
create mode 100644 git.svg
create mode 100644 idoc.yml
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f90b4c0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,26 @@
+dist
+node_modules
+
+npm-debug.log*
+lerna-debug.log
+yarn-error.log
+package-lock.json
+
+
+.DS_Store
+.cache
+.vscode
+.idea
+
+*.bak
+*.tem
+*.temp
+#.swp
+*.*~
+~*.*
+
+# IDEA
+*.iml
+*.ipr
+*.iws
+.idea/
\ No newline at end of file
diff --git a/README.md b/README.md
index 7acc3be..fbe8503 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,14 @@
+
Git Tips
===
+
[![Gitee Tips](https://jaywcjlove.github.io/sb/ico/gitee.svg)](https://jaywcjlove.gitee.io/git-tips/)
+[![CI](https://github.com/jaywcjlove/git-tips/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/git-tips/actions/workflows/ci.yml)
一些使用技巧和笔记笔记,记录一些 git 常用和一些记不住的命令,这个笔记原本是基于 [颜海镜的文章](http://yanhaijing.com/git/2014/11/01/my-git-note)增加的,后面慢慢增加了许多内容,独立一个仓库维护,方便查询和使用。
+
目录
===
@@ -97,6 +101,7 @@ Git Tips
- [参考资料](#参考资料)
+
## 安装卸载
@@ -1353,3 +1358,17 @@ sudo chown -R yourname:yourgroup *
- [Git进阶用法,主要是rebase高级用法](http://way.oschina.io/2016/12/15/notes/GitAdvance/?utm_source=gank.io&utm_medium=email)
- [成为一个git大师](https://www.atlassian.com/git/tutorials)
- [高质量的Git中文教程](https://github.com/geeeeeeeeek/git-recipes)
+
+## Contributors
+
+As always, thanks to our amazing contributors!
+
+
+
+
+
+Made with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).
+
+## License
+
+MIT © [Kenny Wong](https://github.com/jaywcjlove)
diff --git a/git.svg b/git.svg
new file mode 100644
index 0000000..9b2e328
--- /dev/null
+++ b/git.svg
@@ -0,0 +1,2 @@
+
\ No newline at end of file
diff --git a/idoc.yml b/idoc.yml
new file mode 100644
index 0000000..8d6c0c5
--- /dev/null
+++ b/idoc.yml
@@ -0,0 +1,8 @@
+site: Git Tips
+title: Git 的一些使用技巧和笔记
+keywords: git,tips,handbook
+logo: ./git.svg
+favicon: ./git.svg
+editButton:
+ label: Edit this page on GitHub
+ url: https://github.com/jaywcjlove/git-tips/blob/master/
\ No newline at end of file
diff --git a/package.json b/package.json
index e54d382..334ad14 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,15 @@
{
- "markdown-to-html": {
- "document": {
- "title": "Git Tips 的一些使用技巧和笔记",
- "meta": [
- { "description": "一些使用技巧和笔记笔记,记录一些 git 常用和一些记不住的命令" },
- { "keywords": "git,tips,handbook" }
- ]
- },
- "github-corners": "https://github.com/jaywcjlove/git-tips"
+ "name": "git-tips",
+ "version": "1.0.0",
+ "scripts": {
+ "start": "idoc --watch",
+ "build": "idoc"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/jaywcjlove/git-tips.git"
+ },
+ "dependencies": {
+ "idoc": "^1.3.0"
}
}
\ No newline at end of file