src/phpDocumentor/Plugin/Scrybe/Converter/RestructuredText/ToHtml.php
protected function discover()
    {
        /** @var File $file */
        foreach ($this->fileset as $file) {
            $rst = new Document($this, $file);
            $rst->options->xhtmlVisitor = 'phpDocumentor\Plugin\Scrybe\Converter\RestructuredText\Visitors\Discover';

            if ($this->getLogger()) {
                $this->getLogger()->info('Scanning file "' . $file->getRealPath() . '"');
            }

            try {
                $rst->getAsXhtml();
            } catch (\Exception $e) {
                continue;
            }
        }
    }
protected function discover()
    {
        /** @var File $file */
        foreach ($this->fileset as $file) {
            $rst = new Document($this, $file);
            $rst->options->xhtmlVisitor = 'phpDocumentor\Plugin\Scrybe\Converter\RestructuredText\Visitors\Discover';

            if ($this->getLogger()) {
                $this->getLogger()->info('Scanning file "' . $file->getRealPath() . '"');
            }

            try {
                $rst->getAsXhtml();
            } catch (\Exception $e) {
                continue;
            }
        }
    }
protected function discover ( ) { /** @var File $file */ foreach ( $ this -> fileset as $ file ) { $ rst = new Document ( $ this , $ file ) ; $ rst -> options -> xhtmlVisitor = 'phpDocumentor\Plugin\Scrybe\Converter\RestructuredText\Visitors\Discover' ; if ( $ this -> getLogger ( ) ) { $ this -> getLogger ( ) -> info ( 'Scanning file "' . $ file -> getRealPath ( ) . '"' ) ; } try { $ rst -> getAsXhtml ( ) ; } catch ( \ Exception $ e ) { continue ; } } }
Discovers the data that is spanning all files.

This method tries to find any data that needs to be collected before the actual creation and substitution
phase begins.

Examples of data that needs to be collected during an initial phase is a table of contents, list of document
titles for references, assets and more.

@see manual://internals#build_cycle for more information regarding the build process.

@return void
Discovers the data that is spanning all files .