Skip to content

Commit

Permalink
Root relative link
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Jan 6, 2025
1 parent 3d75810 commit 06e86ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/core/MkCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ protected function writeYml(array $nav_commands, array $nav_generators, array $m
$base = Yaml::parseFile(Path::join($dest, 'mkdocs_base.yml'));
$base['nav'][] = ['Commands' => $nav_commands];
$base['nav'][] = ['Generators' => $nav_generators];
$base['nav'][] = ['API' => 'api'];
$base['nav'][] = ['API' => '/api'];
$base['plugins'][]['redirects']['redirect_maps'] = $map_commands + $map_generators;
$yaml_nav = Yaml::dump($base, PHP_INT_MAX, 2);

Expand Down

0 comments on commit 06e86ad

Please sign in to comment.