From a3af0941673d01400cfc70ef32a9a4e154350980 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 3 Feb 2026 05:33:19 +0000 Subject: [PATCH 1/5] feat(docs): enable syntax highlighting for go, solidity, rust, and more Add codeHighlight.langs config to enable highlighting for languages used in the docs: solidity, rust, go, bash, python, yaml, json. The default vocs/shiki bundle includes tsx/ts/typescript but not these domain-specific languages. Amp-Thread-ID: https://ampcode.com/threads/T-019c21fd-1fec-721f-a6ef-4b31e835508b Co-authored-by: Amp --- vocs.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vocs.config.ts b/vocs.config.ts index b9c657ad..3070e989 100644 --- a/vocs.config.ts +++ b/vocs.config.ts @@ -10,6 +10,9 @@ const baseUrl = (() => { export default defineConfig({ changelog: Changelog.github({ prereleases: true, repo: 'tempoxyz/tempo' }), checkDeadlinks: true, + codeHighlight: { + langs: ['solidity', 'rust', 'go', 'bash', 'python', 'yaml', 'json'], + }, title: 'Tempo', titleTemplate: '%s ⋅ Tempo', description: 'Documentation for the Tempo network and protocol specifications', From a2494abfffb388538989b4d73c75344b48b04594 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 3 Feb 2026 05:59:56 +0000 Subject: [PATCH 2/5] feat: add toml syntax highlighting Amp-Thread-ID: https://ampcode.com/threads/T-019c21fd-1fec-721f-a6ef-4b31e835508b Co-authored-by: Amp --- vocs.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vocs.config.ts b/vocs.config.ts index 3070e989..7f887559 100644 --- a/vocs.config.ts +++ b/vocs.config.ts @@ -11,7 +11,7 @@ export default defineConfig({ changelog: Changelog.github({ prereleases: true, repo: 'tempoxyz/tempo' }), checkDeadlinks: true, codeHighlight: { - langs: ['solidity', 'rust', 'go', 'bash', 'python', 'yaml', 'json'], + langs: ['solidity', 'rust', 'go', 'bash', 'python', 'yaml', 'json', 'toml'], }, title: 'Tempo', titleTemplate: '%s ⋅ Tempo', From 3ba6b21f4f49034fbc7b50cee8fdcf3ca3515092 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 3 Feb 2026 06:07:30 +0000 Subject: [PATCH 3/5] fix: include all default vocs langs plus go, python, yaml, toml The codeHighlight.langs config replaces (not extends) the default list, so we need to include all the vocs defaults plus our additional languages. Amp-Thread-ID: https://ampcode.com/threads/T-019c21fd-1fec-721f-a6ef-4b31e835508b Co-authored-by: Amp --- vocs.config.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/vocs.config.ts b/vocs.config.ts index 7f887559..26052950 100644 --- a/vocs.config.ts +++ b/vocs.config.ts @@ -11,7 +11,14 @@ export default defineConfig({ changelog: Changelog.github({ prereleases: true, repo: 'tempoxyz/tempo' }), checkDeadlinks: true, codeHighlight: { - langs: ['solidity', 'rust', 'go', 'bash', 'python', 'yaml', 'json', 'toml'], + // Extend default langs with Go, Python, YAML, TOML used in docs + langs: [ + // Defaults from vocs + 'ansi', 'bash', 'html', 'js', 'json', 'jsx', 'markdown', 'md', 'mdx', + 'plaintext', 'rust', 'sol', 'solidity', 'ts', 'tsx', 'zsh', + // Additional languages used in our docs + 'go', 'python', 'yaml', 'toml', + ], }, title: 'Tempo', titleTemplate: '%s ⋅ Tempo', From 62a25d7b403e125b34d9d0ba113be1be2431278d Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 3 Feb 2026 06:16:00 +0000 Subject: [PATCH 4/5] fix: bump vocs to 72623ad which includes go, python, yaml, toml langs The previous vocs version (082ea99) only bundled rust and solidity on top of shiki/bundle/web. The new version adds go, python, yaml, toml, dockerfile, protobuf, and sql. Also removed the codeHighlight.langs config since it wasn't being used by the shiki plugin anyway. Amp-Thread-ID: https://ampcode.com/threads/T-019c21fd-1fec-721f-a6ef-4b31e835508b Co-authored-by: Amp --- package.json | 2 +- vocs.config.ts | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index 0ad304da..d6191de6 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "unplugin-auto-import": "^21.0.0", "unplugin-icons": "^23.0.1", "viem": "^2.44.4", - "vocs": "https://pkg.pr.new/wevm/vocs@082ea99", + "vocs": "https://pkg.pr.new/wevm/vocs@72623ad", "wagmi": "3.4.1", "waku": "1.0.0-alpha.2", "zod": "^4.3.5" diff --git a/vocs.config.ts b/vocs.config.ts index 26052950..d2a324b1 100644 --- a/vocs.config.ts +++ b/vocs.config.ts @@ -10,16 +10,7 @@ const baseUrl = (() => { export default defineConfig({ changelog: Changelog.github({ prereleases: true, repo: 'tempoxyz/tempo' }), checkDeadlinks: true, - codeHighlight: { - // Extend default langs with Go, Python, YAML, TOML used in docs - langs: [ - // Defaults from vocs - 'ansi', 'bash', 'html', 'js', 'json', 'jsx', 'markdown', 'md', 'mdx', - 'plaintext', 'rust', 'sol', 'solidity', 'ts', 'tsx', 'zsh', - // Additional languages used in our docs - 'go', 'python', 'yaml', 'toml', - ], - }, + title: 'Tempo', titleTemplate: '%s ⋅ Tempo', description: 'Documentation for the Tempo network and protocol specifications', From c4fd4bdf11aedb0d8e973546147d8ed027902184 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Tue, 3 Feb 2026 06:17:21 +0000 Subject: [PATCH 5/5] chore: update lockfile for vocs bump Amp-Thread-ID: https://ampcode.com/threads/T-019c21fd-1fec-721f-a6ef-4b31e835508b Co-authored-by: Amp --- pnpm-lock.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f6d09881..359d0c88 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -86,8 +86,8 @@ importers: specifier: ^2.44.4 version: 2.44.4(typescript@5.9.3)(zod@4.3.5) vocs: - specifier: https://pkg.pr.new/wevm/vocs@082ea99 - version: https://pkg.pr.new/wevm/vocs@082ea99(@types/react@19.2.9)(mermaid@11.12.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(rollup@4.56.0)(typescript@5.9.3)(vite@7.3.1(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))(waku@1.0.0-alpha.2(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)) + specifier: https://pkg.pr.new/wevm/vocs@72623ad + version: https://pkg.pr.new/wevm/vocs@72623ad(@types/react@19.2.9)(mermaid@11.12.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(rollup@4.56.0)(typescript@5.9.3)(vite@7.3.1(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))(waku@1.0.0-alpha.2(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)) wagmi: specifier: 3.4.1 version: 3.4.1(@tanstack/query-core@5.90.19)(@tanstack/react-query@5.90.19(react@19.2.3))(@types/react@19.2.9)(ox@0.11.3(typescript@5.9.3)(zod@4.3.5))(react@19.2.3)(typescript@5.9.3)(viem@2.44.4(typescript@5.9.3)(zod@4.3.5)) @@ -3224,6 +3224,7 @@ packages: react-server-dom-webpack@19.2.3: resolution: {integrity: sha512-ifo7aqqdNJyV6U2zuvvWX4rRQ51pbleuUFNG7ZYhIuSuWZzQPbfmYv11GNsyJm/3uGNbt8buJ9wmoISn/uOAfw==} engines: {node: '>=0.10.0'} + deprecated: High Security Vulnerability in React Server Components peerDependencies: react: ^19.2.3 react-dom: ^19.2.3 @@ -3799,8 +3800,8 @@ packages: vite: optional: true - vocs@https://pkg.pr.new/wevm/vocs@082ea99: - resolution: {integrity: sha512-KgvZD7BKxQ7ubUsttJxv1uL7tPcLBwlISrq/8QMe8cqI75QQ7+ZTsHkz9CVxTZqzyb011eNL8PwlqcsrvJjNkg==, tarball: https://pkg.pr.new/wevm/vocs@082ea99} + vocs@https://pkg.pr.new/wevm/vocs@72623ad: + resolution: {integrity: sha512-WQ/cr3mwgW5lR/bhjHgguAA7YOit0EpyEEDdLxWeoyxSiwZ5ZUE2DoOLvwAYQ1yJZK1fDz6ksbevC2S2DbXbqg==, tarball: https://pkg.pr.new/wevm/vocs@72623ad} version: 0.0.0 hasBin: true peerDependencies: @@ -7955,7 +7956,7 @@ snapshots: optionalDependencies: vite: 7.3.1(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2) - vocs@https://pkg.pr.new/wevm/vocs@082ea99(@types/react@19.2.9)(mermaid@11.12.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(rollup@4.56.0)(typescript@5.9.3)(vite@7.3.1(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))(waku@1.0.0-alpha.2(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)): + vocs@https://pkg.pr.new/wevm/vocs@72623ad(@types/react@19.2.9)(mermaid@11.12.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(rollup@4.56.0)(typescript@5.9.3)(vite@7.3.1(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))(waku@1.0.0-alpha.2(@types/node@25.0.10)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@19.2.3(react@19.2.3))(react-server-dom-webpack@19.2.3(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(webpack@5.104.1))(react@19.2.3)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2)): dependencies: '@base-ui/react': 1.1.0(@types/react@19.2.9)(react-dom@19.2.3(react@19.2.3))(react@19.2.3) '@codesandbox/sandpack-react': 2.20.0(react-dom@19.2.3(react@19.2.3))(react@19.2.3)