Skip to content

Commit

Permalink
feat(v2): include themeConfig.noIndex in CLI migration v1 to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzahamidi committed Oct 12, 2020
1 parent a4a5503 commit ef6ab4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-migrate/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ export function createConfigFile({
'stylesheets',
'favicon',
'cname',
'noIndex',
'headerLinks',
'headerIcon',
'footerIcon',
Expand Down Expand Up @@ -296,6 +295,7 @@ export function createConfigFile({
baseUrl: siteConfig.baseUrl ?? '',
organizationName: siteConfig.organizationName,
projectName: siteConfig.projectName,
noIndex: siteConfig.noIndex,
scripts: siteConfig.scripts,
stylesheets: siteConfig.stylesheets,
favicon: siteConfig.favicon ?? '',
Expand Down
1 change: 1 addition & 0 deletions packages/docusaurus-migrate/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export interface VersionTwoConfig {
url: string;
organizationName?: string;
projectName?: string;
noIndex?: string;
githubHost?: string;
onBrokenLinks: string;
plugins: Array<[string, {[key: string]: any}]>;
Expand Down

0 comments on commit ef6ab4b

Please sign in to comment.