From 29ae230016f549ecdc70871a52ab03427c5dccf6 Mon Sep 17 00:00:00 2001 From: Jason Dent Date: Sat, 23 Nov 2024 17:04:28 +0100 Subject: [PATCH] chore: Update the webpage to show sponsor link (#3839) --- Spell Checker.code-workspace | 1 - .../FileTypesAndSchemeSettings.mts | 8 -------- website/README.md | 18 +++--------------- website/docusaurus.config.ts | 8 +++++--- 4 files changed, 8 insertions(+), 27 deletions(-) diff --git a/Spell Checker.code-workspace b/Spell Checker.code-workspace index eb2daa31ae..9bb33c431c 100644 --- a/Spell Checker.code-workspace +++ b/Spell Checker.code-workspace @@ -34,7 +34,6 @@ { "path": "packages/webview-api" }, { "path": "packages/webview-rpc" }, { "path": "packages/webview-ui" }, - { "name": "Docs", "path": "docs" }, { "path": "website" } ], "settings": { diff --git a/packages/_server/src/config/cspellConfig/FileTypesAndSchemeSettings.mts b/packages/_server/src/config/cspellConfig/FileTypesAndSchemeSettings.mts index 6f7fd2238c..047830681e 100644 --- a/packages/_server/src/config/cspellConfig/FileTypesAndSchemeSettings.mts +++ b/packages/_server/src/config/cspellConfig/FileTypesAndSchemeSettings.mts @@ -93,14 +93,6 @@ export interface FileTypesAndSchemeSettings { */ enabledFileTypes?: EnabledFileTypes; - /** - * Map of known and enabled file types. - * `true` - enabled - * `false` - disabled - * @hidden - */ - // mapOfEnabledFileTypes?: Map; // replaced by `#cSpell.enabledFileTypes#` - /** * By default, the spell checker checks only enabled file types. Use `#cSpell.enableFiletypes#` * to turn on / off various file types. diff --git a/website/README.md b/website/README.md index 456f5b1478..36a230252b 100644 --- a/website/README.md +++ b/website/README.md @@ -5,13 +5,13 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati ### Installation ``` -$ yarn +$ npm i ``` ### Local Development ``` -$ yarn start +$ npm run start ``` This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. @@ -19,25 +19,13 @@ This command starts a local development server and opens up a browser window. Mo ### Build ``` -$ yarn build +$ npm run build-site ``` This command generates static content into the `build` directory and can be served using any static contents hosting service. ### Deployment -Using SSH: - -``` -$ USE_SSH=true yarn deploy -``` - -Not using SSH: - -``` -$ GIT_USER= yarn deploy -``` - If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. ## Legacy Website diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 2a5d4e6baa..6d59aa3bfa 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -75,6 +75,7 @@ const config: Config = { target: '/', }, items: [ + { label: 'Home', href: 'https://streetsidesoftware.com', position: 'left' }, { type: 'docSidebar', sidebarId: 'docs', @@ -82,8 +83,8 @@ const config: Config = { label: 'Docs', }, { to: '/about', label: 'About', position: 'left' }, - { label: 'CSpell', href: 'https://cspell.org', position: 'right' }, - { label: 'Street Side Software', href: 'https://streetsidesoftware.com', position: 'right' }, + { label: 'Sponsor', href: 'https://streetsidesoftware.com/sponsor', position: 'right' }, + // { label: 'CSpell', href: 'https://cspell.org', position: 'right' }, // {to: '/blog', label: 'Blog', position: 'left'}, { href: 'https://github.com/streetsidesoftware/vscode-spell-checker', @@ -100,7 +101,7 @@ const config: Config = { items: [ { label: 'Home', href: 'https://streetsidesoftware.com' }, { label: 'CSpell', href: 'https://cspell.org' }, - { label: 'Sponsor', href: 'https://github.com/sponsors/streetsidesoftware' }, + { label: 'Sponsor', href: 'https://streetsidesoftware.com/sponsor/' }, ], }, { @@ -109,6 +110,7 @@ const config: Config = { { label: 'GitHub', href: 'https://github.com/streetsidesoftware/vscode-spell-checker' }, { label: 'Issues', href: 'https://github.com/streetsidesoftware/vscode-spell-checker/issues' }, { label: 'Discussions', href: 'https://github.com/streetsidesoftware/vscode-spell-checker/discussions' }, + { label: 'Sponsor through GitHub', href: 'https://github.com/sponsors/streetsidesoftware' }, ], }, {