Guides

MachineReadableExtension extends Extension
in package

FinalYes

Symfony DI extension for the guides-machine-readable package.

The package holds the output that describes a manual to the tools and language models that read it rather than to a person: what a reader gets from the rendered pages and the navigation around them, a program has to be told. The "llm_toc" output format is the first of it, writing the manual's table of contents as "toc.json"; more is expected to follow, which is why this is a package rather than a file.

Everything it registers is rendered beside whatever else the project renders, and enabling the extension is all there is to it:

<extension class="phpDocumentor\Guides\MachineReadable\DependencyInjection\MachineReadableExtension"/>

Table of Contents

Methods

load()  : void

Methods

load()

public load(array $configs, ContainerBuilder $container) : void
Parameters
$configs : array
$container : ContainerBuilder
On this page

Search results