The Zig website. https://ziglang.org
  • HTML 94.1%
  • Zig 5.1%
  • CSS 0.8%
Find a file
Alex Rønne Petersen 8e31bb43d5
All checks were successful
deploy website / build (push) Successful in 4m38s
add aarch64-switch to additional platforms
ziglang/zig#36081
2026-07-07 15:40:12 +02:00
.forgejo/workflows build-commit: get rid of cpu field 2026-06-20 09:00:08 +02:00
assets add aarch64-switch to additional platforms 2026-07-07 15:40:12 +02:00
check-mirrors check-mirrors: update release tarball list 2026-05-01 09:11:07 +01:00
content update support status for sparc-linux and sparc-netbsd 2026-07-07 10:38:45 +02:00
i18n move platform support under each unstable/stable heading on the learn page 2026-05-08 18:59:32 +02:00
i18n-old remove old russian translation 2025-01-23 17:19:31 +01:00
layouts move platform support under each unstable/stable heading on the learn page 2026-05-08 18:59:32 +02:00
src add missing targets to platform support 2026-05-19 14:06:24 +02:00
zig-code fix code sample 2026-04-20 20:21:24 +02:00
.gitattributes Add .gitattributes to enforce LF for zig/zon files (#435) 2025-02-13 16:25:18 +01:00
.gitignore update .gitignore 2026-03-15 15:41:06 +01:00
build.zig fix the build by updating doctest 2026-04-11 10:15:47 -07:00
build.zig.zon release notes I/O interface section 2026-04-13 18:19:06 -07:00
LICENSE add license 2023-05-25 11:56:54 -07:00
MIRRORS.md MIRRORS.md: replace hexops/wrench with hexops/pkgmirror 2026-04-16 13:55:32 +02:00
README.md README: simplify development server instructions 2026-06-30 14:43:15 -07:00
zine.ziggy improve logos 2026-06-05 16:05:30 +02:00

ziglang.org

The Zig project website, made with Zine.

Running Locally

zig build serve

Making a Devlog Entry

Edit content/en-US/devlog/2026/index.smd, commit, and push. No other changes needed.

Get Editor Support

This step is optional but highly recommended.

Follow the instructions on the official Zine website.

Following this step will give you syntax highlighting and LSP support for the templating language.

Get other dependencies

Some code examples present on the site require some basic system dependencies:

  • tar
  • zlib
  • jq

It should be possible to get them on all major OSs although on Windows it might be easier to just use WSL. If you know how to get all dependencies on Windows please PR some instructions!

Writing a Translation

See the Zine documentation to learn more about content and templating syntax.

After you've familiarized yourself with the basics, take a look at the i18n section of the docs.

To recap, a translation needs to:

  • be listed in build.zig and have its corresponding content directory created
  • have a corresponding Ziggy file under i18n/, containing the localized version of every phrase used throughout the site
  • have all content files translated, with the exception of news and devlog that should not be translated

Getting Help

Crafting a translation is not a straight-forward process. You have to think about adaptation, spatial constraints (in the front page especially), and other Zine-specific issues that might not be immediately obvious.

If you don't mind instant messaging, please consider joining one of the Zig communities, where you will be able to communicate with other contributors and share some knowledge.

If you prefer asynchronous communication, feel free to open a draft PR, we will make sure to engage with you pronto.

Keep in mind that it's possible that the current setup doesn't allow you to correctly implement a translation without making ulterior changes to Zine's configuration or how the content is organized. Don't hesitate to reach out for help to avoid getting stuck in a problem that can't be solved without larger-scale changes.