Skip to content

Commit

Permalink
use wabook
Browse files Browse the repository at this point in the history
  • Loading branch information
chai2010 committed Aug 13, 2024
1 parent dbdfa93 commit 56bbafb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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*

----

Expand Down
2 changes: 1 addition & 1 deletion book.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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>"

Expand Down

0 comments on commit 56bbafb

Please sign in to comment.