docs: fix internal references

It seems last time I tried to fix these, I missed a few spots. So let's
try to get things right this time.

Fixes: 429ff054917 ("docs/relnotes: update internal references")
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5671>
diff --git a/docs/submittingpatches.rst b/docs/submittingpatches.rst
index 8cdebb5..e51105d 100644
--- a/docs/submittingpatches.rst
+++ b/docs/submittingpatches.rst
@@ -8,8 +8,8 @@
 
 -  Patches should not mix code changes with code formatting changes
    (except, perhaps, in very trivial cases.)
--  Code patches should follow Mesa `coding
-   conventions <codingstyle.rst>`__.
+-  Code patches should follow Mesa :doc:`coding
+   conventions <codingstyle>`.
 -  Whenever possible, patches should only affect individual Mesa/Gallium
    components.
 -  Patches should never introduce build breaks and should be bisectable
@@ -331,7 +331,7 @@
    numbers to represent your measurements.
 
 If the patch complies with the rules it will be
-`cherry-picked <releasing.rst#pickntest>`__. Alternatively the release
+:ref:`cherry-picked <pickntest>`. Alternatively the release
 manager will reply to the patch in question stating why the patch has
 been rejected or would request a backport. The stable-release manager
 may at times need to force-push changes to the stable branches, for