#documentation #documentation-generator #cli #uiua

app uiua-doc-gen

Documentation generator for Uiua libraries

10 releases

new 0.16.1 May 7, 2025
0.15.1 Apr 7, 2025
0.15.0 Feb 11, 2025
0.14.6 Dec 29, 2024
0.14.4 Nov 25, 2024

#1466 in Text processing

Download history 1/week @ 2025-02-01 110/week @ 2025-02-08 19/week @ 2025-02-15 2/week @ 2025-02-22 158/week @ 2025-04-05 14/week @ 2025-04-12 4/week @ 2025-04-19 3/week @ 2025-04-26 114/week @ 2025-05-03

142 downloads per month

MIT license

205KB
1.5K SLoC

uiua doc gen

This is a command line tool to generate documentation from your Uiua libraries.

Demo image

Limitations

This tool is still in development and has some limitations:

  • Only the declarations in lib.ua files are considered. If you import bindings from other files, they will not be displayed in this version.
  • There's only one theme available for the generated documentation.
  • Can not embed images yet.

Prerequisites

  • You need to have Rust installed in your system.
  • Your library must have a single lib.ua file in the root of the project with all the declarations.

Usage

  1. Install the package globally:

    cargo install uiua-doc-gen
    
  2. Open a terminal in the root of your Uiua project and run:

    uiua-doc-gen --name project-name
    
  3. The documentation will be generated in the doc-site folder.

Hosting on GitHub Pages

The generated website is a static site, so you can host it on GitHub Pages. To do that, follow the steps in the uiua-doc-gen-action repository.

Dependencies

~31–61MB
~1M SLoC