We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f750ad commit e8e6ee2Copy full SHA for e8e6ee2
src/KernelFactory.php
@@ -29,6 +29,8 @@ final class KernelFactory
29
public static function createKernel(BuildConfig $buildConfig, ?UrlChecker $urlChecker = null): Kernel
30
{
31
$configuration = new RSTParserConfiguration();
32
+ // needed to avoid outputting parser errors on the console output or the webpage contents
33
+ $configuration->silentOnError(true);
34
$configuration->setCustomTemplateDirs([__DIR__.'/Templates']);
35
$configuration->setTheme($buildConfig->getTheme());
36
$configuration->setCacheDir(sprintf('%s/var/cache', $buildConfig->getCacheDir()));
0 commit comments