Skip to content

Should nodes documentation be generated from code? #16

@alexisrolland

Description

@alexisrolland

It's awesome to have such detailed documentation about all the core nodes, but it's going to be very tedious and time consuming to maintain it in all languages. I wouldn't be surprised if part of the documentation becomes obsolete over time.

It might be optimal to:

  • Maintain only English documentation.
  • Generate it from the node code. The node code already has some properties that can be used suched as DESCRIPTION and input type's tooltip.

I think a fantastic reference of repository that generates documentation from code is FastAPI. It generates an entire swagger based on endpoints code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions