6 Star 13 Fork 54

野火IM/docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
abilitytest
md
_layouts/website
admin
agreement_privacy
android
api
architecture
base_knowledge
blogs
commercial_server
demo
faq
homepage
ios
moments
open
opensource
pc
performance_test
price
quick_start
server
tools
trial
web
webrtc
.gitignore
README.md
SUMMARY.md
book.json
favicon.ico
hello.pcap
package-lock.json
publish.sh
pricing-calculator
trickle-ice
wstool
.gitignore
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
publish.sh 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
heavyrian2012 提交于 8个月前 . update
set -e
gitbook build
mv _book docs
gitbook pdf . 野火IM开发文档.pdf
mkdir -p docs/pdf
mv 野火IM开发文档.pdf docs/pdf
cp -af ../trickle-ice docs/webrtc/
cp -af ../abilitytest docs/webrtc/
cp -af ../wstool docs/web/
cp -af ../pricing-calculator docs/price/
system=`uname`
if [ "$system" == "Darwin" ]; then
find docs/ -type f -name "*.html" -exec sed -i '' 's|https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css|https://static.wildfirechat.cn/bootstrap-3.3.7.min.css|g' {} \;
find docs/ -type f -name "*.html" -exec sed -i '' 's|https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js|https://static.wildfirechat.cn/bootstrap-3.3.7.min.js|g' {} \;
else
find docs/ -type f -name "*.html" -exec sed -i 's|https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css|https://static.wildfirechat.cn/bootstrap-3.3.7.min.css|g' {} \;
find docs/ -type f -name "*.html" -exec sed -i 's|https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js|https://static.wildfirechat.cn/bootstrap-3.3.7.min.js|g' {} \;
fi
tar -czvf docs.tar.gz docs
scp docs.tar.gz wfccn:/var/wildfirechat_sites/
ssh wfccn 'cd /var/wildfirechat_sites; rm -rf docs; tar -xzvf docs.tar.gz; rm -rf docs.tar.gz'
rm -rf docs docs.tar.gz
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wfchat/docs.git
git@gitee.com:wfchat/docs.git
wfchat
docs
docs
master

搜索帮助