Skip to content

Commit

Permalink
Fix bug #47
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 1, 2022
1 parent 1127bdd commit 392ecf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StaticPageBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __invoke()

if ($this->page instanceof DocumentationPage) {
if (! file_exists(Hyde::path('_site/'.Hyde::docsDirectory()))) {
mkdir(Hyde::path('_site/'.Hyde::docsDirectory()));
mkdir(Hyde::path('_site/'.Hyde::docsDirectory()), recursive: true);
}

return $this->save(Hyde::docsDirectory().'/'.$this->page->slug, $this->compileDocs());
Expand Down

0 comments on commit 392ecf0

Please sign in to comment.