Fix documentation for config.resource [issue #1836]