Skip to content

Developer Guide

If you are using previous release of Redox for some reason, you can generate documentation for that release by following these steps:

  • Install Material for MkDocs on your platform.

  • Download and extract Source code (zip) for your target release at Redox Repo

  • Now, cd into your release directory and run: mkdocs serve

Generate Code Documentation

To generate Zig's API documentation, navigate to your project directory and run:

zig build-lib -femit-docs=docs/zig-docs src/root.zig

Now, clean up any unwanted generated file and make sure to link zig-docs/index.html to your reference.md file.

Build HiRedis from Source

To build the Hiredis static library (libhiredis.a), follow these steps:

git clone https://github.com/redis/hiredis.git
cd hiredis
make static

This produces the static library on the current directory.

Remarks: Make sure to build this for both aarch64 and x86_64 platforms.