Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rockorager/zigdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zigdoc

A command-line tool to view documentation for Zig standard library symbols.

Installation

zig build install -Doptimize=ReleaseFast --prefix $HOME/.local

Usage

Usage: zigdoc [options] <symbol>

Show documentation for Zig standard library symbols and imported modules.

zigdoc can access any module imported in your build.zig file, making it easy
to view documentation for third-party dependencies alongside the standard library.

Examples:
  zigdoc std.ArrayList
  zigdoc std.mem.Allocator
  zigdoc std.http.Server
  zigdoc vaxis.Window
  zigdoc zeit.timezone.Posix

Options:
  -h, --help        Show this help message
  --dump-imports    Dump module imports from build.zig as JSON

Examples

# Standard library symbols
zigdoc std.ArrayList
zigdoc std.mem.Allocator
zigdoc std.http.Server

# Imported modules from build.zig
zigdoc zeit.timezone.Posix

Features

  • View documentation for any public symbol in the Zig standard library
  • Access documentation for imported modules from your build.zig
  • Shows symbol location, category, and signature
  • Displays doc comments and members
  • Follows aliases to implementation

About

A command-line tool to view documentation for Zig standard library symbols

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages