use wabook

This commit is contained in:
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 version
- run: go env - run: go env
- run: go install github.com/wa-lang/mnbook@latest - run: go install github.com/wa-lang/wabook@latest
- run: mnbook build - run: wabook build
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3

View File

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

View File

@ -1,7 +1,7 @@
# Go语言圣经中文版 # Go语言圣经中文版
- *凹语言(专为 WebAssembly 设计): https://github.com/wa-lang/wa* - *凹语言(专为 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" build-dir = "book"
[custom] [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>" 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>" page_footer = "<span>© 2015-2016 | <a href=\"https://github.com/gopl-zh\"> Go语言圣经中文版</a>, 仅学习交流使用</span>"