Closed bmtcril closed 7 months ago
Those code annotations served their purpose at the beginning of the project, mainly event identification and documentation for developers. Now, I agree there's still work to do, so thank you for the effort.
Some time back, I implemented a few things to generate documentation automatically, but I didn't have the time to finish it. I wish I could provide more detail, but I don't remember what I did exactly: https://github.com/eduNEXT/edx-platform/pull/236 https://github.com/openedx/code-annotations/pull/72 https://github.com/openedx/edx-lint/pull/176 I hope that helps, although a lot has changed since then. For example, events' docs lived in edx-platform. We'll need to figure out whether the implementation could be adapted to work with what we currently have. Let me know if you want help making it work! Thank you again.
@mariajgrimaldi awesome, thanks for the links! I'll definitely reach out when I get stuck.
Closed via https://github.com/openedx/openedx-events/pull/318 , but we have the ability not to add this documentation to any repo that defines events in it. I think the linter work is valuable, but outside of what I was hoping to accomplish here. We may take it on as part of the larger Data WG task to organize and better document / lint tracking log events as the two are starting to converge a bit.
Currently the openedx events are documented with code-annotations styled comments:
However the integrations with the code-annotations toolchain isn't quite complete, and the important
event_key_field
is not currently documented, making configuring these events difficult. I propose that we:event_key_field
and add that field to all existing events