Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 1 addition & 51 deletions docs/editor/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,54 +103,4 @@ and their respective license.

👏 Many thanks to the amazing developers of these extensions.

| Name | License |
| --------------------------------------------------- | ------------------------- |
| **[Anthropic.claude-code][]** | Other |
| **[Catppuccin.catppuccin-vsc][]** | MIT |
| **[charliermarsh.ruff][]** | MIT |
| **[DavidAnson.vscode-markdownlint][]** | MIT |
| **[EditorConfig.EditorConfig][]** | MIT |
| **[exiasr.hadolint][]** | MIT |
| **[golang.go][]** | MIT, Apache 2, BSD, Other |
| **[humao.rest-client][]** | MIT |
| **[ludwhe.vscode-uuid][]** | ISC |
| **[mikestead.dotenv][]** | MIT |
| **[ms-azuretools.vscode-docker][]** | MIT |
| **[ms-kubernetes-tools.vscode-kubernetes-tools][]** | Apache 2 |
| **[ms-python.python][]** | MIT |
| **[ms-vscode.hexeditor][]** | MIT |
| **[PKief.material-icon-theme][]** | MIT |
| **[redhat.ansible][]** | MIT |
| **[redhat.vscode-xml][]** | EPL 2 |
| **[redhat.vscode-yaml][]** | MIT |
| **[samuelcolvin.jinjahtml][]** | MIT |
| **[streetsidesoftware.code-spell-checker][]** | GPL 3 |
| **[tamasfe.even-better-toml][]** | MIT |
| **[timonwong.shellcheck][]** | MIT |
| **[wayou.vscode-todo-highlight][]** | MIT |
| **[yzhang.markdown-all-in-one][]** | MIT |

[Anthropic.claude-code]: https://marketplace.visualstudio.com/items/Anthropic.claude-code
[Catppuccin.catppuccin-vsc]: https://marketplace.visualstudio.com/items/Catppuccin.catppuccin-vsc/license
[charliermarsh.ruff]: https://marketplace.visualstudio.com/items/charliermarsh.ruff/license
[DavidAnson.vscode-markdownlint]: https://marketplace.visualstudio.com/items/DavidAnson.vscode-markdownlint/license
[EditorConfig.EditorConfig]: https://marketplace.visualstudio.com/items/EditorConfig.EditorConfig/license
[exiasr.hadolint]: https://marketplace.visualstudio.com/items/exiasr.hadolint/license
[golang.go]: https://marketplace.visualstudio.com/items/golang.go/license
[humao.rest-client]: https://marketplace.visualstudio.com/items/humao.rest-client/license
[ludwhe.vscode-uuid]: https://marketplace.visualstudio.com/items/ludwhe.vscode-uuid/license
[mikestead.dotenv]: https://marketplace.visualstudio.com/items/mikestead.dotenv/license
[ms-azuretools.vscode-docker]: https://marketplace.visualstudio.com/items/ms-azuretools.vscode-docker/license
[ms-kubernetes-tools.vscode-kubernetes-tools]: https://marketplace.visualstudio.com/items/ms-kubernetes-tools.vscode-kubernetes-tools/license
[ms-python.python]: https://marketplace.visualstudio.com/items/ms-python.python/license
[ms-vscode.hexeditor]: https://marketplace.visualstudio.com/items/ms-vscode.hexeditor/license
[PKief.material-icon-theme]: https://marketplace.visualstudio.com/items/PKief.material-icon-theme/license
[redhat.ansible]: https://marketplace.visualstudio.com/items/redhat.ansible/license
[redhat.vscode-xml]: https://marketplace.visualstudio.com/items/redhat.vscode-xml/license
[redhat.vscode-yaml]: https://marketplace.visualstudio.com/items/redhat.vscode-yaml/license
[samuelcolvin.jinjahtml]: https://marketplace.visualstudio.com/items/samuelcolvin.jinjahtml/license
[streetsidesoftware.code-spell-checker]: https://marketplace.visualstudio.com/items/streetsidesoftware.code-spell-checker/license
[tamasfe.even-better-toml]: https://marketplace.visualstudio.com/items/tamasfe.even-better-toml/license
[timonwong.shellcheck]: https://marketplace.visualstudio.com/items/timonwong.shellcheck/license
[wayou.vscode-todo-highlight]: https://marketplace.visualstudio.com/items/wayou.vscode-todo-highlight/license
[yzhang.markdown-all-in-one]: https://marketplace.visualstudio.com/items/yzhang.markdown-all-in-one/license
<!--@include: ../partials/extensions.md -->
1 change: 1 addition & 0 deletions docs/partials/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dependencies.md
deprecated-variables.md
environment-variables.md
extensions.md
1 change: 1 addition & 0 deletions scripts/generate-all.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ import { execSync } from "node:child_process"
execSync("node ./scripts/generate-dependencies.mjs", { stdio: "inherit" })
execSync("node ./scripts/generate-deprecated-variables.mjs", { stdio: "inherit" })
execSync("node ./scripts/generate-environment-variables.mjs", { stdio: "inherit" })
execSync("node ./scripts/generate-extensions.mjs", { stdio: "inherit" })
25 changes: 25 additions & 0 deletions scripts/generate-extensions.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import fs from 'node:fs'
import { resolve } from 'node:path'
import { load } from 'js-yaml'

const { extensions } = load(
fs.readFileSync(resolve('.vitepress/data/extensions.yaml'), 'utf8')
)

const sections = [
'| Name | License |',
'| --- | --- |',
]
const links = []

Object.entries(extensions)
.sort(([a], [b]) => a.toLowerCase().localeCompare(b.toLowerCase()))
.forEach(([id, meta]) => {
sections.push(`| **[${id}][]** | ${meta.license ?? ''} |`)
links.push(`[${id}]: ${meta.home}`)
})

sections.push('', ...links)

fs.writeFileSync(resolve('docs/partials/extensions.md'), sections.join('\n'))
console.log('✔ docs/partials/extensions.md updated')
Loading