Skip to content

Generate Orchestration script documentation #384

Open
@Naros

Description

@Naros

Description

A developer should be able to search for an Orchestration by its filename, much like an unnamed GDScript class and to view its associated documentation like other script languages, i.e.:

image

Implementation ideas

This requires four changes:

  1. OScriptLanguage::get_type() should return OScript::get_class_static() rather than Orchestrator.
  2. The language's icon should be registered with OScript::get_class_static() in plugin.cpp.
  3. OScriptLanguage::_supports_documentation() should return true.
  4. OScript::_get_documentation() should return the documentation metadata.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cherrypick:2.0Requires cherry-pick to Orchestrator 2.0kind/enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions