The docs for the samples come from individual markdown files with each sample. Those files include the "extended" uid yaml element that provides the specifc UID to use for cross references (xref:xxxx links)
This defines the main page for the samples, generally it
The toc.md file represents the left navigation side of the sample pages