Skip to content

Global functions aren't exported #1943

@Nightmare82

Description

@Nightmare82

When I export documentation it contains all my types and their methods but the global functions are missing.

As an example this is how a file looks like and the function isn't part of the exported documentation:

---@meta

---@return string String parameter
---@param propertyName string name of the property
---@param defaultValue string Default value
---@param description string Description of the property
function getStringParameter(propertyName, defaultValue, description)
end

Is this a bug or am I doing something wrong ?

My goal is to document all functions of my custom engine. It works nicely for all my types and methods but seems like I'm doing something wrong for the functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions