From 93e7941dc4c89d6ede35b4f42f6ae1790b4d4ab2 Mon Sep 17 00:00:00 2001 From: Maofeng Date: Sun, 20 Sep 2026 15:57:47 +0800 Subject: [PATCH] fix(docs): include section in article breadcrumb --- docs/src/pages/article.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/src/pages/article.tsx b/docs/src/pages/article.tsx index d6f0bd8..1d7fc97 100644 --- a/docs/src/pages/article.tsx +++ b/docs/src/pages/article.tsx @@ -344,6 +344,21 @@ function Header({ docLocation }: { docLocation: DocLocation }) {
  • /
  • + {docLocation.page.section !== "overview" && ( + <> +
  • + + {getDocSectionLabel( + docLocation.page.section, + docLocation.locale + )} + +
  • +
  • + / +
  • + + )}
  • {docLocation.page.title}