diff --git a/Makefile b/Makefile index 5239fcb..e0c85d2 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,14 @@ +default: dev -default: doc +d:dev +dev: + hugo serve -# serve document with docsify (or python) -doc: - bin/doc +b:build +build: + hugo build + +.PHONY: default d dev b build # generate zh-tw version translate: diff --git a/hugo.yaml b/hugo.yaml index dc2e056..67ec01b 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -101,20 +101,20 @@ menu: type: separator weight: 6 - identifier: pgint - name: "PG Internal 中文版 ↗" + name: "PostgreSQL 内幕探索 ↗" url: "https://pgint.vonng.com/" weight: 7 - identifier: pgint14 - name: "PG Internal 14 中文版 ↗" + name: "PostgreSQL 内参 ↗" url: "https://postgres-internals.cn/" weight: 8 - identifier: pigsty - name: "Pigsty Docs ↗" - url: "https://pgsty.com" + name: "Pigsty 文档 ↗" + url: "https://pgsty.com/zh" weight: 9 - identifier: pgext - name: "PG Extensions ↗" - url: "https://ext.pgsty.com" + name: "PG 扩展目录 ↗" + url: "https://ext.pgsty.com/zh" weight: 10 params: