How does Sphinx determine if a node can be numbered with numfig?