dwave-ocean-sdk
dwave-ocean-sdk copied to clipboard
Clean up non-submodule build warnings
Currently building Ocean SDK with make html
produces close to 150 warnings, a majority of type WARNING: more than one target found for cross-reference
. This causes two problems:
- Links across modules are to an arbitrary target of the several similarly named properties (e.g. dimod and dwave-hybrid
SampleSet
or variousnodelist
attributes). - We miss new significant warnings because no one is looking through 150 warnings
We had originally accepted these warnings out of the expectation that Sphinx would strengthen inheritance disambiguation but this GitHub issue on Sphinx is now two years old.
The updates in this and the following PRs reduce the number of warnings from ~150 to under 20: