Bug: -render pdf always generates HTML instead of PDF

Environment

  • Project version used: 3.0.1.98
  • OS: Windows 11
  • LabVIEW version: 2025-32bit

Summary

When using the CLI option -render pdf, the tool still renders HTML, although the documentation states that it should generate a PDF output.

Steps to reproduce

Run antidoc through CLI with the option --render pdf

What is the current bug behavior?

Documentation is rendered as HTML.

What is the expected correct behavior?

Documentation should be rendered as PDF.

Possible fixes

In antidoc.vi, inside the Render case structure, both the "html" and "pdf" cases output the enum value HTML5.

Setting the enum constant in the "pdf" case to PDF resolves the issue.

image