Documentation and example for distribute layout