Kaynağa Gözat

[doc]更新文档中的版本号,从v1.0.0修改为v1,以保持一致性。

dufu1991 1 yıl önce
ebeveyn
işleme
2dec53ab64

+ 1 - 1
docs/site/src/lib/header/Header.svelte

@@ -88,7 +88,7 @@
 				</svg>
 			</div>
 		</a>
-		<span class="text-primary dark:text-dark text-sm">v1.0.0</span>
+		<span class="text-primary dark:text-dark text-sm">v1</span>
 	</div>
 	<div>
 		<div class="cursor-pointer p-4 md:hidden">

+ 2 - 2
docs/site/src/routes/+layout.svelte

@@ -89,9 +89,9 @@
 	{#if $page.url.pathname === '' || $page.url.pathname === '/'}
 		<div class="bg-primary dark:bg-dark px-2 py-1 text-center text-xs text-white dark:text-black">
 			{#if isZh}
-				这是 v1.0.0 文档,v0.x 请访问 <a href="https://stdf.design" class="underline" target="_blank">stdf.design</a>
+				这是 v1 文档,v0 请访问 <a href="https://stdf.design" class="underline" target="_blank">stdf.design</a>
 			{:else}
-				This is the v1.0.0 documentation, please visit <a href="https://stdf.design" class="underline" target="_blank">stdf.design</a> for v0.x
+				This is the v1 documentation, please visit <a href="https://stdf.design" class="underline" target="_blank">stdf.design</a> for v0.x
 			{/if}
 		</div>
 	{/if}