feat(theme): show unlisted/draft banners in dev mode #4742
Annotations
6 errors
theme translations › has base messages files contain EXACTLY all the translations extracted from the theme. Please run "yarn workspace @docusaurus/theme-translations update" to keep base messages files up-to-date:
packages/docusaurus-theme-translations/locales/__tests__/locales.test.ts#L41
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
@@ -104,12 +104,12 @@
"theme.docs.versionBadge.label": "Version: {versionLabel}",
"theme.docs.versions.latestVersionLinkLabel": "latest version",
"theme.docs.versions.latestVersionSuggestionLabel": "For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).",
"theme.docs.versions.unmaintainedVersionLabel": "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.",
"theme.docs.versions.unreleasedVersionLabel": "This is unreleased documentation for {siteTitle} {versionLabel} version.",
- "theme.draftContent.message": "This page is a draft and will be excluded from production build.",
- "theme.draftContent.title": "Draft page",
+ "theme.draftContent.message": "This page is drafted and will be excluded from production build.",
+ "theme.draftContent.title": "Drafted page",
"theme.lastUpdated.atDate": " on {date}",
"theme.lastUpdated.byUser": " by {user}",
"theme.lastUpdated.lastUpdatedAtBy": "Last updated{atDate}{byUser}",
"theme.navbar.mobileLanguageDropdown.label": "Languages",
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": "← Back to main menu",
at Object.toEqual (packages/docusaurus-theme-translations/locales/__tests__/locales.test.ts:41:26)
|
Windows Tests (18.0)
Process completed with exit code 1.
|
Windows Tests (20)
The job was canceled because "_18_0" failed.
|
Windows Tests (20)
The operation was canceled.
|
Windows Tests (22.4)
The job was canceled because "_18_0" failed.
|
Windows Tests (22.4)
The operation was canceled.
|