Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

801 B
Raw Blame
<script setup>
import { computed } from 'vue'
import { useData, withBase } from 'vitepress'
import { sectionForPage } from '../docs-sections'
const { page, lang } = useData()
const locale = computed(() => lang.value.startsWith('zh') ? 'zh' : 'en')
const section = computed(() => sectionForPage(page.value.relativePath))
</script>
<template>
  <nav class="doc-breadcrumb" :aria-label="locale === 'zh' ? '面包屑导航' : 'Breadcrumb'">
    <a :href="withBase(`/${locale}/`)">{{ locale === 'zh' ? '文档首页' : 'Documentation' }}</a>
    <template v-if="section"><span aria-hidden="true">/</span><a :href="withBase(`/${locale}/#section-${section.id}`)">{{ section[locale] }}</a></template>
    <span aria-hidden="true">/</span><span aria-current="page">{{ page.title }}</span>
  </nav>
</template>