diff --git a/guides/contributing.rst b/guides/contributing.rst
index 08cd04c4bf..d9c52d1d9f 100644
--- a/guides/contributing.rst
+++ b/guides/contributing.rst
@@ -205,9 +205,11 @@ adhere to the following order:
 
   `Google.com <https://www.google.com>`__
 
+.. _contributing-referrals:
+
   .. note::
 
-      Referral links are only permitted if they provide a direct benefit to the ESPHome project. 
+      Referral links are only permitted if they provide a direct benefit to the ESPHome project.
       This policy applies to all official ESPHome documentation and websites.
 
 - **References**: To reference another document, use the ``:doc:`` and ``:ref:`` roles (references are set up globally