Improved doc config