Skip to content

Commit 76648b2

Browse files
committed
Add initial documentation for TimeLens VS Code extension in index.html
1 parent 72d1684 commit 76648b2

16 files changed

Lines changed: 1579 additions & 54 deletions

File tree

browser-extension/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "__MSG_extensionName__",
4-
"version": "1.1.0",
4+
"version": "1.2.0",
55
"description": "__MSG_extensionDescription__",
66
"default_locale": "en",
77
"permissions": ["storage", "tabs", "alarms", "idle"],

browser-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "timelens-browser-extension",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "TimeLens browser companion that tracks tab sessions and syncs browser usage to the desktop app.",
55
"scripts": {
66
"lint": "web-ext lint --source-dir .",

docs/ADD_LANGUAGE.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<li><a href="API_REFERENCE.html">API 参考</a></li>
4242
<li><a href="WIDGETS_DEV_GUIDE.html">小组件开发</a></li>
4343
<li><a href="WIDGETS_DEV_GUIDE.zh-CN.html">中文小组件指南</a></li>
44+
<li><a href="browser-extension/index.html">浏览器扩展</a></li>
45+
<li><a href="vscode-extension/index.html">VS Code 扩展</a></li>
46+
<li><a href="help/index.html">帮助文档</a></li>
4447
</ul>
4548
</aside>
4649

@@ -242,7 +245,7 @@ <h2 id="submit">提交你的翻译</h2>
242245
</ol>
243246

244247
<hr />
245-
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2025-05-03 · TimeLens v1.1.0</p>
248+
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2026-07-18 · TimeLens v2.0.1</p>
246249
</main>
247250
</div>
248251

@@ -263,10 +266,10 @@ <h2 id="submit">提交你的翻译</h2>
263266
<div class="footer-links">
264267
<a href="https://github.com/PythonSmall-Q/TimeLens" target="_blank" rel="noopener">GitHub</a>
265268
<a href="https://github.com/PythonSmall-Q/TimeLens/releases" target="_blank" rel="noopener">Releases</a>
266-
<a href="../README.md">README</a>
267-
<a href="../CHANGELOG.md">Changelog</a>
268-
<a href="../CONTRIBUTING.md">Contributing</a>
269-
<a href="../PRIVACY_POLICY.md">Privacy</a>
269+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/README.md" target="_blank" rel="noopener">README</a>
270+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CHANGELOG.md" target="_blank" rel="noopener">Changelog</a>
271+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Contributing</a>
272+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/PRIVACY_POLICY.md" target="_blank" rel="noopener">Privacy</a>
270273
</div>
271274
</div>
272275
</footer>

docs/API_REFERENCE.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<li><a href="WIDGETS_DEV_GUIDE.html">小组件开发</a></li>
4242
<li><a href="ADD_LANGUAGE.html">添加语言</a></li>
4343
<li><a href="WIDGETS_DEV_GUIDE.zh-CN.html">中文小组件指南</a></li>
44+
<li><a href="browser-extension/index.html">浏览器扩展</a></li>
45+
<li><a href="vscode-extension/index.html">VS Code 扩展</a></li>
46+
<li><a href="help/index.html">帮助文档</a></li>
4447
</ul>
4548
</aside>
4649

@@ -327,7 +330,7 @@ <h2 id="frontend-usage">前端调用示例</h2>
327330
await api.setLaunchAtStartup(true);</code></pre>
328331

329332
<hr />
330-
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2025-05-03 · TimeLens v1.1.0</p>
333+
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2026-07-18 · TimeLens v2.0.1</p>
331334
</main>
332335
</div>
333336

@@ -348,10 +351,10 @@ <h2 id="frontend-usage">前端调用示例</h2>
348351
<div class="footer-links">
349352
<a href="https://github.com/PythonSmall-Q/TimeLens" target="_blank" rel="noopener">GitHub</a>
350353
<a href="https://github.com/PythonSmall-Q/TimeLens/releases" target="_blank" rel="noopener">Releases</a>
351-
<a href="../README.md">README</a>
352-
<a href="../CHANGELOG.md">Changelog</a>
353-
<a href="../CONTRIBUTING.md">Contributing</a>
354-
<a href="../PRIVACY_POLICY.md">Privacy</a>
354+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/README.md" target="_blank" rel="noopener">README</a>
355+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CHANGELOG.md" target="_blank" rel="noopener">Changelog</a>
356+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Contributing</a>
357+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/PRIVACY_POLICY.md" target="_blank" rel="noopener">Privacy</a>
355358
</div>
356359
</div>
357360
</footer>

docs/ARCHITECTURE.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<li><a href="WIDGETS_DEV_GUIDE.html">小组件开发</a></li>
4242
<li><a href="ADD_LANGUAGE.html">添加语言</a></li>
4343
<li><a href="WIDGETS_DEV_GUIDE.zh-CN.html">中文小组件指南</a></li>
44+
<li><a href="browser-extension/index.html">浏览器扩展</a></li>
45+
<li><a href="vscode-extension/index.html">VS Code 扩展</a></li>
46+
<li><a href="help/index.html">帮助文档</a></li>
4447
</ul>
4548
</aside>
4649

@@ -237,7 +240,7 @@ <h2 id="security">安全模型</h2>
237240
</ul>
238241

239242
<hr />
240-
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2025-05-03 · TimeLens v1.1.0</p>
243+
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2026-07-18 · TimeLens v2.0.1</p>
241244
</main>
242245
</div>
243246

@@ -258,10 +261,10 @@ <h2 id="security">安全模型</h2>
258261
<div class="footer-links">
259262
<a href="https://github.com/PythonSmall-Q/TimeLens" target="_blank" rel="noopener">GitHub</a>
260263
<a href="https://github.com/PythonSmall-Q/TimeLens/releases" target="_blank" rel="noopener">Releases</a>
261-
<a href="../README.md">README</a>
262-
<a href="../CHANGELOG.md">Changelog</a>
263-
<a href="../CONTRIBUTING.md">Contributing</a>
264-
<a href="../PRIVACY_POLICY.md">Privacy</a>
264+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/README.md" target="_blank" rel="noopener">README</a>
265+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CHANGELOG.md" target="_blank" rel="noopener">Changelog</a>
266+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Contributing</a>
267+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/PRIVACY_POLICY.md" target="_blank" rel="noopener">Privacy</a>
265268
</div>
266269
</div>
267270
</footer>

docs/DEVELOPMENT.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
<li><a href="WIDGETS_DEV_GUIDE.html">小组件开发</a></li>
4545
<li><a href="ADD_LANGUAGE.html">添加语言</a></li>
4646
<li><a href="WIDGETS_DEV_GUIDE.zh-CN.html">中文小组件指南</a></li>
47+
<li><a href="browser-extension/index.html">浏览器扩展</a></li>
48+
<li><a href="vscode-extension/index.html">VS Code 扩展</a></li>
49+
<li><a href="help/index.html">帮助文档</a></li>
4750
</ul>
4851
</aside>
4952

@@ -234,7 +237,7 @@ <h2 id="contributing">贡献代码</h2>
234237
</ol>
235238

236239
<hr />
237-
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2025-05-03 · TimeLens v1.1.0</p>
240+
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2026-07-18 · TimeLens v2.0.1</p>
238241
</main>
239242
</div>
240243

@@ -255,10 +258,10 @@ <h2 id="contributing">贡献代码</h2>
255258
<div class="footer-links">
256259
<a href="https://github.com/PythonSmall-Q/TimeLens" target="_blank" rel="noopener">GitHub</a>
257260
<a href="https://github.com/PythonSmall-Q/TimeLens/releases" target="_blank" rel="noopener">Releases</a>
258-
<a href="../README.md">README</a>
259-
<a href="../CHANGELOG.md">Changelog</a>
260-
<a href="../CONTRIBUTING.md">Contributing</a>
261-
<a href="../PRIVACY_POLICY.md">Privacy</a>
261+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/README.md" target="_blank" rel="noopener">README</a>
262+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CHANGELOG.md" target="_blank" rel="noopener">Changelog</a>
263+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Contributing</a>
264+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/PRIVACY_POLICY.md" target="_blank" rel="noopener">Privacy</a>
262265
</div>
263266
</div>
264267
</footer>

docs/WIDGETS_DEV_GUIDE.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<li><a href="API_REFERENCE.html">API 参考</a></li>
4242
<li><a href="ADD_LANGUAGE.html">添加语言</a></li>
4343
<li><a href="WIDGETS_DEV_GUIDE.zh-CN.html">中文小组件指南</a></li>
44+
<li><a href="browser-extension/index.html">浏览器扩展</a></li>
45+
<li><a href="vscode-extension/index.html">VS Code 扩展</a></li>
46+
<li><a href="help/index.html">帮助文档</a></li>
4447
</ul>
4548
</aside>
4649

@@ -52,7 +55,7 @@
5255
</nav>
5356

5457
<h1>Widget Development Guide</h1>
55-
<p>This guide explains how to build third-party JavaScript widgets for TimeLens v1.1.0.</p>
58+
<p>This guide explains how to build third-party JavaScript widgets for TimeLens v2.0.1.</p>
5659

5760
<hr />
5861

@@ -309,7 +312,7 @@ <h2 id="debugging">Debugging Tips</h2>
309312
</ul>
310313

311314
<hr />
312-
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2025-05-03 · TimeLens v1.1.0</p>
315+
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2026-07-18 · TimeLens v2.0.1</p>
313316
</main>
314317
</div>
315318

@@ -330,10 +333,10 @@ <h2 id="debugging">Debugging Tips</h2>
330333
<div class="footer-links">
331334
<a href="https://github.com/PythonSmall-Q/TimeLens" target="_blank" rel="noopener">GitHub</a>
332335
<a href="https://github.com/PythonSmall-Q/TimeLens/releases" target="_blank" rel="noopener">Releases</a>
333-
<a href="../README.md">README</a>
334-
<a href="../CHANGELOG.md">Changelog</a>
335-
<a href="../CONTRIBUTING.md">Contributing</a>
336-
<a href="../PRIVACY_POLICY.md">Privacy</a>
336+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/README.md" target="_blank" rel="noopener">README</a>
337+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CHANGELOG.md" target="_blank" rel="noopener">Changelog</a>
338+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Contributing</a>
339+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/PRIVACY_POLICY.md" target="_blank" rel="noopener">Privacy</a>
337340
</div>
338341
</div>
339342
</footer>

docs/WIDGETS_DEV_GUIDE.zh-CN.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
<li><a href="API_REFERENCE.html">API 参考</a></li>
4242
<li><a href="WIDGETS_DEV_GUIDE.html">小组件开发(英文)</a></li>
4343
<li><a href="ADD_LANGUAGE.html">添加语言</a></li>
44+
<li><a href="browser-extension/index.html">浏览器扩展</a></li>
45+
<li><a href="vscode-extension/index.html">VS Code 扩展</a></li>
46+
<li><a href="help/index.html">帮助文档</a></li>
4447
</ul>
4548
</aside>
4649

@@ -52,7 +55,7 @@
5255
</nav>
5356

5457
<h1>TimeLens 第三方小组件开发指南</h1>
55-
<p>本文档介绍如何为 TimeLens v1.1.0 开发第三方 JavaScript 小组件。通过简单的 <code>manifest.json</code> + JS 入口文件,即可创建功能丰富的桌面悬浮组件。</p>
58+
<p>本文档介绍如何为 TimeLens v2.0.1 开发第三方 JavaScript 小组件。通过简单的 <code>manifest.json</code> + JS 入口文件,即可创建功能丰富的桌面悬浮组件。</p>
5659

5760
<hr />
5861

@@ -385,7 +388,7 @@ <h2 id="template">官方模板</h2>
385388
<p>建议以此模板为基础开始你的小组件开发。</p>
386389

387390
<hr />
388-
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2025-05-03 · TimeLens v1.1.0</p>
391+
<p style="color: var(--text-muted); font-size: 0.85rem;">最后更新:2026-07-18 · TimeLens v2.0.1</p>
389392
</main>
390393
</div>
391394

@@ -406,10 +409,10 @@ <h2 id="template">官方模板</h2>
406409
<div class="footer-links">
407410
<a href="https://github.com/PythonSmall-Q/TimeLens" target="_blank" rel="noopener">GitHub</a>
408411
<a href="https://github.com/PythonSmall-Q/TimeLens/releases" target="_blank" rel="noopener">Releases</a>
409-
<a href="../README.md">README</a>
410-
<a href="../CHANGELOG.md">Changelog</a>
411-
<a href="../CONTRIBUTING.md">Contributing</a>
412-
<a href="../PRIVACY_POLICY.md">Privacy</a>
412+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/README.md" target="_blank" rel="noopener">README</a>
413+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CHANGELOG.md" target="_blank" rel="noopener">Changelog</a>
414+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Contributing</a>
415+
<a href="https://github.com/PythonSmall-Q/TimeLens/blob/main/PRIVACY_POLICY.md" target="_blank" rel="noopener">Privacy</a>
413416
</div>
414417
</div>
415418
</footer>

0 commit comments

Comments
 (0)