-
Notifications
You must be signed in to change notification settings - Fork 996
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #611 from jiangzhonglian/main
完善网站 SEO
- Loading branch information
Showing
11 changed files
with
24 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
site | ||
tmp | ||
logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# 编译脚本 - 当前使用 | ||
image: python:alpine | ||
|
||
before_script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "themes_material"] | ||
path = themes_material | ||
url = https://gitlab.com/apachecn/themes_material.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
sum=0 | ||
while : | ||
do | ||
echo "开始拉取最新代码" | ||
# git remote add origin_online https://github.com/apachecn/pytorch-doc-zh.git | ||
git pull origin_online master | ||
git push origin main | ||
sum=`expr $sum + 1` | ||
# 1个小时 | ||
echo $(date "+%Y-%m-%d %H:%M:%S") " --- 更新次数: $sum" >> logs/info.log | ||
sleep 10 | ||
done | ||
|
||
echo "$(date) The sum is: $sum" |
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Submodule themes_material
added at
bfc37d
b44993b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pytorch-doc-zh – ./
pytorch-doc-zh-apachecn.vercel.app
pytorch-doc-zh.vercel.app
pytorch-doc-zh-git-master-apachecn.vercel.app