Skip to content

Commit

Permalink
deploy: 863c92f
Browse files Browse the repository at this point in the history
  • Loading branch information
qianmoQ committed Feb 7, 2025
1 parent facb9a7 commit 0f6add0
Show file tree
Hide file tree
Showing 31 changed files with 386 additions and 178 deletions.
8 changes: 6 additions & 2 deletions en/getting-started/create-site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1190,14 +1190,18 @@ <h3 class="text-sm font-medium text-gray-900 mb-2">注意</h3>
</div>
</div>
<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">将浏览器指向

<span class="text-base text-gray-700 leading-7 my-2">将浏览器指向 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="http://localhost:3000"
target="_blank"
title="localhost:3000">
localhost:3000
</a>
,您应该会看到:</span>

<span class="text-base text-gray-700 leading-7 my-2">,您应该会看到:</span>

<div class="space-y-4"></div>

<div class="w-full h-full relative">
Expand Down
12 changes: 8 additions & 4 deletions en/release/1.0.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -1255,25 +1255,29 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm

<li class="mb-2 grid grid-cols-[1em_1fr] gap-2 text-gray-700 leading-relaxed hover:text-gray-900">
<span class="text-gray-600 text-xl select-none"></span>
<span><span class="inline-block my-1 mx-auto">GitHub:
<span>
<span class="text-base text-gray-700 leading-7 my-2">GitHub: </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://github.com/devlive-community/pageforge"
target="_self"
title="">
https://github.com/devlive-community/pageforge
</a>
</span></span>
</span>
</li>
<li class="mb-2 grid grid-cols-[1em_1fr] gap-2 text-gray-700 leading-relaxed hover:text-gray-900">
<span class="text-gray-600 text-xl select-none"></span>
<span><span class="inline-block my-1 mx-auto">官网:
<span>
<span class="text-base text-gray-700 leading-7 my-2">官网: </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://pageforge.devlive.org"
target="_self"
title="">
https://pageforge.devlive.org
</a>
</span></span>
</span>
</li>
</ul>

Expand Down
12 changes: 8 additions & 4 deletions en/release/2025.1.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -1267,25 +1267,29 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm

<li class="mb-2 grid grid-cols-[1em_1fr] gap-2 text-gray-700 leading-relaxed hover:text-gray-900">
<span class="text-gray-600 text-xl select-none"></span>
<span><span class="inline-block my-1 mx-auto">GitHub:
<span>
<span class="text-base text-gray-700 leading-7 my-2">GitHub: </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://github.com/devlive-community/pageforge"
target="_self"
title="">
https://github.com/devlive-community/pageforge
</a>
</span></span>
</span>
</li>
<li class="mb-2 grid grid-cols-[1em_1fr] gap-2 text-gray-700 leading-relaxed hover:text-gray-900">
<span class="text-gray-600 text-xl select-none"></span>
<span><span class="inline-block my-1 mx-auto">官网:
<span>
<span class="text-base text-gray-700 leading-7 my-2">官网: </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://pageforge.devlive.org"
target="_self"
title="">
https://pageforge.devlive.org
</a>
</span></span>
</span>
</li>
</ul>

Expand Down
32 changes: 24 additions & 8 deletions en/setup/comment.html
Original file line number Diff line number Diff line change
Expand Up @@ -1641,14 +1641,18 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
<div class="prose prose-gray dark:prose-invert max-w-none text-base">

<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">PageForge 支持将您选择的第三方评论系统添加到任何页面的页脚。例如,我们将集成

<span class="text-base text-gray-700 leading-7 my-2">PageForge 支持将您选择的第三方评论系统添加到任何页面的页脚。例如,我们将集成 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://giscus.app"
target="_blank"
title="Giscus">
Giscus
</a>
,它是开源的、免费的,并使用 GitHub 讨论作为后端。</span>

<span class="text-base text-gray-700 leading-7 my-2">,它是开源的、免费的,并使用 GitHub 讨论作为后端。</span>

<div class="space-y-4"></div>

<span class="text-base text-gray-700 leading-7 my-2">PageForge 的评论系统需要启用才可以。</span>
Expand Down Expand Up @@ -1696,39 +1700,51 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
<hr class="my-4 h-0.5 border-0 bg-gray-200 dark:bg-gray-700"/>

<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">在使用

<span class="text-base text-gray-700 leading-7 my-2">在使用 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://giscus.app"
target="_blank"
title="Giscus">
Giscus
</a>
评论系统时,您需要完成以下步骤:</span>

