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

Define module specification in documentation #26

Merged
merged 4 commits into from
Dec 2, 2021

Conversation

felixarntz
Copy link
Member

@felixarntz felixarntz commented Dec 1, 2021

This PR adds a /docs folder with an initial article detailing the module specification, with minimum requirements and recommendations for writing a module for the performance plugin.

The documentation includes a minimal demo module file, as clarification and a potential starting point for any module.

Preview the documentation here.

Fixes #2

@ThierryA
Copy link
Member

ThierryA commented Dec 1, 2021

LGTM.

Copy link
Member

@JustinyAhin JustinyAhin left a comment

Choose a reason for hiding this comment

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

Good docs. It looks fine for me.

Copy link
Member

@adamsilverstein adamsilverstein left a comment

Choose a reason for hiding this comment

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

👍🏼 Nice work!

@tillkruss
Copy link
Member

Should the notices be dismissible?

@felixarntz
Copy link
Member Author

@tillkruss That notice is only a random code example, just to have any code in the demo module. For example if you just start your module with that file, seeing that notice will tell you that you did things right. :)

So it doesn't really matter, our actual modules probably shouldn't contain admin notices in the first place.

@felixarntz felixarntz merged commit fd8a2a6 into trunk Dec 2, 2021
@felixarntz felixarntz added [Type] Documentation Documentation to be added or enhanced Infrastructure Issues for the overall performance plugin infrastructure labels Dec 6, 2021
@felixarntz felixarntz added this to the Initial plugin release milestone Dec 6, 2021
@felixarntz felixarntz changed the title Add module specification in documentation Define module specification in documentation Dec 6, 2021
@tillkruss tillkruss deleted the add/2-writing-a-module-docs branch March 7, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure Issues for the overall performance plugin infrastructure [Type] Documentation Documentation to be added or enhanced
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define basic module specification
6 participants