diff --git a/Makefile b/Makefile index 825e0d8..dcaee15 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ all: html $(FORMATS) html: gitbook build . $(TARGET)_html + tar -zcf $(TARGET)_html.tar.gz ./$(TARGET)_html/ $(FORMATS): gitbook $@ . $(TARGET).$@ @@ -18,4 +19,4 @@ format: @prettier -wu $(shell find * -type f -name '*.md') clean: - rm -rf $(TARGET)_html $(addprefix $(TARGET)., $(FORMATS)) + rm -rf $(TARGET)_html $(TARGET)_html.tar.gz $(addprefix $(TARGET)., $(FORMATS)) diff --git a/book.json b/book.json index 5ab3e67..88e1e87 100644 --- a/book.json +++ b/book.json @@ -1,14 +1,6 @@ { - "pdf": { - "toc": true, - "pageNumbers": true, - "fontSize": 14, - "paperSize": "a4", - "margin": { - "right": 62, - "left": 62, - "top": 48, - "bottom": 48 - } - } + "title": "Slackware 中文手册", + "author": "The Slackware Linux CN Community", + "description": "本书是 Slackbook 的中文版", + "language": "zh-hans" }