2020-06-29 08:45:24 +02:00
|
|
|
module.exports = {
|
2021-02-20 10:08:45 +01:00
|
|
|
onBrokenLinks: 'error',
|
2021-04-24 15:33:24 +02:00
|
|
|
onBrokenMarkdownLinks: 'error',
|
2020-06-29 08:45:24 +02:00
|
|
|
title: 'OpenRefine',
|
|
|
|
tagline: 'A power tool for working with messy data.',
|
|
|
|
url: 'https://docs.openrefine.org/',
|
|
|
|
baseUrl: '/',
|
|
|
|
favicon: 'img/openrefine_logo.png',
|
|
|
|
organizationName: 'OpenRefine', // Usually your GitHub org/user name.
|
|
|
|
projectName: 'OpenRefine', // Usually your repo name.
|
2021-07-02 20:37:23 +02:00
|
|
|
i18n: {
|
|
|
|
defaultLocale: 'en',
|
|
|
|
locales: ['en', 'jp', 'fr'],
|
|
|
|
},
|
2020-06-29 08:45:24 +02:00
|
|
|
themeConfig: {
|
|
|
|
navbar: {
|
|
|
|
title: 'OpenRefine Documentation',
|
|
|
|
logo: {
|
|
|
|
alt: 'OpenRefine diamond logo',
|
|
|
|
src: 'img/openrefine_logo.png',
|
|
|
|
},
|
2020-10-16 20:49:57 +02:00
|
|
|
items: [
|
2020-06-29 08:45:24 +02:00
|
|
|
{
|
|
|
|
to: '/',
|
|
|
|
activeBasePath: 'docs',
|
|
|
|
label: 'User Manual',
|
|
|
|
position: 'left',
|
|
|
|
},
|
2021-07-02 20:37:23 +02:00
|
|
|
{
|
|
|
|
to: 'technical-reference/technical-reference-index',
|
|
|
|
label: 'Technical Reference',
|
|
|
|
position: 'left'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 'localeDropdown',
|
|
|
|
position: 'right',
|
|
|
|
},
|
2020-06-29 08:45:24 +02:00
|
|
|
{
|
|
|
|
href: 'https://github.com/OpenRefine/OpenRefine/edit/master/docs',
|
2021-07-02 20:37:23 +02:00
|
|
|
'aria-label': 'GitHub',
|
|
|
|
className: 'header-github-link',
|
2020-06-29 08:45:24 +02:00
|
|
|
position: 'right',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2021-01-21 18:05:27 +01:00
|
|
|
algolia: {
|
|
|
|
apiKey: '591fc612419d2e5b6bee6822cc17064f',
|
|
|
|
indexName: 'openrefine',
|
|
|
|
contextualSearch: true,
|
|
|
|
},
|
2020-06-29 08:45:24 +02:00
|
|
|
footer: {
|
|
|
|
logo: {
|
|
|
|
alt: 'OpenRefine diamond logo',
|
|
|
|
src: 'img/openrefine_logo.png',
|
|
|
|
href: 'https://docs.openrefine.org',
|
|
|
|
},
|
|
|
|
style: 'dark',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: 'Community',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Mailing List',
|
|
|
|
href: 'http://groups.google.com/group/openrefine/'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Gitter Chat',
|
|
|
|
href: 'https://gitter.im/OpenRefine/OpenRefine',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'Twitter',
|
|
|
|
href: 'https://twitter.com/openrefine',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'More',
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: 'Official Website',
|
|
|
|
href: 'https://openrefine.org',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: 'GitHub',
|
|
|
|
href: 'https://github.com/OpenRefine/OpenRefine',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} OpenRefine contributors`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
themes: [],
|
|
|
|
plugins: [],
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@docusaurus/preset-classic',
|
|
|
|
{
|
|
|
|
docs: {
|
|
|
|
// Docs folder path relative to website dir. Equivalent to `customDocsPath`.
|
|
|
|
// path: 'docs',
|
|
|
|
// Sidebars file relative to website dir.
|
|
|
|
sidebarPath: require.resolve('./sidebars.js'),
|
|
|
|
// Equivalent to `editUrl` but should point to `website` dir instead of `website/docs`.
|
|
|
|
editUrl: 'https://github.com/OpenRefine/OpenRefine/edit/master/docs',
|
|
|
|
// Equivalent to `docsUrl`.
|
|
|
|
routeBasePath: '/',
|
|
|
|
// Remark and Rehype plugins passed to MDX. Replaces `markdownOptions` and `markdownPlugins`.
|
|
|
|
remarkPlugins: [],
|
|
|
|
rehypePlugins: [],
|
|
|
|
// Equivalent to `enableUpdateBy`.
|
|
|
|
showLastUpdateAuthor: true,
|
|
|
|
// Equivalent to `enableUpdateTime`.
|
|
|
|
showLastUpdateTime: true,
|
|
|
|
},
|
|
|
|
theme: {
|
|
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2021-04-24 15:33:24 +02:00
|
|
|
scripts: [
|
|
|
|
{
|
|
|
|
src: '/js/fix-location.js',
|
|
|
|
async: false,
|
|
|
|
defer: false,
|
|
|
|
},
|
|
|
|
],
|
2020-06-29 08:45:24 +02:00
|
|
|
};
|