No matter which component or module it is stored in, you can include any partial or example in any page, just like you can “call” any page using its page ID.
To insert a partial or example from another module or component into a page, you use it’s resource ID. A resource ID is very similar to a page ID except it specifies a family coordinate.
The resource ID is identical to a page ID, except it specifies one additional coordinate, the Family.
The purpose of a resource file. Files are assigned a family designation based on whether they’re stored in partials or examples.
The family coordinate is appended with a dollar sign (
$) and specified after the module coordinate but before the page coordinate.
The family coordinate accepts the value
A resource ID is used in an AsciiDoc include directive. Here’s how the include directive is structured when inserting a specific version of a partial resource from the ROOT module of a component named cli.
Or, if you included a tagged region of an example into a page in the same module.