d3d62a62c3
* Update docusaurus to fix security vuln in dependency Also update docusaurus config to match new version. Fixed some broken links in the documentation, but not sure if they were related to the version change. * Remove bad links * Make broken links a warning instead of error
106 lines
3.0 KiB
JavaScript
106 lines
3.0 KiB
JavaScript
module.exports = {
|
|
onBrokenLinks: 'warn',
|
|
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.
|
|
themeConfig: {
|
|
navbar: {
|
|
title: 'OpenRefine Documentation',
|
|
logo: {
|
|
alt: 'OpenRefine diamond logo',
|
|
src: 'img/openrefine_logo.png',
|
|
},
|
|
items: [
|
|
{
|
|
to: '/',
|
|
activeBasePath: 'docs',
|
|
label: 'User Manual',
|
|
position: 'left',
|
|
},
|
|
{to: 'technical-reference/technical-reference-index',
|
|
label: 'Technical Reference',
|
|
position: 'left'},
|
|
{
|
|
href: 'https://github.com/OpenRefine/OpenRefine/edit/master/docs',
|
|
label: 'GitHub',
|
|
position: 'right',
|
|
},
|
|
],
|
|
},
|
|
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'),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|