From a09b22a05836910e5f949c3e33afec95603c95a8 Mon Sep 17 00:00:00 2001 From: Emma Jamieson-Hoare Date: Fri, 31 Jul 2026 11:41:36 +0100 Subject: [PATCH] feat(navigation): add Tempo API to reference section --- src/lib/vocs-config-seo.test.ts | 12 ++++++++++++ vocs.config.ts | 1 + 2 files changed, 13 insertions(+) diff --git a/src/lib/vocs-config-seo.test.ts b/src/lib/vocs-config-seo.test.ts index 46e2aeb7..d9305246 100644 --- a/src/lib/vocs-config-seo.test.ts +++ b/src/lib/vocs-config-seo.test.ts @@ -127,4 +127,16 @@ describe('vocs.config docs SEO controls', () => { expect(sidebar).toContain('https://tips.sh/') expect(sidebar).not.toContain('"/docs/protocol/tips"') }) + + test('links Tempo API from the docs home reference section', () => { + const sidebar = vocsConfig.sidebar as Record< + string, + Array<{ text: string; items?: Array<{ text: string; link: string }> }> + > + const referenceSection = sidebar['/docs']?.find( + (item) => item.text === 'Reference and Operations', + ) + + expect(referenceSection?.items).toContainEqual({ text: 'Tempo API', link: '/docs/api' }) + }) }) diff --git a/vocs.config.ts b/vocs.config.ts index 201b51cc..52ea56a2 100644 --- a/vocs.config.ts +++ b/vocs.config.ts @@ -1186,6 +1186,7 @@ export default defineConfig({ text: 'Reference and Operations', items: [ { text: 'Tools & SDKs', link: '/docs/tools' }, + { text: 'Tempo API', link: '/docs/api' }, { text: 'Tempo Protocol', link: '/docs/protocol' }, { text: 'Run a Tempo Node', link: '/docs/guide/node' }, { text: 'Use Tempo with AI', link: '/docs/guide/using-tempo-with-ai' },