register_external_docs
Notedocblock
Inventory Register an external package’s documentation for cross-referencing.
The base_url is stored, and an Inventory is associated with the package so that references can be resolved to real URLs:
- If
inventoryis anInventory, it is used directly. - If
inventoryis aString, it is treated as a path/URL to anobjects.invand loaded. - If
inventoryisnothing(the default), this attempts to load"$base_url/objects.inv". Network/parse failures are caught and degrade gracefully to “no inventory” (the package is still registered, but its references will not resolve until an inventory is available).
Arguments
package::String: Package name (e.g., “DataFrames”).base_url::String: Base URL for the package docs (e.g., “https://dataframes.juliadata.org/stable”).inventory: AnInventory, a path/URL string, ornothing(default).registry: Registry to add to (default: global registry).