doc: View resource configuration directives as table
Show the user a senseful error message in case enabledModules is missing

fixes #7205