docs: facelift the docs (#20180)

* docs: facelift the docs

* lint

* license headers
This commit is contained in:
Maxime Beauchemin
2022-06-06 08:01:21 -07:00
committed by GitHub
parent c131f025f8
commit df00f0e7ab
8 changed files with 201 additions and 37 deletions

View File

@@ -37,6 +37,11 @@ const config = {
projectName: 'superset', // Usually your repo name.
themes: ['@saucelabs/theme-github-codeblock'],
plugins: [
["docusaurus-plugin-less", {
lessOptions: {
javascriptEnabled: true,
}
}],
[
'@docusaurus/plugin-client-redirects',
{
@@ -140,7 +145,7 @@ const config = {
'https://github.com/facebook/docusaurus/edit/main/website/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
customCss: require.resolve('./src/styles/custom.css'),
},
googleAnalytics: {
trackingID: 'G-133LHD3B3N',
@@ -174,37 +179,32 @@ const config = {
},
items: [
{
type: 'doc',
docId: 'intro',
position: 'left',
label: 'Documentation',
},
{ to: '/community', label: 'Community', position: 'left' },
{
href: 'https://github.com/apache/superset',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Getting Started',
to: '/docs/intro',
},
{
label: 'Tutorial',
to: '/docs/intro',
},
{
label: 'FAQ',
to: '/docs/frequently-asked-questions',
},
],
},
{
title: 'Community',
label: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/superset+apache-superset',
label: 'Resources',
href: '/community',
},
{
label: 'GitHub',
href: 'https://github.com/apache/superset',
},
{
label: 'Slack',
@@ -214,17 +214,22 @@ const config = {
label: 'Mailing List',
href: 'https://lists.apache.org/list.html?dev@superset.apache.org',
},
],
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/apache/superset',
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/superset+apache-superset',
},
],
},
{
href: 'https://github.com/apache/superset',
position: 'right',
class: 'github-logo-container',
},
],
},
footer: {
style: 'dark',
links: [
],
copyright: `Copyright © ${new Date().getFullYear()},
The <a href="https://www.apache.org/" target="_blank" rel="noreferrer">Apache Software Foundation</a>,