re-enable showLastUpdate for localized sites

This commit is contained in:
sebastien 2025-10-31 11:07:23 +01:00
parent 677c85416a
commit 1d44ebc339

View File

@ -162,7 +162,8 @@ function getLocalizedConfigValue(key: keyof typeof ConfigLocalized) {
// By default, we don't want to run "git log" commands on i18n sites
// This makes localized sites build much slower on Netlify
// See also https://github.com/facebook/docusaurus/issues/11208
const showLastUpdate = process.env.DOCUSAURUS_CURRENT_LOCALE === defaultLocale;
// const showLastUpdate = process.env.DOCUSAURUS_CURRENT_LOCALE === defaultLocale;
const showLastUpdate = true;
export default async function createConfigAsync() {
return {