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

feat(docs): Added a page on module creation #2456

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Nick-Munnich
Copy link
Contributor

Added a page on module creation, much nicer this time.

This page makes use of another repository, zmk-module-template, which we should fork into the project if this approach is approved.

This page also makes reference to a second repository, zmk-modules. Work regarding zmk-modules is still in progress, but it is there to read and provide feedback on. If this is merged before zmk-modules is ready, then I suggest we comment out the parts on zmk-modules for the time being.

@Nick-Munnich Nick-Munnich requested a review from a team as a code owner September 3, 2024 11:38
@Nick-Munnich Nick-Munnich added the documentation Improvements or additions to documentation label Sep 3, 2024
@caksoylar caksoylar self-assigned this Sep 5, 2024
@Nick-Munnich Nick-Munnich requested a review from a team as a code owner September 8, 2024 12:08
Copy link
Contributor

@caksoylar caksoylar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is worth considering dropping the vfx category from the initial version, since it seems unclear to me how they'd be implemented right now (let me know if I am missing something).

Looks good to me as a document overall and I agree with the implementation guidelines in general. There are some of the more subjective statements which I didn't review, like the first sentence.

That being said, will this wait until some sort of ZMK versioning is in place?

docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
docs/docs/development/module-creation.md Show resolved Hide resolved

| | `keyboards` | `components` | `behavior` | `driver` | `feature` | `vfx` |
| ---------------- | ----------- | ------------ | ---------- | -------- | --------- | ----- |
| `board/` | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would vfx need boards? I guess that category is a bit up in the air right now given it isn't clear how it'd be implemented.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example I have in my head for said category is your RGB-LED module. I agree the details of the category would need some more work once ZMK's features around the area are more mature.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I guess I'd consider it a feature if I had to classify.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps the classification there could use some additional distinction, but I'm also not sure what a better split would be. I'd certainly put it into vfx as it communicates stuff visually.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had considered the description to be more literal, like underglow effects & display/LVGL widgets -- I can see the rgbled-widget fitting under a similar context.

docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
docs/docs/development/module-creation.md Outdated Show resolved Hide resolved
Copy link
Contributor Author

@Nick-Munnich Nick-Munnich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some of the more subjective statements which I didn't review, like the first sentence.

Would be good to have a bit of discussion on those I think.

That being said, will this wait until some sort of ZMK versioning is in place?

The collection repo yes, but enough people seem to already be using the preview as a reference that I think it'd be worthwhile pushing through a trimmed down version of the page prior to versioning.

docs/docs/development/module-creation.md Outdated Show resolved Hide resolved

| | `keyboards` | `components` | `behavior` | `driver` | `feature` | `vfx` |
| ---------------- | ----------- | ------------ | ---------- | -------- | --------- | ----- |
| `board/` | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ |
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example I have in my head for said category is your RGB-LED module. I agree the details of the category would need some more work once ZMK's features around the area are more mature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants