mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
refactor: remove unused metadata field for homepage (#6056)
This commit is contained in:
parent
fb6393fdce
commit
283166c211
7 changed files with 0 additions and 100 deletions
|
@ -337,7 +337,6 @@ describe('simple website', () => {
|
|||
id: 'foo/baz',
|
||||
unversionedId: 'foo/baz',
|
||||
sourceDirName: 'foo',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/foo/bazSlug.html',
|
||||
slug: '/foo/bazSlug.html',
|
||||
previous: {
|
||||
|
@ -388,7 +387,6 @@ describe('simple website', () => {
|
|||
id: 'hello',
|
||||
unversionedId: 'hello',
|
||||
sourceDirName: '.',
|
||||
isDocsHomePage: true,
|
||||
permalink: '/docs/',
|
||||
slug: '/',
|
||||
previous: {
|
||||
|
@ -427,7 +425,6 @@ describe('simple website', () => {
|
|||
id: 'foo/bar',
|
||||
unversionedId: 'foo/bar',
|
||||
sourceDirName: 'foo',
|
||||
isDocsHomePage: false,
|
||||
next: {
|
||||
title: 'baz pagination_label',
|
||||
permalink: '/docs/foo/bazSlug.html',
|
||||
|
@ -588,7 +585,6 @@ describe('versioned website', () => {
|
|||
id: 'foo/bar',
|
||||
unversionedId: 'foo/bar',
|
||||
sourceDirName: 'foo',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/next/foo/barSlug',
|
||||
slug: '/foo/barSlug',
|
||||
source: path.posix.join(
|
||||
|
@ -624,7 +620,6 @@ describe('versioned website', () => {
|
|||
id: 'version-1.0.1/foo/bar',
|
||||
unversionedId: 'foo/bar',
|
||||
sourceDirName: 'foo',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/foo/bar',
|
||||
slug: '/foo/bar',
|
||||
source: path.posix.join(
|
||||
|
@ -650,7 +645,6 @@ describe('versioned website', () => {
|
|||
id: 'hello',
|
||||
unversionedId: 'hello',
|
||||
sourceDirName: '.',
|
||||
isDocsHomePage: true,
|
||||
permalink: '/docs/next/',
|
||||
slug: '/',
|
||||
source: path.posix.join(
|
||||
|
@ -673,7 +667,6 @@ describe('versioned website', () => {
|
|||
id: 'version-1.0.1/hello',
|
||||
unversionedId: 'hello',
|
||||
sourceDirName: '.',
|
||||
isDocsHomePage: true,
|
||||
permalink: '/docs/',
|
||||
slug: '/',
|
||||
source: path.posix.join(
|
||||
|
@ -696,7 +689,6 @@ describe('versioned website', () => {
|
|||
id: 'version-1.0.0/foo/baz',
|
||||
unversionedId: 'foo/baz',
|
||||
sourceDirName: 'foo',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/1.0.0/foo/baz',
|
||||
slug: '/foo/baz',
|
||||
source: path.posix.join(
|
||||
|
@ -844,7 +836,6 @@ describe('versioned website (community)', () => {
|
|||
id: 'team',
|
||||
unversionedId: 'team',
|
||||
sourceDirName: '.',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/community/next/team',
|
||||
slug: '/team',
|
||||
source:
|
||||
|
@ -860,7 +851,6 @@ describe('versioned website (community)', () => {
|
|||
id: 'version-1.0.0/team',
|
||||
unversionedId: 'team',
|
||||
sourceDirName: '.',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/community/team',
|
||||
slug: '/team',
|
||||
source: path.posix.join(
|
||||
|
@ -1056,7 +1046,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'getting-started',
|
||||
unversionedId: 'getting-started',
|
||||
sourceDirName: '.',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/getting-started',
|
||||
slug: '/getting-started',
|
||||
source: path.posix.join(
|
||||
|
@ -1082,7 +1071,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'installation',
|
||||
unversionedId: 'installation',
|
||||
sourceDirName: '.',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/installation',
|
||||
slug: '/installation',
|
||||
source: path.posix.join(
|
||||
|
@ -1111,7 +1099,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'Guides/guide1',
|
||||
unversionedId: 'Guides/guide1',
|
||||
sourceDirName: 'Guides',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/Guides/guide1',
|
||||
slug: '/Guides/guide1',
|
||||
source: path.posix.join(
|
||||
|
@ -1144,7 +1131,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'Guides/guide2',
|
||||
unversionedId: 'Guides/guide2',
|
||||
sourceDirName: 'Guides',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/Guides/guide2',
|
||||
slug: '/Guides/guide2',
|
||||
source: path.posix.join(
|
||||
|
@ -1176,7 +1162,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'Guides/guide2.5',
|
||||
unversionedId: 'Guides/guide2.5',
|
||||
sourceDirName: 'Guides',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/Guides/guide2.5',
|
||||
slug: '/Guides/guide2.5',
|
||||
source: path.posix.join(
|
||||
|
@ -1209,7 +1194,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'Guides/guide3',
|
||||
unversionedId: 'Guides/guide3',
|
||||
sourceDirName: 'Guides',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/Guides/guide3',
|
||||
slug: '/Guides/guide3',
|
||||
source: path.posix.join(
|
||||
|
@ -1242,7 +1226,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'Guides/guide4',
|
||||
unversionedId: 'Guides/guide4',
|
||||
sourceDirName: 'Guides',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/Guides/guide4',
|
||||
slug: '/Guides/guide4',
|
||||
source: path.posix.join(
|
||||
|
@ -1274,7 +1257,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'Guides/guide5',
|
||||
unversionedId: 'Guides/guide5',
|
||||
sourceDirName: 'Guides',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/Guides/guide5',
|
||||
slug: '/Guides/guide5',
|
||||
source: path.posix.join(
|
||||
|
@ -1306,7 +1288,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'API/api-overview',
|
||||
unversionedId: 'API/api-overview',
|
||||
sourceDirName: '3-API',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/api-overview',
|
||||
slug: '/API/api-overview',
|
||||
source: path.posix.join(
|
||||
|
@ -1336,7 +1317,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'API/Core APIs/Client API',
|
||||
unversionedId: 'API/Core APIs/Client API',
|
||||
sourceDirName: '3-API/01_Core APIs',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/Core APIs/Client API',
|
||||
slug: '/API/Core APIs/Client API',
|
||||
source: path.posix.join(
|
||||
|
@ -1367,7 +1347,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'API/Core APIs/Server API',
|
||||
unversionedId: 'API/Core APIs/Server API',
|
||||
sourceDirName: '3-API/01_Core APIs',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/Core APIs/Server API',
|
||||
slug: '/API/Core APIs/Server API',
|
||||
source: path.posix.join(
|
||||
|
@ -1398,7 +1377,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'API/Extension APIs/Plugin API',
|
||||
unversionedId: 'API/Extension APIs/Plugin API',
|
||||
sourceDirName: '3-API/02_Extension APIs',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/Extension APIs/Plugin API',
|
||||
slug: '/API/Extension APIs/Plugin API',
|
||||
source: path.posix.join(
|
||||
|
@ -1429,7 +1407,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'API/Extension APIs/Theme API',
|
||||
unversionedId: 'API/Extension APIs/Theme API',
|
||||
sourceDirName: '3-API/02_Extension APIs',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/Extension APIs/Theme API',
|
||||
slug: '/API/Extension APIs/Theme API',
|
||||
source: path.posix.join(
|
||||
|
@ -1460,7 +1437,6 @@ describe('site with full autogenerated sidebar', () => {
|
|||
id: 'API/api-end',
|
||||
unversionedId: 'API/api-end',
|
||||
sourceDirName: '3-API',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/api-end',
|
||||
slug: '/API/api-end',
|
||||
source: path.posix.join(
|
||||
|
@ -1555,7 +1531,6 @@ describe('site with partial autogenerated sidebars', () => {
|
|||
id: 'API/api-end',
|
||||
unversionedId: 'API/api-end',
|
||||
sourceDirName: '3-API',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/api-end',
|
||||
slug: '/API/api-end',
|
||||
source: path.posix.join(
|
||||
|
@ -1582,7 +1557,6 @@ describe('site with partial autogenerated sidebars', () => {
|
|||
id: 'API/api-overview',
|
||||
unversionedId: 'API/api-overview',
|
||||
sourceDirName: '3-API',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/api-overview',
|
||||
slug: '/API/api-overview',
|
||||
source: path.posix.join(
|
||||
|
@ -1612,7 +1586,6 @@ describe('site with partial autogenerated sidebars', () => {
|
|||
id: 'API/Extension APIs/Plugin API',
|
||||
unversionedId: 'API/Extension APIs/Plugin API',
|
||||
sourceDirName: '3-API/02_Extension APIs',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/Extension APIs/Plugin API',
|
||||
slug: '/API/Extension APIs/Plugin API',
|
||||
source: path.posix.join(
|
||||
|
@ -1643,7 +1616,6 @@ describe('site with partial autogenerated sidebars', () => {
|
|||
id: 'API/Extension APIs/Theme API',
|
||||
unversionedId: 'API/Extension APIs/Theme API',
|
||||
sourceDirName: '3-API/02_Extension APIs',
|
||||
isDocsHomePage: false,
|
||||
permalink: '/docs/API/Extension APIs/Theme API',
|
||||
slug: '/API/Extension APIs/Theme API',
|
||||
source: path.posix.join(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue