Skip to content

Commit 98749b2

Browse files
committed
Add docs to nav menu
1 parent 253ff9f commit 98749b2

2 files changed

Lines changed: 15 additions & 22 deletions

File tree

src/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,14 @@
135135
<a href="#libraries">Libraries</a>
136136
<a href="#features">Features</a>
137137
<a href="#changelog">Changelog</a>
138+
<a href="/ValveResourceFormat/">
139+
<svg aria-hidden="true" viewBox="0 0 16 16" width="16" height="16">
140+
<path
141+
d="M0 1.75A.75.75 0 0 1 .75 1h4.253c1.227 0 2.317.59 3 1.501A3.743 3.743 0 0 1 11.006 1h4.245a.75.75 0 0 1 .75.75v10.5a.75.75 0 0 1-.75.75h-4.507a2.25 2.25 0 0 0-1.591.659l-.622.621a.75.75 0 0 1-1.06 0l-.622-.621A2.25 2.25 0 0 0 5.258 13H.75a.75.75 0 0 1-.75-.75Zm7.251 10.324.004-5.073-.002-2.253A2.25 2.25 0 0 0 5.003 2.5H1.5v9h3.757a3.75 3.75 0 0 1 1.994.574ZM8.755 4.75l-.004 7.322a3.752 3.752 0 0 1 1.992-.572H14.5v-9h-3.495a2.25 2.25 0 0 0-2.25 2.25Z"
142+
/>
143+
</svg>
144+
Docs
145+
</a>
138146
<a href="https://discord.gg/s9QQ7Wg7r4">
139147
<svg aria-hidden="true" width="16" height="16">
140148
<use href="#icon-discord" />
@@ -458,7 +466,7 @@ <h2>ValveKeyValue</h2>
458466

459467
File.<span class="hljs-built_in">WriteAllBytes</span>(<span class="hljs-string">"image.png"</span>, png);</code></pre>
460468

461-
<a href="/ValveResourceFormat/" class="api-docs-link">View API documentation</a>
469+
<a href="/ValveResourceFormat/" class="api-docs-link">View documentation</a>
462470
</div>
463471
</div>
464472
</div>

src/zh-hans.html

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,8 @@
1616
<link rel="preconnect" href="https://api.github.com">
1717
<link rel="stylesheet" href="static/style.css">
1818
<script src="static/main.js" type="module"></script>
19-
<meta
20-
name="description"
21-
content="浏览 VPK 档案,查看、提取和反编译 Source 2 资源。支持 CS2、Dota 2、Deadlock、Half-Life: Alyx 等游戏。"
22-
>
23-
<meta
24-
property="og:description"
25-
content="浏览 VPK 档案,查看、提取和反编译 Source 2 资源。支持 CS2、Dota 2、Deadlock、Half-Life: Alyx 等游戏。"
26-
>
19+
<meta name="description" content="浏览 VPK 档案,查看、提取和反编译 Source 2 资源。支持 CS2、Dota 2、Deadlock、Half-Life: Alyx 等游戏。">
20+
<meta property="og:description" content="浏览 VPK 档案,查看、提取和反编译 Source 2 资源。支持 CS2、Dota 2、Deadlock、Half-Life: Alyx 等游戏。">
2721
<meta property="og:url" content="https://s2v.app/zh-hans.html">
2822
<meta property="og:image" content="https://s2v.app/static/preview.jpg">
2923
<meta property="og:logo" content="https://s2v.app/static/logo.png">
@@ -73,9 +67,7 @@ <h1>
7367
</svg>
7468
Source 2 Viewer
7569
</h1>
76-
<h2>
77-
浏览 VPK 档案,<strong>查看</strong><strong>导出</strong><strong>反编译</strong> Source 2 资源:地图、模型、材质、纹理和音频。
78-
</h2>
70+
<h2>浏览 VPK 档案,<strong>查看</strong><strong>导出</strong><strong>反编译</strong> Source 2 资源:地图、模型、材质、纹理和音频。</h2>
7971
<h3>完全免费开源,基于逆向工程开发。</h3>
8072

8173
<div class="download">
@@ -211,10 +203,7 @@ <h3>纹理查看器</h3>
211203
查看
212204
<a href="/ValveResourceFormat/api/ValveResourceFormat.ResourceTypes.Texture.html">纹理</a> 和 SVG,支持独立通道查看
213205
</li>
214-
<li>
215-
216-
<a href="/ValveResourceFormat/api/ValveResourceFormat.IO.TextureExtract.html">vtex_c</a> 导出为 PNG、TGA 及其他图像格式
217-
</li>
206+
<li><a href="/ValveResourceFormat/api/ValveResourceFormat.IO.TextureExtract.html">vtex_c</a> 导出为 PNG、TGA 及其他图像格式</li>
218207
<li>颜色通道、深度层和 mip 级别</li>
219208
<li>GPU 或 CPU 解码选项</li>
220209
<li>支持 cubemap 和 HDR 纹理</li>
@@ -361,18 +350,14 @@ <h3>其他文件格式</h3>
361350
支持 (KV1、KV2、KV3)
362351
</li>
363352
<li>将二进制 keyvalues 转换为文本格式</li>
364-
<li>
365-
<a href="/ValveResourceFormat/api/ValveResourceFormat.ClosedCaptions.html">字幕</a> 文件支持
366-
</li>
353+
<li><a href="/ValveResourceFormat/api/ValveResourceFormat.ClosedCaptions.html">字幕</a> 文件支持</li>
367354
</ul>
368355
</div>
369356
</div>
370357
</div>
371358

372359
<footer class="footer">
373-
<div class="container">
374-
本项目与 Valve Software 无关。Source 2 是 Valve Corporation 的商标和/或注册商标。
375-
</div>
360+
<div class="container">本项目与 Valve Software 无关。Source 2 是 Valve Corporation 的商标和/或注册商标。</div>
376361
</footer>
377362
</body>
378363
</html>

0 commit comments

Comments
 (0)