A simple C documentation generator.
16 hours ago

~lixquid via public-inbox

a day ago


builds.sr.ht status

A simple C documentation generator.

Example output: I maintain the documentation for the wlroots API on my website.


go build .


gyosu [options...] <headers...>


gyosu \
  $(pkg-config --cflags-only-I wlroots) \
  -ffile-prefix-map=/usr/include/= \

#Comment formatting

All documentation comments must use /** … */.

To reference another declaration from a documentation comment, the following notations are recognized:

  • struct foo
  • enum foo
  • union foo
  • foo()
  • <foo.h>


Send patches on the mailing list, report bugs on the issue tracker, discuss in #emersion on Libera Chat.



Copyright (C) 2021 Simon Ser