Anchors
Documenter.Anchors — Module.Documenter.Anchors.Anchor — Type.Stores an arbitrary object called .object and it's location within a document.
Fields
object– the stored object.order– ordering ofobjectwithin the entire document.file– the destination file, inbuild, where the object will be written to.id– the generated "slug" identifying the object.nth– integer that unique-ifies anchors with the sameid.
Documenter.Anchors.AnchorMap — Type.Tree structure representating anchors in a document and their relationships with eachother.
Object Hierarchy
id -> file -> anchorsEach id maps to a file which in turn maps to a vector of Anchor objects.
Documenter.Anchors.add! — Method.Documenter.Anchors.anchor — Method.anchor(m, id)
Returns the Anchor object matching id. file and n may also be provided. An Anchor is returned, or nothing in case of no match.
Documenter.Anchors.exists — Method.exists(m, id, file, n)
Does the given id exist within the AnchorMap? A file and integer n may also be provided to narrow the search for existance.
Documenter.Anchors.isunique — Method.isunique(m, id)
Is the id unique within the given AnchorMap? May also specify the file.