diff --git a/src/Commands/core/MkCommands.php b/src/Commands/core/MkCommands.php index a889beead7..1c6e3693ea 100644 --- a/src/Commands/core/MkCommands.php +++ b/src/Commands/core/MkCommands.php @@ -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);