From 428ee4f77413b2c9db37565ec121e6bde6c378ce Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Fri, 4 Oct 2024 09:55:28 -0700 Subject: [PATCH] Attempt to improve SEO (#50) * init * save --- docs/features/_category_.json | 3 ++- docs/features/ai.mdx | 2 ++ docs/features/browser.mdx | 2 ++ docs/features/charts.mdx | 2 ++ docs/features/preview.mdx | 2 ++ docs/features/remotes.mdx | 2 ++ docusaurus.config.ts | 14 ++++++++++---- static/robots.txt | 2 -- 8 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 static/robots.txt diff --git a/docs/features/_category_.json b/docs/features/_category_.json index 8a15fc1..1c03549 100644 --- a/docs/features/_category_.json +++ b/docs/features/_category_.json @@ -2,6 +2,7 @@ "label": "Features", "position": 2, "link": { - "type": "generated-index" + "type": "generated-index", + "description": "Overview of Wave Terminal Features" } } diff --git a/docs/features/ai.mdx b/docs/features/ai.mdx index db5c307..97aa9ae 100644 --- a/docs/features/ai.mdx +++ b/docs/features/ai.mdx @@ -1 +1,3 @@ # Wave AI + +TODO: Add content diff --git a/docs/features/browser.mdx b/docs/features/browser.mdx index 16d10fb..1a2ac34 100644 --- a/docs/features/browser.mdx +++ b/docs/features/browser.mdx @@ -1 +1,3 @@ # Inline Web Browser + +TODO: Add content diff --git a/docs/features/charts.mdx b/docs/features/charts.mdx index 43b0170..49453cf 100644 --- a/docs/features/charts.mdx +++ b/docs/features/charts.mdx @@ -1 +1,3 @@ # Data Visualization + +TODO: Add content diff --git a/docs/features/preview.mdx b/docs/features/preview.mdx index c9318da..34726de 100644 --- a/docs/features/preview.mdx +++ b/docs/features/preview.mdx @@ -1 +1,3 @@ # Preview + +TODO: Add content diff --git a/docs/features/remotes.mdx b/docs/features/remotes.mdx index cd2ef3d..29d5d79 100644 --- a/docs/features/remotes.mdx +++ b/docs/features/remotes.mdx @@ -1 +1,3 @@ # Remote Connections + +TODO: Add content diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 021b815..0756476 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -42,16 +42,14 @@ const config: Config = { [ "@docusaurus/plugin-sitemap", { - lastmod: "date", changefreq: "daily", - priority: 0.5, filename: "sitemap.xml", }, ], ], themes: [ ["classic", { customCss: "src/css/custom.css" }], - !process.env.EMBEDDED ? "@docusaurus/theme-search-algolia" : undefined, + !process.env.EMBEDDED && "@docusaurus/theme-search-algolia", ].filter((v) => v), themeConfig: { docs: { @@ -149,7 +147,15 @@ const config: Config = { href: `${baseUrl}sitemap.xml`, }, }, - ], + !process.env.EMBEDDED && { + tagName: "script", + attributes: { + defer: "true", + "data-domain": "waveterm.dev", + src: "https://plausible.io/js/script.file-downloads.outbound-links.tagged-events.js", + }, + }, + ].filter((v) => v), stylesheets: [`${baseUrl}fontawesome/css/fontawesome.min.css`, `${baseUrl}fontawesome/css/sharp-regular.min.css`], staticDirectories: ["static"], }; diff --git a/static/robots.txt b/static/robots.txt deleted file mode 100644 index eb05362..0000000 --- a/static/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: