mirror of
				https://github.com/gopl-zh/gopl-zh.github.com.git
				synced 2025-10-31 02:03:13 +00:00 
			
		
		
		
	use wabook
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/book.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/book.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||||
|   | |||||||
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							| @@ -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 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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* | ||||||
|  |  | ||||||
| ---- | ---- | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								book.ini
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								book.ini
									
									
									
									
									
								
							| @@ -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>" | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user