Skip to content

Commit

Permalink
Try adding back API link (#6198)
Browse files Browse the repository at this point in the history
* Try adding back API link

* Root relative link
  • Loading branch information
weitzman authored Jan 6, 2025
1 parent 55fbd67 commit 57d5034
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Commands/core/MkCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +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['plugins'][]['redirects']['redirect_maps'] = $map_commands + $map_generators;
$yaml_nav = Yaml::dump($base, PHP_INT_MAX, 2);

Expand Down

0 comments on commit 57d5034

Please sign in to comment.