From 5bdf8ced695eacfb8505a647ddd963f0e8c607af Mon Sep 17 00:00:00 2001 From: xihale Date: Sun, 12 Jan 2025 14:57:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0README=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A2=84=E8=A7=88=E4=BE=9D=E8=B5=96=E5=92=8C?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E6=9C=8D=E5=8A=A1=E5=99=A8=E7=9A=84=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.org | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index ea92785..a76b0be 100644 --- a/README.org +++ b/README.org @@ -24,7 +24,13 @@ Zig Chinese Community is dedicated to sharing and spreading the use of Zig language among Chinese users. #+end_quote -本网站使用 [[https://gohugo.io/][hugo]](extended 版本)与 [[https://www.docsy.dev/][docsy]] 主题进行构建, =hugo serve= 可进行本地预览。 +本网站使用 [[https://gohugo.io/][hugo]](extended 版本)与 [[https://www.docsy.dev/][docsy]] 主题进行构建。 +预览之前请确保已安装必要的 =postcss= 依赖 +#+begin_src bash +# install depends +npm i -D postcss postcss-cli autoprefixer +#+end_src + #+begin_src bash # For macOS brew install hugo @@ -36,3 +42,8 @@ sudo pacman -S hugo # Snap sudo snap install hugo #+end_src + +#+begin_src bash +# run server +hugo server +#+end_src