OpenFn / kit

The bits & pieces that make OpenFn work. (diagrammer, cli, compiler, runtime, runtime manager, logger, etc.)
8 stars 12 forks source link

describe-package: document anything with an @function tag #723

Closed josephjclark closed 1 week ago

josephjclark commented 1 week ago

Lightning's doc panel isn't documenting the same entities as the main docsite - see https://github.com/OpenFn/lightning/issues/2019

This PR updates the describe-package function so that it uses the @function tag to describe what to document.

I don't really like this - why not use @public to declare publicly documented functions?

But the fact is that docs.openfn.org uses the @function tag, and it's more important to be consistent than to match Joe's arbitrary goodness aesthetic.

Describe-package is still a mess and still needs fixing (my fault), but I've added a tiny CLI here to help test this stuff.