From c2d79ec03983b6532802d58a5788e87c097d5248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salvador=20P=C3=A9rez?= Date: Mon, 23 Jun 2025 19:33:19 -0600 Subject: [PATCH] translate overview on table of contents --- src/utils/prepareMDX.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/prepareMDX.js b/src/utils/prepareMDX.js index 44605da66..6e493c6be 100644 --- a/src/utils/prepareMDX.js +++ b/src/utils/prepareMDX.js @@ -7,7 +7,7 @@ import {Children} from 'react'; // TODO: Esta lógica podría estar en plugins MDX en lugar de esto. // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -export const PREPARE_MDX_CACHE_BREAKER = 3; +export const PREPARE_MDX_CACHE_BREAKER = 4; // !!! IMPORTANT !!! Bump this if you change any logic. // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -65,7 +65,7 @@ function getTableOfContents(children, depth) { if (anchors.length > 0) { anchors.unshift({ url: '#', - text: 'Overview', + text: 'Descripción general', depth: 2, }); }