|
| 1 | +<?php |
| 2 | + |
| 3 | +declare(strict_types=1); |
| 4 | + |
| 5 | +use phpDocumentor\Guides\Nodes\AnchorNode; |
| 6 | +use phpDocumentor\Guides\Nodes\AnnotationListNode; |
| 7 | +use phpDocumentor\Guides\Nodes\CitationNode; |
| 8 | +use phpDocumentor\Guides\Nodes\CodeNode; |
| 9 | +use phpDocumentor\Guides\Nodes\DefinitionListNode; |
| 10 | +use phpDocumentor\Guides\Nodes\DefinitionLists\DefinitionNode; |
| 11 | +use phpDocumentor\Guides\Nodes\DocumentNode; |
| 12 | +use phpDocumentor\Guides\Nodes\FieldListNode; |
| 13 | +use phpDocumentor\Guides\Nodes\FigureNode; |
| 14 | +use phpDocumentor\Guides\Nodes\FootnoteNode; |
| 15 | +use phpDocumentor\Guides\Nodes\ImageNode; |
| 16 | +use phpDocumentor\Guides\Nodes\Inline\AbbreviationInlineNode; |
| 17 | +use phpDocumentor\Guides\Nodes\Inline\CitationInlineNode; |
| 18 | +use phpDocumentor\Guides\Nodes\Inline\DocReferenceNode; |
| 19 | +use phpDocumentor\Guides\Nodes\Inline\EmphasisInlineNode; |
| 20 | +use phpDocumentor\Guides\Nodes\Inline\FootnoteInlineNode; |
| 21 | +use phpDocumentor\Guides\Nodes\Inline\GenericTextRoleInlineNode; |
| 22 | +use phpDocumentor\Guides\Nodes\Inline\HyperLinkNode; |
| 23 | +use phpDocumentor\Guides\Nodes\Inline\ImageInlineNode; |
| 24 | +use phpDocumentor\Guides\Nodes\Inline\LiteralInlineNode; |
| 25 | +use phpDocumentor\Guides\Nodes\Inline\NewlineInlineNode; |
| 26 | +use phpDocumentor\Guides\Nodes\Inline\PlainTextInlineNode; |
| 27 | +use phpDocumentor\Guides\Nodes\Inline\ReferenceNode; |
| 28 | +use phpDocumentor\Guides\Nodes\Inline\StrongInlineNode; |
| 29 | +use phpDocumentor\Guides\Nodes\Inline\VariableInlineNode; |
| 30 | +use phpDocumentor\Guides\Nodes\Inline\WhitespaceInlineNode; |
| 31 | +use phpDocumentor\Guides\Nodes\InlineCompoundNode; |
| 32 | +use phpDocumentor\Guides\Nodes\ListItemNode; |
| 33 | +use phpDocumentor\Guides\Nodes\ListNode; |
| 34 | +use phpDocumentor\Guides\Nodes\LiteralBlockNode; |
| 35 | +use phpDocumentor\Guides\Nodes\Metadata\AddressNode; |
| 36 | +use phpDocumentor\Guides\Nodes\Metadata\AuthorNode; |
| 37 | +use phpDocumentor\Guides\Nodes\Metadata\AuthorsNode; |
| 38 | +use phpDocumentor\Guides\Nodes\Metadata\ContactNode; |
| 39 | +use phpDocumentor\Guides\Nodes\Metadata\CopyrightNode; |
| 40 | +use phpDocumentor\Guides\Nodes\Metadata\DateNode; |
| 41 | +use phpDocumentor\Guides\Nodes\Metadata\MetaNode; |
| 42 | +use phpDocumentor\Guides\Nodes\Metadata\NoCommentsNode; |
| 43 | +use phpDocumentor\Guides\Nodes\Metadata\NoSearchNode; |
| 44 | +use phpDocumentor\Guides\Nodes\Metadata\OrganizationNode; |
| 45 | +use phpDocumentor\Guides\Nodes\Metadata\OrphanNode; |
| 46 | +use phpDocumentor\Guides\Nodes\Metadata\RevisionNode; |
| 47 | +use phpDocumentor\Guides\Nodes\Metadata\TocDepthNode; |
| 48 | +use phpDocumentor\Guides\Nodes\Metadata\TopicNode; |
| 49 | +use phpDocumentor\Guides\Nodes\Metadata\VersionNode; |
| 50 | +use phpDocumentor\Guides\Nodes\ParagraphNode; |
| 51 | +use phpDocumentor\Guides\Nodes\QuoteNode; |
| 52 | +use phpDocumentor\Guides\Nodes\SectionNode; |
| 53 | +use phpDocumentor\Guides\Nodes\SeparatorNode; |
| 54 | +use phpDocumentor\Guides\Nodes\TitleNode; |
| 55 | + |
| 56 | +return [ |
| 57 | + AnchorNode::class => 'inline/anchor.html.twig', |
| 58 | + FigureNode::class => 'body/figure.html.twig', |
| 59 | + MetaNode::class => 'structure/header/meta.html.twig', |
| 60 | + ParagraphNode::class => 'body/paragraph.html.twig', |
| 61 | + QuoteNode::class => 'body/quote.html.twig', |
| 62 | + SeparatorNode::class => 'body/separator.html.twig', |
| 63 | + TitleNode::class => 'structure/header-title.html.twig', |
| 64 | + SectionNode::class => 'structure/section.html.twig', |
| 65 | + DocumentNode::class => 'structure/document.html.twig', |
| 66 | + ImageNode::class => 'body/image.html.twig', |
| 67 | + CodeNode::class => 'body/code.html.twig', |
| 68 | + DefinitionListNode::class => 'body/definition-list.html.twig', |
| 69 | + DefinitionNode::class => 'body/definition.html.twig', |
| 70 | + FieldListNode::class => 'body/field-list.html.twig', |
| 71 | + ListNode::class => 'body/list/list.html.twig', |
| 72 | + ListItemNode::class => 'body/list/list-item.html.twig', |
| 73 | + LiteralBlockNode::class => 'body/literal-block.html.twig', |
| 74 | + CitationNode::class => 'body/citation.html.twig', |
| 75 | + FootnoteNode::class => 'body/footnote.html.twig', |
| 76 | + AnnotationListNode::class => 'body/annotation-list.html.twig', |
| 77 | + // Inline |
| 78 | + ImageInlineNode::class => 'inline/image.html.twig', |
| 79 | + InlineCompoundNode::class => 'inline/inline-node.html.twig', |
| 80 | + AbbreviationInlineNode::class => 'inline/textroles/abbreviation.html.twig', |
| 81 | + CitationInlineNode::class => 'inline/citation.html.twig', |
| 82 | + DocReferenceNode::class => 'inline/doc.html.twig', |
| 83 | + EmphasisInlineNode::class => 'inline/emphasis.html.twig', |
| 84 | + FootnoteInlineNode::class => 'inline/footnote.html.twig', |
| 85 | + HyperLinkNode::class => 'inline/link.html.twig', |
| 86 | + LiteralInlineNode::class => 'inline/literal.html.twig', |
| 87 | + NewlineInlineNode::class => 'inline/newline.html.twig', |
| 88 | + WhitespaceInlineNode::class => 'inline/nbsp.html.twig', |
| 89 | + PlainTextInlineNode::class => 'inline/plain-text.html.twig', |
| 90 | + ReferenceNode::class => 'inline/ref.html.twig', |
| 91 | + StrongInlineNode::class => 'inline/strong.html.twig', |
| 92 | + VariableInlineNode::class => 'inline/variable.html.twig', |
| 93 | + GenericTextRoleInlineNode::class => 'inline/textroles/generic.html.twig', |
| 94 | + // Output as Metatags |
| 95 | + AuthorNode::class => 'structure/header/author.html.twig', |
| 96 | + CopyrightNode::class => 'structure/header/copyright.html.twig', |
| 97 | + DateNode::class => 'structure/header/date.html.twig', |
| 98 | + NoSearchNode::class => 'structure/header/no-search.html.twig', |
| 99 | + TopicNode::class => 'structure/header/topic.html.twig', |
| 100 | + // No output in page header in HTML - might be output in i.e. LaTex |
| 101 | + AddressNode::class => 'structure/header/blank.html.twig', |
| 102 | + AuthorsNode::class => 'structure/header/blank.html.twig', |
| 103 | + ContactNode::class => 'structure/header/blank.html.twig', |
| 104 | + NoCommentsNode::class => 'structure/header/blank.html.twig', |
| 105 | + OrganizationNode::class => 'structure/header/blank.html.twig', |
| 106 | + OrphanNode::class => 'structure/header/blank.html.twig', |
| 107 | + RevisionNode::class => 'structure/header/blank.html.twig', |
| 108 | + TocDepthNode::class => 'structure/header/blank.html.twig', |
| 109 | + VersionNode::class => 'structure/header/blank.html.twig', |
| 110 | +]; |
0 commit comments