reactioncommerce / docs

https://mailchimp.com/developer/open-commerce/docs/
4 stars 9 forks source link

feat: add doc about register plugin #48

Closed Akarshit closed 2 years ago

Akarshit commented 2 years ago

This partially solved #15 since a lot of what's sent to registerPlugin moves around in the context.

This add the docs about how to use the registerPlugin function and explain the arguments the function takes.

Akarshit commented 2 years ago

@MohanNarayana @zenweasel I think the Developing API Plugin should should link to this doc for the following reasons:

  1. Developing API plugin covers a lot of stuff about the linking and developing. This doc covers only the options that can be used while doing a registerPlugin call.
  2. Adding this to the Developing API Plugin doc will make it too long.
Akarshit commented 2 years ago

I have updated this doc according to the format suggested by Missy. I have added Mohan's stuff on Developing API plugins from developer-concepts-2 branch, but have cut out a lot of stuff how core-api plugin works because it wasn't relevant. I will give this another pass to make sure there is nothing present that's not relevant. Would appreciate some eyes on this one.

brent-hoover commented 2 years ago

Closing to be reopened in a later phase