doc about getConfig in demo
demo