> ## Documentation Index
> Fetch the complete documentation index at: https://bazel-pr-31268.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# repository_rule {#modules.repository_rule}

A callable value that may be invoked within the implementation function of a module extension to instantiate and return a repository rule. Created by [`repository_rule()`](../globals/bzl#repository_rule).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.