update docs with example of how `config` is used