config docs: add examples to mode()

Improved by comments from Petr.
3 jobs for mode-examples
in 8 minutes and 39 seconds and was queued for 2 seconds