The `org-texinfo-export-to-info' docstring describes a non-existing optional
argument PUB-DIR but no such argument is given in the definition.  Perhaps it
did in the past?

Aside, when invoking this command on an org file I get the following error
which may or not be a bug also:

org-compile-file: File "<path-to-repository>/org-gtd.el/doc/org-gtd.info" wasn’t produced See "Org INFO Texinfo Output" for details

The strange thing is the INFO file is produced (or rather updated as it already
existed) and the output buffer is empty.  The INFO file resides in the
directory above the one that contains the org and texinfo files.  The error
states it is not produced in the directory where the org and texinfo files
reside so perhaps unsurprising if it already exists in the parent directory.
Should they all reside in the same directory perhaps?

Thanks for Org and your time.