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
Methods
- getPriority() : int
- run() : array<string|int, DocumentNode>
- fetchExplicitReferences() : array<string|int, string>
Methods
getPriority()
public
getPriority() : int
Return values
intrun()
public
run(array<string|int, mixed> $documents, CompilerContextInterface $compilerContext) : array<string|int, DocumentNode>
Parameters
- $documents : array<string|int, mixed>
- $compilerContext : CompilerContextInterface
Return values
array<string|int, DocumentNode>fetchExplicitReferences()
private
fetchExplicitReferences(Node $node) : array<string|int, string>
Parameters
- $node : Node