From 57d5034244a9361347802604f2352c3a2b2444a0 Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Mon, 6 Jan 2025 13:33:58 -0500 Subject: [PATCH] Try adding back API link (#6198) * Try adding back API link * Root relative link --- src/Commands/core/MkCommands.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Commands/core/MkCommands.php b/src/Commands/core/MkCommands.php index 8d04eb4ee6..1c6e3693ea 100644 --- a/src/Commands/core/MkCommands.php +++ b/src/Commands/core/MkCommands.php @@ -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);