Add code to automatically generate docs for charge models