Skip to content

Commit 2dc60a4

Browse files
committed
add replacement
1 parent ec1152f commit 2dc60a4

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

gitbook/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
include .env
2+
3+
config:
4+
vim .env
5+
init:
6+
sed -i 's/OWNER/$(OWNER)/g' README.md
7+
sed -i 's/REPO/$(REPO)/g' README.md
8+
sed -i 's/REPO/$(REPO)/g' SUMMARY.md

gitbook/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[back to github](https://github.com/[OWNER]]/[REPO])
1+
[back to github](https://github.com/OWNER/REPO)

gitbook/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SUMMARY
22

3-
* [Introduction to XXX](README.md)
3+
* [Introduction to REPO](README.md)
44

55
### Quick Start
66
* [Prerequisite](qs/prerequisite.md)

0 commit comments

Comments
 (0)