Merge pull request #120 from JapSeyz/patch-1

Allow changes to be made to the info vendor view
This commit is contained in:
Shalvah A
2018-09-09 02:01:58 +01:00
committed by GitHub

View File

@@ -133,10 +133,6 @@ class GenerateDocumentation extends Command
$generatedDocumentation = file_get_contents($targetFile);
$compareDocumentation = file_get_contents($compareFile);
if (preg_match('/<!-- START_INFO -->(.*)<!-- END_INFO -->/is', $generatedDocumentation, $generatedInfoText)) {
$infoText = trim($generatedInfoText[1], "\n");
}
if (preg_match('/---(.*)---\\s<!-- START_INFO -->/is', $generatedDocumentation, $generatedFrontmatter)) {
$frontmatter = trim($generatedFrontmatter[1], "\n");
}