<span class="text-base text-gray-700 leading-7 my-2"> 评论系统时,您需要完成以下步骤:</span>

<div class="space-y-4"></div>

<ol class="my-4 pl-4 list-inside list-decimal">

<li class="mb-2 grid grid-cols-[1em_1fr] gap-2 text-gray-700 leading-relaxed hover:text-gray-900">
<span class="text-gray-600 text-xl select-none"></span>
<span><span class="inline-block my-1 mx-auto">安装
<span>
<span class="text-base text-gray-700 leading-7 my-2">安装 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://github.com/apps/giscus"
target="_self"
title="">
Giscus GitHub 应用程序
</a>
并授予对应将评论作为 GitHub 讨论托管的存储库的访问权限。请注意,这可能是与您的文档不同的存储库。</span></span>

<span class="text-base text-gray-700 leading-7 my-2"> 并授予对应将评论作为 GitHub 讨论托管的存储库的访问权限。请注意,这可能是与您的文档不同的存储库。</span>
</span>
</li>
<li class="mb-2 grid grid-cols-[1em_1fr] gap-2 text-gray-700 leading-relaxed hover:text-gray-900">
<span class="text-gray-600 text-xl select-none"></span>
<span><span class="inline-block my-1 mx-auto">访问
<span>
<span class="text-base text-gray-700 leading-7 my-2">访问 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://giscus.app/"
target="_self"
title="">
Giscus
</a>
并通过其配置工具生成代码段以加载评论系统。复制代码段以进行下一步。生成的代码段应类似于以下内容:</span><div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">

<span class="text-base text-gray-700 leading-7 my-2"> 并通过其配置工具生成代码段以加载评论系统。复制代码段以进行下一步。生成的代码段应类似于以下内容:</span>
<div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">
<div class="!absolute !right-12 !top-2 !text-sm !text-gray-500 !dark:text-gray-400 !bg-gray-100 !dark:bg-gray-800 !z-10">javascript</div>

<button onclick="window.PageForge.CodeCopy.copy(this)" class="!absolute !right-2 !top-1 !p-1 !rounded !text-gray-400 hover:!text-blue-600 !dark:text-gray-500 hover:!text-blue-300 !transition-colors !duration-200 !z-10">
Expand Down
8 changes: 6 additions & 2 deletions en/setup/compress.html
Original file line number Diff line number Diff line change
Expand Up @@ -1712,14 +1712,18 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
<hr class="my-4 h-0.5 border-0 bg-gray-200 dark:bg-gray-700"/>

<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">PageForge 支持使用

<span class="text-base text-gray-700 leading-7 my-2">PageForge 支持使用 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://github.com/kangax/html-minifier"
target="_blank"
title="html-minifier">
html-minifier
</a>
模块的压缩配置,可以参考它来设置怎么压缩</span><div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">

<span class="text-base text-gray-700 leading-7 my-2"> 模块的压缩配置,可以参考它来设置怎么压缩</span>
<div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">
<div class="!absolute !right-12 !top-2 !text-sm !text-gray-500 !dark:text-gray-400 !bg-gray-100 !dark:bg-gray-800 !z-10">yaml</div>

<button onclick="window.PageForge.CodeCopy.copy(this)" class="!absolute !right-2 !top-1 !p-1 !rounded !text-gray-400 hover:!text-blue-600 !dark:text-gray-500 hover:!text-blue-300 !transition-colors !duration-200 !z-10">
Expand Down
16 changes: 12 additions & 4 deletions en/setup/feature.html
Original file line number Diff line number Diff line change
Expand Up @@ -1682,14 +1682,18 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
<hr class="my-4 h-0.5 border-0 bg-gray-200 dark:bg-gray-700"/>

<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">PageForge 默认支持

<span class="text-base text-gray-700 leading-7 my-2">PageForge 默认支持 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://lucide.dev"
target="_blank"
title="Lucide">
Lucide
</a>
图标库,需要启用后才能使用 Lucide 图标。</span><div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">

<span class="text-base text-gray-700 leading-7 my-2"> 图标库,需要启用后才能使用 Lucide 图标。</span>
<div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">
<div class="!absolute !right-12 !top-2 !text-sm !text-gray-500 !dark:text-gray-400 !bg-gray-100 !dark:bg-gray-800 !z-10">yaml</div>

