Skip to content
Open
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
2 changes: 0 additions & 2 deletions .github/workflows/build-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: "setup node and pnpm"
uses: ./.github/actions/setup-node-pnpm
- name: "setup d2"
run: "curl -fsSL https://d2lang.com/install.sh | sh -s --"
- name: "install dependencies"
run: "pnpm install"
- name: "build"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
fetch-depth: 0
- name: "setup node and pnpm"
uses: ./.github/actions/setup-node-pnpm
- name: "setup d2"
run: "curl -fsSL https://d2lang.com/install.sh | sh -s --"
- name: "install dependencies"
run: "pnpm install"
- name: "build"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ pnpm-debug.log*
.DS_Store

.idea/
public/d2
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ pnpm-lock.yaml
pnpm-workspace.yaml
*.md
*.mdx
public/d2

# Prettier has issues with Astro
src/components/overrides/Head.astro
Expand Down
5 changes: 0 additions & 5 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
[files]
extend-exclude = [
"public/d2" # D2 output shouldn't be checked
]

[default]
locale = "en-us"
extend-ignore-re = [
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ How to get docs running on your local machine for development.

- [node 22](https://nodejs.org)
- [pnpm](https://pnpm.io/installation)
- [d2](https://d2lang.com/) (optional for development - used for generating diagrams)

### Local Development

Expand Down
4 changes: 3 additions & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,9 @@ export default defineConfig({
svelte(),
d2({
pad: 50,
skipGeneration: !prod, // comment out if you have D2 locally and want to use it during dev
experimental: {
useD2js: true,
},
}),
],
build: {
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@
"format:check": "prettier . --check"
},
"dependencies": {
"@ascorbic/feed-loader": "^2.0.1",
"@astrojs/markdown-remark": "^6.3.10",
"@astrojs/starlight": "^0.37.1",
"@astrojs/svelte": "^7.2.4",
"@expressive-code/plugin-collapsible-sections": "^0.41.5",
"@expressive-code/plugin-line-numbers": "^0.41.5",
"@astrojs/markdown-remark": "^7.0.0",
"@astrojs/starlight": "^0.38.1",
"@astrojs/svelte": "^8.0.1",
"@expressive-code/plugin-collapsible-sections": "^0.41.7",
"@expressive-code/plugin-line-numbers": "^0.41.7",
"@fontsource/jetbrains-mono": "^5.2.8",
"@fontsource/poppins": "^5.2.7",
"astro": "^5.16.6",
"astro-d2": "^0.8.1",
"astro": "^6.0.5",
"astro-contributors": "^0.8.0",
"astro-d2": "^0.10.0",
"sharp": "^0.34.5",
"starlight-contributor-list": "^0.3.1",
"starlight-links-validator": "^0.19.2",
"starlight-sidebar-topics": "^0.6.2",
"starlight-sidebar-topics-dropdown": "^0.5.2",
"svelte": "^5.46.0",
"starlight-links-validator": "^0.20.1",
"starlight-sidebar-topics": "^0.7.1",
"starlight-sidebar-topics-dropdown": "^0.6.0",
"svelte": "^5.53.13",
"typescript": "^5.9.3",
"unist-util-visit": "^5.0.0",
"unist-util-visit": "^5.1.0",
"yaml": "^2.8.2"
},
"devDependencies": {
"@types/mdast": "^4.0.4",
"@types/node": "^25.0.3",
"@types/node": "^25.5.0",
"dead-or-alive": "^1.0.4",
"prettier": "3.7.4",
"feedsmith": "3.0.0-next.6",
"prettier": "3.8.1",
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-organize-imports": "^4.3.0",
"prettier-plugin-svelte": "^3.4.1"
"prettier-plugin-svelte": "^3.5.1"
},
"engines": {
"node": ">=22.x"
},
"packageManager": "pnpm@10.26.1+sha512.664074abc367d2c9324fdc18037097ce0a8f126034160f709928e9e9f95d98714347044e5c3164d65bd5da6c59c6be362b107546292a8eecb7999196e5ce58fa"
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
diff --git a/components/Icons.ts b/components/Icons.ts
index 413477d5343737363d99a68a3beb98f0991a469f..a171bd687cd85a1bf0644f328e887b044986764d 100644
--- a/components/Icons.ts
+++ b/components/Icons.ts
@@ -193,6 +193,11 @@ export const BuiltInIcons = {
'<path d="M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2"/>',
substack:
'<path d="M22.5 8.2h-21V5.4h21v2.8zm-21 2.6V24L12 18.1 22.5 24V10.8h-21zM22.5 0h-21v2.8h21V0z"/>',
diff --git a/components-internals/Icons.ts b/components-internals/Icons.ts
index e0cde48b4099d53a304d09fe3abdae5cf06e5607..b6b8cf39a51d0a75d1a8b966f6d77025bc867ef1 100644
--- a/components-internals/Icons.ts
+++ b/components-internals/Icons.ts
@@ -205,6 +205,11 @@ export const BuiltInIcons = {
export const Icons = {
...BuiltInIcons,
...FileIcons,
+ paper: `<path d="M23.9871 1.00449L20.5586 21.5759C20.5185 21.8303 20.3579 22.0446 20.13 22.1781C20.0027 22.2479 19.8599 22.2847 19.7147 22.2853C19.6044 22.2824 19.4956 22.2597 19.3933 22.2183L13.3263 19.7406L10.0852 23.6917C10.0062 23.7893 9.90612 23.8677 9.79248 23.921C9.67884 23.9744 9.55459 24.0014 9.42905 23.9999C9.32829 24.0017 9.22817 23.9835 9.13446 23.9464C8.96962 23.8865 8.82722 23.7773 8.72657 23.6336C8.62593 23.49 8.57192 23.3188 8.57187 23.1434V18.4686L20.1433 4.28567L5.82693 16.6739L0.536782 14.5044C0.228637 14.3839 0.0278925 14.1029 0.00104276 13.7679C-0.0067358 13.6096 0.029121 13.4521 0.104701 13.3128C0.18028 13.1734 0.292678 13.0575 0.429633 12.9777L22.7146 0.120453C22.8439 0.0420511 22.9921 0.000404741 23.1432 4.67454e-06C23.3151 -0.000564065 23.4831 0.0507774 23.6253 0.147303C23.7607 0.241085 23.8667 0.3715 23.9308 0.523296C23.9949 0.675093 24.0144 0.841995 23.9871 1.00449Z" />`,
+ folia: `<path d="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z" />`,
+ waterfall: `<path d="M12 20a6 6 0 0 1-6-6c0-4 6-10.75 6-10.75S18 10 18 14a6 6 0 0 1-6 6Z" />`,
+ velocity: `<g clip-path="url(#clip0_313_379)"><path d="m11.258 10.685 -2.979 -4.064a0.656 0.656 0 0 0 -0.656 -0.254l-4.751 0.96a0.656 0.656 0 0 0 -0.441 0.323L0.082 11.896a0.649 0.649 0 0 0 0.044 0.702l2.986 4.076a0.656 0.656 0 0 0 0.656 0.254l4.737 -0.956a0.656 0.656 0 0 0 0.44 -0.325l2.357 -4.258a0.656 0.656 0 0 0 -0.045 -0.704m-3.275 4.088a0.527 0.527 0 0 1 -0.737 -0.113l-1.708 -2.327a0.882 0.882 0 0 0 -0.881 -0.342l-2.896 0.586a0.528 0.528 0 0 1 -0.212 -1.035l3.14 -0.635a0.882 0.882 0 0 0 0.596 -0.436l1.576 -2.846a0.528 0.528 0 0 1 0.967 0.109 0.529 0.529 0 0 1 -0.044 0.401L6.332 10.765a0.882 0.882 0 0 0 0.06 0.946l1.708 2.326a0.529 0.529 0 0 1 -0.116 0.736" /><path d="M21.184 11.423a0.541 0.541 0 1 0 0 -1.083 0.541 0.541 0 0 0 0 1.083" /><path d="M23.489 12.505H13.696a0.541 0.541 0 0 1 0 -1.083h5.852a0.542 0.542 0 0 0 0 -1.084h-3.868a0.541 0.541 0 1 1 0 -1.083h5.859a0.542 0.542 0 0 0 0 -1.084H9.416l1.841 2.513a0.656 0.656 0 0 1 0.045 0.702l-2.357 4.258a0.706 0.706 0 0 1 -0.077 0.11H20.562a0.541 0.541 0 1 0 0 -1.083h-2.948a0.542 0.542 0 1 1 0 -1.084h5.875a0.543 0.543 0 1 0 0 -1.084" /></g><defs><clipPath id="clip0_313_379"><path width="24" height="24" d="M0 0H24V24H0V0z" /></clipPath></defs>`,
+ adventure: `<g transform="matrix(.1 0 0 -.1 0 24)" stroke="none"><path d="M90.938 208.125c-15.375 -15.375 -29.063 -28.125 -30 -28.125 -1.125 0 -3.75 3 -6 6.75l-3.75 6.75 -11.813 -20.063c-9.375 -15.938 -11.25 -20.438 -9.188 -21.563 2.063 -1.313 1.875 -2.625 -1.688 -6.938 -2.25 -2.813 -6.375 -9.75 -9.188 -15 -4.875 -9.563 -5.438 -9.938 -12.75 -9.938H-0.938l45.938 -45.938c25.313 -25.313 46.5 -45.938 47.25 -45.938 0.563 0 4.313 4.5 8.25 9.938 3.938 5.25 12.188 16.125 18.563 23.813 27.938 34.125 29.063 38.063 13.313 50.25 -3 2.25 -4.5 4.125 -3.375 4.125s2.625 -0.938 3.188 -1.875c0.75 -1.125 1.875 -1.5 2.813 -0.938 2.813 1.875 14.25 -3.938 18.375 -9.375 5.063 -6.375 5.063 -10.125 0.375 -23.438 -2.063 -5.625 -3.563 -14.438 -3.75 -19.688 0 -9.938 3 -23.438 5.25 -23.438 0.75 0 19.875 18.563 42.563 41.25l41.25 41.25h-14.625c-12.563 0 -14.438 0.375 -14.438 3.375 0 1.688 -2.063 6.375 -4.688 10.313 -4.875 7.125 -4.875 7.125 2.625 9.188 1.875 0.563 -2.25 6.188 -12 16.688 -20.438 21.75 -74.813 76.688 -75.938 76.688 -0.563 0 -13.688 -12.563 -29.063 -28.125m46.5 -41.25 5.063 -4.5 6.563 6.375 6.563 6.375 12.188 -12c6.563 -6.563 11.813 -12.375 11.25 -12.75 -0.375 -0.375 -3.75 0.188 -7.5 1.5 -5.25 1.688 -8.063 1.688 -12.375 0 -4.313 -1.875 -6 -1.875 -8.25 0 -3.938 3.188 -21.938 -0.938 -26.438 -6 -3.75 -3.938 -8.438 -4.313 -11.813 -0.938 -1.5 1.5 -1.313 0 0.563 -4.688 2.063 -4.5 2.25 -7.125 0.938 -7.5s-0.375 -3.563 2.25 -8.063c3.188 -5.438 3.563 -6.75 1.313 -5.063s-7.125 2.438 -14.438 1.875l-11.25 -0.563 3.563 6.188c4.5 7.5 0.375 8.625 -4.5 1.313 -1.688 -2.625 -4.125 -4.313 -5.063 -3.563 -1.125 0.563 -5.438 6.375 -9.375 12.563 -7.125 10.875 -7.313 11.625 -3.563 12.938 3.188 1.125 3.375 2.063 1.5 6.188 -1.125 2.625 -3 4.688 -4.125 4.688 -1.125 0.188 6.375 8.063 16.688 17.813l18.75 17.813 13.125 -12.75c7.125 -6.938 15.375 -14.625 18.375 -17.25"/><path d="M95.625 140.625c-1.125 -2.063 -1.5 -3.75 -1.125 -3.75 0.563 0 1.875 1.688 3 3.75s1.5 3.75 1.125 3.75c-0.563 0 -1.875 -1.688 -3 -3.75"/><path d="M136.875 110.625c1.5 -0.938 3.75 -1.875 4.688 -1.875 1.125 0 0.563 0.938 -0.938 1.875s-3.563 1.875 -4.688 1.875c-0.938 0 -0.563 -0.938 0.938 -1.875"/></g>`,
};

export const Icons = {
export type StarlightIcon = keyof typeof Icons;
Loading
Loading