Skip to content

Commit

Permalink
chore: Update the webpage to show sponsor link (#3839)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Nov 23, 2024
1 parent bc97a6e commit 29ae230
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 27 deletions.
1 change: 0 additions & 1 deletion Spell Checker.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
{ "path": "packages/webview-api" },
{ "path": "packages/webview-rpc" },
{ "path": "packages/webview-ui" },
{ "name": "Docs", "path": "docs" },
{ "path": "website" }
],
"settings": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ export interface FileTypesAndSchemeSettings {
*/
enabledFileTypes?: EnabledFileTypes;

/**
* Map of known and enabled file types.
* `true` - enabled
* `false` - disabled
* @hidden
*/
// mapOfEnabledFileTypes?: Map<string, boolean>; // replaced by `#cSpell.enabledFileTypes#`

/**
* By default, the spell checker checks only enabled file types. Use `#cSpell.enableFiletypes#`
* to turn on / off various file types.
Expand Down
18 changes: 3 additions & 15 deletions website/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,27 @@ 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.

### 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=<Your GitHub username> 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
Expand Down
8 changes: 5 additions & 3 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,16 @@ const config: Config = {
target: '/',
},
items: [
{ label: 'Home', href: 'https://streetsidesoftware.com', position: 'left' },
{
type: 'docSidebar',
sidebarId: 'docs',
position: 'left',
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',
Expand All @@ -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/' },
],
},
{
Expand All @@ -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' },
],
},
{
Expand Down

0 comments on commit 29ae230

Please sign in to comment.