-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: Add agentic JSDoc generation #1343
Conversation
Hrm it's not really a plugin but lives in the plugins directory... Probably wouldn't take much work to convert to a plugin |
I am happy to convert it to a plugin; just let me know. I am not sure if it makes sense as a plugin because it is currently invoked by GH Actions, not an agent, but I could see it being invoked by an agent in the future.
|
After giving it more thought, I think I'm going to convert it to a plug in. I think it would be dope if you could be developing locally and just prompt eliza "generate documentation for ____" and then this code is executed - automatically generating documentation for the provided directory. Im going to try and make it executable in two ways 1- GH workflows and 2- if an agent invokes it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work, thanks for moving to scripts folder for now - after making it an eliza plugin can move to packages folder. Excited to use this.
We can tweak in the future based on feedback of the generated API docs + how people feel about the comments in the code (incase they're distracting). Will look into getting this working with correct github token soon. Great contribution!
feat: Add agentic JSDoc generation
Relates to:
Risks:
Background
What does this PR do?
JSDoc Automation
) that allows triggering the documentation generation process with custom parameters. The workflow is defined in the.github/workflows
directory.What kind of change is this?
Why are we doing this? Any context or related work?
Documentation changes needed?
Testing
Where should a reviewer start?
Detailed testing steps
###Configure and trigger the workflow manually
workflow_dispatch
event, which accepts the following inputs:pull_number
(optional): The pull request number to generate documentation for.root_directory
will be scannedroot_directory
(required): Only scans files in this directory.packages/core/src/test_resources
- arbitrarily chose this because its smallexcluded_directories
(required): Directories to exclude from scanning.reviewers
(required): Pull Request Reviewers.Set up
Deploy Notes
Discord username