From 9b7ea12a1366b566f32a93bef20fc079288d9244 Mon Sep 17 00:00:00 2001 From: Rachel Price <52579263+raprice@users.noreply.github.com> Date: Wed, 24 Jan 2024 00:27:52 -0800 Subject: [PATCH] Fix breadcrumbs (#54) * Update and rename toc.yml to toc.yml * Update breadcrumb path and uhfHeaderId * Update breadcrumb path --- docs/Mono.Android/en/XamarinAndroidAPI-breadcrumb/toc.yml | 7 +++++++ docs/Mono.Android/en/breadcrumb/toc.yml | 2 -- docs/Mono.Android/en/docfx.json | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 docs/Mono.Android/en/XamarinAndroidAPI-breadcrumb/toc.yml delete mode 100644 docs/Mono.Android/en/breadcrumb/toc.yml diff --git a/docs/Mono.Android/en/XamarinAndroidAPI-breadcrumb/toc.yml b/docs/Mono.Android/en/XamarinAndroidAPI-breadcrumb/toc.yml new file mode 100644 index 0000000000..f236d226a2 --- /dev/null +++ b/docs/Mono.Android/en/XamarinAndroidAPI-breadcrumb/toc.yml @@ -0,0 +1,7 @@ +- name: Xamarin + tocHref: /dotnet/ + topicHref: /xamarin/index + items: + - name: .NET API browser + tocHref: /dotnet/ + topicHref: /dotnet/api/index diff --git a/docs/Mono.Android/en/breadcrumb/toc.yml b/docs/Mono.Android/en/breadcrumb/toc.yml deleted file mode 100644 index 3ca54ed46e..0000000000 --- a/docs/Mono.Android/en/breadcrumb/toc.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: Docs - tocHref: / \ No newline at end of file diff --git a/docs/Mono.Android/en/docfx.json b/docs/Mono.Android/en/docfx.json index 143dfdca06..e65c30e17e 100644 --- a/docs/Mono.Android/en/docfx.json +++ b/docs/Mono.Android/en/docfx.json @@ -43,13 +43,13 @@ "ms.subservice": "xamarin-android", "ms.service": "xamarin", "apiPlatform": "dotnet", - "breadcrumb_path": "~/breadcrumb/toc.yml", + "breadcrumb_path": "/dotnet/XamarinAndroidAPI-breadcrumb/toc.json", "author": "dotnet-bot", "ms.author": "dotnetcontent", "manager": "crdun", "ms.date": "02/08/2019", "searchScope": ["Xamarin.Android API"], - "uhfHeaderId": "MSDocsHeader-DotNet", + "uhfHeaderId": "MSDocsHeader-Xamarin", "ms.topic": "managed-reference", "products": ["https://authoring-docs-microsoft.poolparty.biz/devrel/f0c462af-0ef9-4821-b36f-ba3d94736e2b"], "defaultDevLang": "csharp"