add hook for autogeneration code
Merge pull request #41 from mk270/split-docs

add hook for autogeneration code