aws/aws-cli — pull request #291 by jamesls (2013-08-31 01:26:17+00:00)
Title: Unregister event handler after docs are rendered

This fixes the case where we're generating multiple docs
in a single invocation (such as html generation). By
unregistering the event handler, a new instance can come
along and register itself as the object to use for new doc
events.

Don't have any tests for this currently, verified that manually building the html has the same output as the manpage version.