mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-18 12:06:35 +08:00
Merge pull request #120 from JapSeyz/patch-1
Allow changes to be made to the info vendor view
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user