The tool should make sure that the target of inheritdoc is part of the public docs. If not, it should exclude that when porting the docs over.