Generate docs when ignoring dependencies

During the switch to the new resolver documentation generation was
bypassed when the --ignore-dependencies option was given.

Now the done_installing hook is triggered when the
--ignore-dependencies option is present.

Fixes #961