Merge pull request #102 from aiuto/rel

Update docs to add gather_metadata_info
diff --git a/MODULE.bazel b/MODULE.bazel
index 099cb2d..e2d3917 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -13,4 +13,5 @@
 
 # Only for development
 bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True)
+bazel_dep(name = "rules_python", version = "0.19.0", dev_dependency = True)
 bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True)
diff --git a/doc_build/BUILD b/doc_build/BUILD
index e3f61a1..66ce6f7 100644
--- a/doc_build/BUILD
+++ b/doc_build/BUILD
@@ -59,6 +59,8 @@
     ("LicenseInfo",     "//rules:providers.bzl"),
     ("LicenseKindInfo", "//rules:providers.bzl"),
     ("PackageInfo",     "//rules:providers.bzl"),
+    ("gather_metadata_info",           "//rules_gathering:gather_metadata.bzl"),
+    ("gather_metadata_info_and_write", "//rules_gathering:gather_metadata.bzl"),
     ("trace",           "//rules_gathering:trace.bzl"),
 ]
 
diff --git a/docs/latest.md b/docs/latest.md
index 2005be2..e2771b1 100755
--- a/docs/latest.md
+++ b/docs/latest.md
@@ -97,8 +97,8 @@
 ## LicenseInfo
 
 <pre>
-LicenseInfo(<a href="#LicenseInfo-copyright_notice">copyright_notice</a>, <a href="#LicenseInfo-label">label</a>, <a href="#LicenseInfo-license_kinds">license_kinds</a>, <a href="#LicenseInfo-license_text">license_text</a>, <a href="#LicenseInfo-package_name">package_name</a>,
-            <a href="#LicenseInfo-package_url">package_url</a>, <a href="#LicenseInfo-package_version">package_version</a>)
+LicenseInfo(<a href="#LicenseInfo-copyright_notice">copyright_notice</a>, <a href="#LicenseInfo-label">label</a>, <a href="#LicenseInfo-license_kinds">license_kinds</a>, <a href="#LicenseInfo-license_text">license_text</a>, <a href="#LicenseInfo-package_name">package_name</a>, <a href="#LicenseInfo-package_url">package_url</a>,
+            <a href="#LicenseInfo-package_version">package_version</a>)
 </pre>
 
 Provides information about a license instance.
@@ -183,6 +183,73 @@
 
 <!-- Generated with Stardoc: http://skydoc.bazel.build -->
 
+Rules and macros for collecting LicenseInfo providers.
+
+<a id="gather_metadata_info"></a>
+
+## gather_metadata_info
+
+<pre>
+gather_metadata_info(<a href="#gather_metadata_info-name">name</a>)
+</pre>
+
+Collects LicenseInfo providers into a single TransitiveMetadataInfo provider.
+
+**ASPECT ATTRIBUTES**
+
+
+| Name | Type |
+| :------------- | :------------- |
+| *| String |
+
+
+**ATTRIBUTES**
+
+
+| Name  | Description | Type | Mandatory | Default |
+| :------------- | :------------- | :------------- | :------------- | :------------- |
+| <a id="gather_metadata_info-name"></a>name |  A unique name for this target.   | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required |   |
+
+
+
+<!-- Generated with Stardoc: http://skydoc.bazel.build -->
+
+Rules and macros for collecting LicenseInfo providers.
+
+<a id="gather_metadata_info_and_write"></a>
+
+## gather_metadata_info_and_write
+
+<pre>
+gather_metadata_info_and_write(<a href="#gather_metadata_info_and_write-name">name</a>)
+</pre>
+
+Collects TransitiveMetadataInfo providers and writes JSON representation to a file.
+
+    Usage:
+      bazel build //some:target           --aspects=@rules_license//rules:gather_metadata_info.bzl%gather_metadata_info_and_write
+          --output_groups=licenses
+    
+
+**ASPECT ATTRIBUTES**
+
+
+| Name | Type |
+| :------------- | :------------- |
+| *| String |
+
+
+**ATTRIBUTES**
+
+
+| Name  | Description | Type | Mandatory | Default |
+| :------------- | :------------- | :------------- | :------------- | :------------- |
+| <a id="gather_metadata_info_and_write-name"></a>name |  A unique name for this target.   | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required |   |
+
+
+
+<!-- Generated with Stardoc: http://skydoc.bazel.build -->
+
 Rules and macros for collecting package metdata providers.
 
 <a id="trace"></a>