2a34c8b5e6
* begin Docusaurus 2 migration * Need help fixing the broken 'index' * needs further customizing footer if we want * fix README.md * fixed Pages and Sidebar not loading Yeah! * Revert "fixed Pages and Sidebar not loading" This reverts commit b1588387fc89d650b391c5a8883b6100c4714fbd. * Revert "fix README.md" This reverts commit a81509c3c62f11370df40096e55dfd544dad2f87. * Revert "begin Docusaurus 2 migration" This reverts commit 59d59c355b8d2a1a270a5655922d53a0577d6414. * clean move the files for Antonin * fix broken Navbar links * fix wrong GitHub link pointing to Docusaurus href * Fix the edit link for GitHub in top right corner * Copy content from wiki into Technical Reference * Copy pages from wiki for top level Architecture * fix sidebar ordering for Tech * Add colors from our logo into Infima color matrix * add comment about colors * shift primary color by 1 shade in matrix
123 lines
3.4 KiB
JavaScript
123 lines
3.4 KiB
JavaScript
module.exports = {
|
|
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',
|
|
},
|
|
links: [
|
|
{
|
|
to: '/',
|
|
activeBasePath: 'docs',
|
|
label: 'User Manual',
|
|
position: 'left',
|
|
},
|
|
{to: 'tech/architecture',
|
|
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: 'Docs',
|
|
items: [
|
|
{
|
|
label: 'Style Guide',
|
|
to: 'docs/styleguide',
|
|
},
|
|
{
|
|
label: 'Technical Reference',
|
|
to: 'docs/tech',
|
|
},
|
|
{
|
|
label: 'Contributors',
|
|
to: 'docs/contrib',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
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: '/',
|
|
homePageId: 'index',
|
|
// 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'),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|