Skip to main content

ids

Function ids 

Source
pub fn ids(file: &Path, folder: &Folder, modules: &Modules) -> BTreeSet<String>
Expand description

Every id a link’s #fragment into file can land on, as its page renders them: the ids of the content phase, the tags of its document’s widgets expanded, read through modules — without building the frame. A Markdown file’s are its content’s, as the document it is shown in renders it; a doc’s are its chapters’, each prefixed with its chapter’s name when there is more than one, and the chapters’ own names. Anything else has none.