Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Refactor TOC component to use Docusaurus Link for navigation

Arindam2004da2730607d5
diff --git a/docs/my-website/src/theme/TOC/index.js b/docs/my-website/src/theme/TOC/index.js
index 4b6adc216d8..a112c459595 100644
--- a/docs/my-website/src/theme/TOC/index.js
+++ b/docs/my-website/src/theme/TOC/index.js
@@ -1,6 +1,7 @@
import React from 'react';
import clsx from 'clsx';
import TOCItems from '@theme/TOCItems';
+import Link from '@docusaurus/Link';
import styles from './styles.module.css';
const LINK_CLASS_NAME = 'table-of-contents__link toc-highlight';
@@ -26,9 +27,9 @@ export default function TOC({ className, ...props }) {
SSO/SAML, audit logs, spend tracking, multi-team management, and
guardrails — built for production.
</div>
- <a href="/docs/enterprise" className={styles.promoButton}>
+ <Link to="/docs/enterprise" className={styles.promoButton}>
Learn more →
- </a>
+ </Link>
</div>
</div>
);