# How to run langref generation

**URL:** <https://ziggit.dev/t/how-to-run-langref-generation/8821>\
**Category:** Explain\
**Tags:** compiler\
**Created:** [March 1, 2025, 2:22pm UTC](https://ziggit.dev/t/how-to-run-langref-generation/8821 "2025-03-01T14:22:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jeffective](https://ziggit.dev/user_avatar/ziggit.dev/jeffective/32/3116_2.png) [@jeffective](https://ziggit.dev/u/jeffective)\
**Post date:** [March 2, 2025, 1:19am UTC](https://ziggit.dev/t/how-to-run-langref-generation/8821/4 "2025-03-02T01:19:19Z")

</div>

Here is a post about how to build the langref (I hope its still accurate)

> [@Where is the doc source for the Zig language reference doc?](https://ziggit.dev/t/where-is-the-doc-source-for-the-zig-language-reference-doc/7609/7):
>
> The langref is just a single HTML file. You can obtain the file by saving the result of going to [Documentation - The Zig Programming Language](https://ziglang.org/documentation/master/). The langref HTML is produced by running zig build langref in the zig repo [GitHub - ziglang/zig: General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.](https://github.com/ziglang/zig). This takes in zig-repo/doc/langref.html.in (hand written) and produces zig-repo/zig-out/doc/langref.html. The html.in also references files in zig-r…

---

_[View the full topic](https://ziggit.dev/t/how-to-run-langref-generation/8821)._
