fix rst links issues introduced by the non replacement of relative imports