can then be
      depended on individually from other rules as sources only:
    </p>

    <pre class="code-container">
      <!-- prettier-ignore -->
      <code data-lang="plz">
    genrule(
        ...
        srcs = [":my_rule|srcs"],
        ...
    )
      </code>
    </pre>
  </section>

  <section class="mt4">
    <h3 class="title-3" id="out-dirs">
      Output directories
    </h3>

    <p>
      Sometimes it can be hard to reason about the exact outputs of a rule
      before actually building it.