Skip to content

zigcc/zigcc.github.io

Repository files navigation

https://github.com/zigcc/zigcc.github.io/actions/workflows/gh-pages.yml/badge.svg

Zig 语言中文社区

Zig Chinese Community is dedicated to sharing and spreading the use of Zig language among Chinese users.

本网站使用 hugo(extended 版本)与 docsy 主题进行构建。

# For macOS
brew install hugo
# For Debian
sudo apt install hugo
# For Arch
sudo pacman -S hugo

# Snap
sudo snap install hugo
# run server
hugo server

如果启动 server 时报错,可以安装以下依赖:

# install depends
npm i -D postcss postcss-cli autoprefixer

参考:https://www.docsy.dev/docs/get-started/docsy-as-module/installation-prerequisites/#install-postcss