<button onclick="window.PageForge.CodeCopy.copy(this)" class="!absolute !right-2 !top-1 !p-1 !rounded !text-gray-400 hover:!text-blue-600 !dark:text-gray-500 hover:!text-blue-300 !transition-colors !duration-200 !z-10">
Expand Down Expand Up @@ -2173,14 +2177,18 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
<hr class="my-4 h-0.5 border-0 bg-gray-200 dark:bg-gray-700"/>

<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">PageForge 支持使用

<span class="text-base text-gray-700 leading-7 my-2">PageForge 支持使用 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://mermaid.js.org"
target="_blank"
title="Mermaid">
Mermaid
</a>
图表语言,需要启用后才能使用。</span><div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">

<span class="text-base text-gray-700 leading-7 my-2"> 图表语言,需要启用后才能使用。</span>
<div class="!block !w-full !bg-gray-100 !dark:bg-gray-800 !dark:text-gray-300 !text-gray-900 !my-3 !rounded !font-mono !leading-normal !overflow-hidden !relative">
<div class="!absolute !right-12 !top-2 !text-sm !text-gray-500 !dark:text-gray-400 !bg-gray-100 !dark:bg-gray-800 !z-10">yaml</div>

<button onclick="window.PageForge.CodeCopy.copy(this)" class="!absolute !right-2 !top-1 !p-1 !rounded !text-gray-400 hover:!text-blue-600 !dark:text-gray-500 hover:!text-blue-300 !transition-colors !duration-200 !z-10">
Expand Down
8 changes: 6 additions & 2 deletions en/setup/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -1756,14 +1756,18 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
<span class="text-base text-gray-700 leading-7 my-2">每个页面都有可以设置一个图标,该图标用于导航侧边栏。PageForge 将自动为你的文档生成一个图标,但你可以在 markdown 文件的顶部覆盖它。</span>

<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">目前支持 Lucide 图标,可以在

<span class="text-base text-gray-700 leading-7 my-2">目前支持 Lucide 图标,可以在 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://lucide.dev"
target="_blank"
title="Lucide">
Lucide
</a>
中找到更多图标。</span>

<span class="text-base text-gray-700 leading-7 my-2"> 中找到更多图标。</span>

<div class="space-y-4"></div>

<div class="text-xl sm:text-2xl font-bold tracking-tight text-gray-900 dark:text-white my-3 [&_span]:!font-inherit [&_span]:!text-inherit [&_code]:!text-inherit [&_span]:!text-xl [&_span]:sm:!text-2xl">
Expand Down
16 changes: 12 additions & 4 deletions en/setup/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -1645,14 +1645,18 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
<span class="text-base text-gray-700 leading-7 my-2">PageForge 的分享设置包含了一些用于在网站上分享文档的选项。您可以在文档的顶部设置是否启用分享,以及选择要分享的平台。</span>

<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">PageForge 的分享功能是使用

<span class="text-base text-gray-700 leading-7 my-2">PageForge 的分享功能是使用 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://github.com/overtrue/share.js"
target="_blank"
title="social-share.js">
social-share.js
</a>
进行实现的。</span>

<span class="text-base text-gray-700 leading-7 my-2"> 进行实现的。</span>

<div class="space-y-4"></div>

<div class="text-2xl sm:text-3xl font-bold tracking-tight text-gray-900 dark:text-white my-3 [&_span]:!font-inherit [&_span]:!text-inherit [&_code]:!text-inherit [&_span]:!text-2xl [&_span]:sm:!text-3xl">
Expand Down Expand Up @@ -1736,14 +1740,18 @@ <h1 class="text-3xl font-bold tracking-tight text-gray-900 dark:text-gray-100 sm
</div>
</div>
<div class="space-y-4"></div>
<span class="inline-block my-1 mx-auto">支持的分享平台可参考

<span class="text-base text-gray-700 leading-7 my-2">支持的分享平台可参考 </span>

<a class="text-blue-600 hover:text-blue-800 hover:underline transition-colors duration-200 cursor-pointer"
href="https://github.com/overtrue/share.js"
target="_blank"
title="social-share.js">
social-share.js
</a>
</span>

<span class="text-base text-gray-700 leading-7 my-2"> </span>

<div class="space-y-4"></div>

<div class="text-2xl sm:text-3xl font-bold tracking-tight text-gray-900 dark:text-white my-3 [&_span]:!font-inherit [&_span]:!text-inherit [&_code]:!text-inherit [&_span]:!text-2xl [&_span]:sm:!text-3xl">
Expand Down
Loading

0 comments on commit 0f6add0

Please sign in to comment.