Skip to content

insolor/mkdocstrings-zig

Repository files navigation

mkdocstrings-zig

ci documentation pypi version

A Zig handler for mkdocstrings. Makes it possible to create documentation from code in Zig language using mkdocs.

Demo

See demo documentation generated from test_zig_project.

Usage

Installation

pip install 'mkdocstrings[zig]'
pip install mkdocs-material
pip install typing-extensions

mkdocs-material theme installation is optional, but recommended for better look and feel.

mkdocs.yml example

site_name: Example of zig project documentation using mkdocstrings

# remove if you are not using mkdocs-material theme
# or replace it with the theme of your choice
theme:
  name: material

plugins:
- mkdocstrings:
    default_handler: zig

docs/index.md example

# Project Documentation

::: src/main.zig

::: src/root.zig

Or add documentation for a directory:

::: src

About

mkdocstrings handler for zig language (work in progress)

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •