I think that examples are better placed inside doc dir as it is not real source code.