Guides

ImplicitHyperlinkTargetPass
in package
implements CompilerPass

FinalYes

Resolves the hyperlink target for each section in the document.

This follows the reStructuredText rules as outlined in: https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#implicit-hyperlink-targets

Table of Contents

Interfaces

CompilerPass

Methods

getPriority()  : int
run()  : DocumentNode[]
deduplicateSectionIds()  : string[]
fetchExplicitReferences()  : string[]

Methods

deduplicateSectionIds()

private deduplicateSectionIds(array<string|int, Node> $nodes, string[] $knownIds) : string[]
Parameters
$nodes : array<string|int, Node>
$knownIds : string[]
Return values
string[]
On this page

Search results