valve documentation best practices