Add documentation for resolve-dependencies

English is my first language, but I'm not too good with it, so apologies.

The other code blocks in the file are not formatted as json, but I prefer the look. I can remove if required.


Will resolve #2332.