Skip to content

Commit

Permalink
Add missing book metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Arondight committed May 23, 2023
1 parent c2b6b7e commit 849c282
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ all: html $(FORMATS)

html:
gitbook build . $(TARGET)_html
tar -zcf $(TARGET)_html.tar.gz ./$(TARGET)_html/

$(FORMATS):
gitbook $@ . $(TARGET).$@
Expand All @@ -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))
16 changes: 4 additions & 12 deletions book.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 849c282

Please sign in to comment.