[sphinx] fix: node['ids'] should be set by docutils.nodes.document
[sphinx] fix: node['ids'] should be set by docutils.nodes.document

otherwise, it doesn't handle duplicate targets properly (crashes instead
of reporting a warning)

vovkos/doxyrest,vovkos/doxyrest,vovkos/doxyrest,vovkos/doxyrest,vovkos/doxyrest