Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
Jun 25, 2024

Conversation

josephjclark
Copy link
Collaborator

@josephjclark josephjclark commented Jun 25, 2024

Lightning's doc panel isn't documenting the same entities as the main docsite - see OpenFn/lightning#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.

@josephjclark josephjclark merged commit d156311 into main Jun 25, 2024
6 checks passed
@josephjclark josephjclark deleted the fix-describe branch June 25, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant