[DOC] Improve register/inject documentation
Merge pull request #4577 from mixonic/improve-register-inject

[DOC] Improve register/inject documentation