use wabook

master
chai2010 2024-08-13 08:15:19 +08:00
parent dbdfa93bc1
commit 56bbafbd08
4 changed files with 8 additions and 8 deletions

View File

@ -26,8 +26,8 @@ jobs:
- run: go version
- run: go env
- run: go install github.com/wa-lang/mnbook@latest
- run: mnbook build
- run: go install github.com/wa-lang/wabook@latest
- run: wabook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3

View File

@ -3,16 +3,16 @@
# license that can be found in the LICENSE file.
#
# MnBook: Mini Markdown Book
# https://github.com/wa-lang/mnbook
# WaBook: Mini Markdown Book
# https://github.com/wa-lang/wabook
#
default:
mnbook serve
wabook serve
build:
-rm book
mnbook build
wabook build
-rm book/.gitignore
-rm -rf book/.git

View File

@ -1,7 +1,7 @@
# Go语言圣经中文版
- *凹语言(专为 WebAssembly 设计): https://github.com/wa-lang/wa*
- *MnBook(Go语言实现的MD电子书构建工具): https://github.com/wa-lang/mnbook*
- *WaBook(Go语言实现的MD电子书构建工具): https://github.com/wa-lang/wabook*
----

View File

@ -13,7 +13,7 @@ src = "."
build-dir = "book"
[custom]
content_header = "<ul dir=\"auto\"><li><em>凹语言(Go实现, 面向WASM设计): <a href=\"https://github.com/wa-lang/wa\">https://github.com/wa-lang/wa</a></em></li><li><em>MnBook(Go语言实现的MD电子书构建工具): <a href=\"https://github.com/wa-lang/mnbook\">https://github.com/wa-lang/mnbook</a></em></li></ul><hr>"
content_header = "<ul dir=\"auto\"><li><em>凹语言(Go实现, 面向WASM设计): <a href=\"https://github.com/wa-lang/wa\">https://github.com/wa-lang/wa</a></em></li><li><em>WaBook(Go语言实现的MD电子书构建工具): <a href=\"https://github.com/wa-lang/wabook\">https://github.com/wa-lang/wabook</a></em></li></ul><hr>"
content_footer = "<hr><table><tr><td><img width=\"222px\" src=\"https://chai2010.cn/advanced-go-programming-book/css.png\"></td><td><img width=\"222px\" src=\"https://chai2010.cn/advanced-go-programming-book/cch.png\"></td></tr></table>"
page_footer = "<span>© 2015-2016 | <a href=\"https://github.com/gopl-zh\"> Go语言圣经中文版</a>, 仅学习交流使用</span>"