mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 02:12:36 +02:00
misc: replace all "Metadatas" with "Metadata" (#5871)
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
parent
eab8c7c010
commit
c541e2d83c
36 changed files with 107 additions and 106 deletions
|
@ -28,13 +28,13 @@ describe('parseCodeBlockTitle', () => {
|
|||
expect(parseCodeBlockTitle(`{1,2-3}`)).toEqual(``);
|
||||
});
|
||||
|
||||
test('should parse with multiple metadatas title first', () => {
|
||||
test('should parse with multiple metadata title first', () => {
|
||||
expect(parseCodeBlockTitle(`title="index.js" label="JavaScript"`)).toEqual(
|
||||
`index.js`,
|
||||
);
|
||||
});
|
||||
|
||||
test('should parse with multiple metadatas title last', () => {
|
||||
test('should parse with multiple metadata title last', () => {
|
||||
expect(parseCodeBlockTitle(`label="JavaScript" title="index.js"`)).toEqual(
|
||||
`index.js`,
|
||||
);
|
||||
|
|
|
@ -113,7 +113,7 @@ export type ThemeConfig = {
|
|||
footer?: Footer;
|
||||
hideableSidebar: boolean;
|
||||
image?: string;
|
||||
metadatas: Array<Record<string, string>>;
|
||||
metadata: Array<Record<string, string>>;
|
||||
sidebarCollapsible: boolean;
|
||||
tableOfContents: TableOfContents;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue