Skip to content

Commit

Permalink
Update documentation page route key formatting to use normalized parent
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed May 1, 2024
1 parent 2f82b49 commit 7141075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/Pages/DocumentationPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function getTableOfContents(): string
public function getRouteKey(): string
{
return Config::getBool('docs.flattened_output_paths', true)
? unslash(static::outputDirectory().'/'.basename($this->identifier))
? unslash(static::outputDirectory().'/'.basename(parent::getRouteKey()))
: parent::getRouteKey();
}

Expand Down

0 comments on commit 7141075

Please sign in to comment.