-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update .editorconfig and fix conf indents (#8442)
- Loading branch information
Showing
5 changed files
with
362 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,97 @@ | ||
/* eslint-disable import/no-commonjs */ | ||
// VERSION replaced by deploy script | ||
module.exports = { | ||
title: 'Chart.js', | ||
tagline: 'Open source HTML5 Charts for your website', | ||
url: 'https://chartjs.org', | ||
baseUrl: '/docs/VERSION/', | ||
favicon: 'img/favicon.ico', | ||
organizationName: 'chartjs', // Usually your GitHub org/user name. | ||
projectName: 'chartjs.github.io', // Usually your repo name. | ||
scripts: ['https://www.chartjs.org/dist/VERSION/chart.min.js'], | ||
themes: ['@docusaurus/theme-live-codeblock'], | ||
onBrokenLinks: 'warn', | ||
themeConfig: { | ||
algolia: { | ||
apiKey: 'd7ee00a3cbaaf3c33e28ad1c274e7ba6', | ||
indexName: 'chartjs', | ||
algoliaOptions: { | ||
facetFilters: ['version:VERSION'], | ||
} | ||
}, | ||
googleAnalytics: { | ||
trackingID: 'UA-28909194-3', | ||
// Optional fields. | ||
anonymizeIP: true, // Should IPs be anonymized? | ||
}, | ||
colorMode: { | ||
disableSwitch: true, // Would need to implement for Charts embedded in docs | ||
}, | ||
navbar: { | ||
title: 'Chart.js', | ||
logo: { | ||
alt: 'Chart.js Logo', | ||
src: 'img/logo.svg', | ||
}, | ||
}, | ||
footer: { | ||
style: 'dark', | ||
links: [ | ||
{ | ||
title: 'Other Docs', | ||
items: [ | ||
{ | ||
label: 'Samples', | ||
href: 'https://www.chartjs.org/samples/VERSION/', | ||
}, | ||
{ | ||
label: 'v2 Docs', | ||
href: 'https://www.chartjs.org/docs/2.9.4/', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Slack', | ||
href: 'https://chartjs-slack.herokuapp.com/', | ||
}, | ||
{ | ||
label: 'Stack Overflow', | ||
href: 'https://stackoverflow.com/questions/tagged/chart.js', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Developers', | ||
items: [ | ||
{ | ||
label: 'GitHub', | ||
href: 'https://github.com/chartjs/Chart.js', | ||
}, | ||
{ | ||
label: 'Contributing', | ||
to: 'developers/contributing', | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} Chart.js contributors.`, | ||
}, | ||
}, | ||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
{ | ||
docs: { | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
routeBasePath: '/', | ||
editUrl: 'https://github.com/chartjs/Chart.js/edit/master/docs/', | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}, | ||
], | ||
], | ||
title: 'Chart.js', | ||
tagline: 'Open source HTML5 Charts for your website', | ||
url: 'https://chartjs.org', | ||
baseUrl: '/docs/VERSION/', | ||
favicon: 'img/favicon.ico', | ||
organizationName: 'chartjs', // Usually your GitHub org/user name. | ||
projectName: 'chartjs.github.io', // Usually your repo name. | ||
scripts: ['https://www.chartjs.org/dist/VERSION/chart.min.js'], | ||
themes: ['@docusaurus/theme-live-codeblock'], | ||
onBrokenLinks: 'warn', | ||
themeConfig: { | ||
algolia: { | ||
apiKey: 'd7ee00a3cbaaf3c33e28ad1c274e7ba6', | ||
indexName: 'chartjs', | ||
algoliaOptions: { | ||
facetFilters: ['version:VERSION'], | ||
} | ||
}, | ||
googleAnalytics: { | ||
trackingID: 'UA-28909194-3', | ||
// Optional fields. | ||
anonymizeIP: true, // Should IPs be anonymized? | ||
}, | ||
colorMode: { | ||
disableSwitch: true, // Would need to implement for Charts embedded in docs | ||
}, | ||
navbar: { | ||
title: 'Chart.js', | ||
logo: { | ||
alt: 'Chart.js Logo', | ||
src: 'img/logo.svg', | ||
}, | ||
}, | ||
footer: { | ||
style: 'dark', | ||
links: [ | ||
{ | ||
title: 'Other Docs', | ||
items: [ | ||
{ | ||
label: 'Samples', | ||
href: 'https://www.chartjs.org/samples/VERSION/', | ||
}, | ||
{ | ||
label: 'v2 Docs', | ||
href: 'https://www.chartjs.org/docs/2.9.4/', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Slack', | ||
href: 'https://chartjs-slack.herokuapp.com/', | ||
}, | ||
{ | ||
label: 'Stack Overflow', | ||
href: 'https://stackoverflow.com/questions/tagged/chart.js', | ||
}, | ||
], | ||
}, | ||
{ | ||
title: 'Developers', | ||
items: [ | ||
{ | ||
label: 'GitHub', | ||
href: 'https://github.com/chartjs/Chart.js', | ||
}, | ||
{ | ||
label: 'Contributing', | ||
to: 'developers/contributing', | ||
}, | ||
], | ||
}, | ||
], | ||
copyright: `Copyright © ${new Date().getFullYear()} Chart.js contributors.`, | ||
}, | ||
}, | ||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
{ | ||
docs: { | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
routeBasePath: '/', | ||
editUrl: 'https://github.com/chartjs/Chart.js/edit/master/docs/', | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}, | ||
], | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.