Guides

DocReferenceTextRole extends AbstractReferenceTextRole
in package

FinalYes

Role to create a reference to a document.

Example:

:doc:`doc/index`

Table of Contents

Constants

NAME  : mixed = 'doc'

Properties

$useRawContent  : bool
$interlinkParser  : InterlinkParser
$referenceRegex  : string
https://regex101.com/r/8O8N3h/2

Methods

__construct()  : mixed
getAliases()  : string[]
getName()  : string
processNode()  : AbstractLinkInlineNode
createNode()  : DocReferenceNode
extractEmbeddedReference()  : ReferenceData

Constants

Properties

$referenceRegex

https://regex101.com/r/8O8N3h/2

private string $referenceRegex = '/^(.*?)((?<!\\\\)<([^<]+)(?<!\\\\)>)?$/s'

Methods

On this page

Search results