Fix documentation for the options passed into renderModule and renderModuleFactory. PR Close #18264
Closes #15898
Fixes #15080