Add rustdoc documentation complexity toggle
Adds a simple/detailed toggle to api doc pages. Detailed mode is the current behaviour, simple mode hides are doccomment details leaving only signatures for quick browsing. In addition, clicking on a function name now toggles the visibility of the associated doccomment details