Fix a link rot.

RELNOTES: None
PiperOrigin-RevId: 159195321
diff --git a/site/docs/skylark/rules.md b/site/docs/skylark/rules.md
index 47f27ab..0b15b98 100644
--- a/site/docs/skylark/rules.md
+++ b/site/docs/skylark/rules.md
@@ -291,7 +291,7 @@
 dependency should be built in the same configuration, or transition to the host
 configuration (using `cfg`). If a label attribute has the flag
 `executable=True`, the configuration must be set explicitly.
-[See example](cookbook.html#execute-a-binary)
+[See example](cookbook.md#execute-a-binary)
 
 In general, sources, dependent libraries, and executables that will be needed at
 runtime can use the same configuration.