Skip to content

Commit 202b132

Browse files
committed
docs: add wiki section shells
1 parent 4e72ca1 commit 202b132

16 files changed

Lines changed: 359 additions & 9 deletions

File tree

.github/workflows/wiki.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
test -f wiki/index.html
4444
test -f wiki/home/index.html
4545
test -f wiki/docs/index.html
46+
test -f wiki/tutorials/index.html
47+
test -f wiki/alpha-library/index.html
48+
test -f wiki/research-lab/index.html
4649
test -f wiki/_redirects
4750
test -f wiki/_headers
4851
test -f wiki/assets/icon.png

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
</p>
2626

2727
<p align="center">
28+
<a href="https://vibetrading.wiki/">Website</a> &nbsp;&middot;&nbsp;
29+
<a href="https://vibetrading.wiki/docs/">Docs</a> &nbsp;&middot;&nbsp;
2830
<a href="#-news">News</a> &nbsp;&middot;&nbsp;
2931
<a href="#-key-features">Features</a> &nbsp;&middot;&nbsp;
3032
<a href="#-shadow-account">Shadow Account</a> &nbsp;&middot;&nbsp;

README_ar.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
</p>
2626

2727
<p align="center">
28+
<a href="https://vibetrading.wiki/">الموقع</a> &nbsp;&middot;&nbsp;
29+
<a href="https://vibetrading.wiki/docs/">الوثائق</a> &nbsp;&middot;&nbsp;
2830
<a href="#-الأخبار">الأخبار</a> &nbsp;&middot;&nbsp;
2931
<a href="#-الميزات-الرئيسية">الميزات</a> &nbsp;&middot;&nbsp;
3032
<a href="#-حساب-الظل">حساب الظل</a> &nbsp;&middot;&nbsp;

README_ja.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
</p>
2626

2727
<p align="center">
28+
<a href="https://vibetrading.wiki/">公式サイト</a> &nbsp;&middot;&nbsp;
29+
<a href="https://vibetrading.wiki/docs/">ドキュメント</a> &nbsp;&middot;&nbsp;
2830
<a href="#-ニュース">ニュース</a> &nbsp;&middot;&nbsp;
2931
<a href="#-主な機能">機能</a> &nbsp;&middot;&nbsp;
3032
<a href="#-shadow-account">Shadow Account</a> &nbsp;&middot;&nbsp;

README_ko.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
</p>
2626

2727
<p align="center">
28+
<a href="https://vibetrading.wiki/">웹사이트</a> &nbsp;&middot;&nbsp;
29+
<a href="https://vibetrading.wiki/docs/">문서</a> &nbsp;&middot;&nbsp;
2830
<a href="#-뉴스">뉴스</a> &nbsp;&middot;&nbsp;
2931
<a href="#-주요-기능">기능</a> &nbsp;&middot;&nbsp;
3032
<a href="#-섀도우-계정">섀도우 계정</a> &nbsp;&middot;&nbsp;

README_zh.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
</p>
2626

2727
<p align="center">
28+
<a href="https://vibetrading.wiki/">官网</a> &nbsp;&middot;&nbsp;
29+
<a href="https://vibetrading.wiki/docs/">文档</a> &nbsp;&middot;&nbsp;
2830
<a href="#-news">News</a> &nbsp;&middot;&nbsp;
2931
<a href="#-key-features">Features</a> &nbsp;&middot;&nbsp;
3032
<a href="#-shadow-account">Shadow Account</a> &nbsp;&middot;&nbsp;

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ dependencies = [
5959
]
6060

6161
[project.urls]
62-
Homepage = "https://github.com/HKUDS/Vibe-Trading"
62+
Homepage = "https://vibetrading.wiki/"
63+
Documentation = "https://vibetrading.wiki/docs/"
6364
Repository = "https://github.com/HKUDS/Vibe-Trading"
6465
Issues = "https://github.com/HKUDS/Vibe-Trading/issues"
6566

wiki/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ cd wiki
99
python3 -m http.server 8088
1010
```
1111

12-
Open `http://localhost:8088/home/` for the landing page and `http://localhost:8088/docs/` for the docs app.
12+
Open `http://localhost:8088/home/` for the landing page and these wiki sections:
13+
14+
- `http://localhost:8088/docs/`
15+
- `http://localhost:8088/tutorials/`
16+
- `http://localhost:8088/alpha-library/`
17+
- `http://localhost:8088/research-lab/`
1318

1419
Direct docs URLs such as `/docs/latest/getting-started/vibe-trading-overview` are handled by Cloudflare Pages via `_redirects`. The simple Python preview server does not apply those rewrite rules, so use `/docs/` as the local entry point.
1520

wiki/_redirects

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
/docs/ /docs/latest/getting-started/vibe-trading-overview 302
44
/docs/latest/* /docs/index.html 200
55
/docs/0.1.7/* /docs/index.html 200
6+
/tutorials /tutorials/ 302
7+
/alpha /alpha-library/ 302
8+
/alpha-library /alpha-library/ 302
9+
/research-lab /research-lab/ 302

wiki/alpha-library/index.html

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<script>
6+
(function () {
7+
try {
8+
var stored = localStorage.getItem("vibetrading-theme");
9+
var resolved = stored === "dark" || stored === "light"
10+
? stored
11+
: window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
12+
document.documentElement.setAttribute("data-theme", resolved);
13+
} catch (e) {
14+
document.documentElement.setAttribute("data-theme", "light");
15+
}
16+
})();
17+
</script>
18+
<meta name="viewport" content="width=device-width, initial-scale=1">
19+
<title>Alpha Library | Vibe-Trading Wiki</title>
20+
<meta name="description" content="Alpha Library for Vibe-Trading.">
21+
<meta name="robots" content="index, follow, max-image-preview:large">
22+
<meta property="og:type" content="website">
23+
<meta property="og:site_name" content="Vibe-Trading Wiki">
24+
<meta property="og:title" content="Alpha Library">
25+
<meta property="og:description" content="Alpha Library for Vibe-Trading.">
26+
<meta property="og:image" content="https://vibetrading.wiki/assets/icon.png">
27+
<meta property="og:url" content="https://vibetrading.wiki/alpha-library/">
28+
<link rel="canonical" href="https://vibetrading.wiki/alpha-library/">
29+
<link rel="icon" type="image/png" href="/assets/icon.png">
30+
<link rel="preconnect" href="https://fonts.googleapis.com">
31+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
32+
<link href="https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,750&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
33+
<link rel="stylesheet" href="/styles.css">
34+
<script type="module" src="/main.js"></script>
35+
</head>
36+
<body>
37+
<header class="site-header" id="site-header">
38+
<div class="site-header__inner">
39+
<a class="brand" href="/home/" aria-label="Vibe-Trading home">
40+
<img class="brand__mark" src="/assets/icon.png" alt="" width="40" height="40">
41+
<span class="brand__text">Vibe-Trading</span>
42+
</a>
43+
<nav class="site-nav" aria-label="Primary">
44+
<a href="/docs/">Docs</a>
45+
<a href="/tutorials/">Tutorials</a>
46+
<a href="/alpha-library/">Alpha Library</a>
47+
<a href="/research-lab/">Research Lab</a>
48+
<a href="https://github.com/HKUDS/Vibe-Trading">Source</a>
49+
</nav>
50+
<div class="site-actions">
51+
<a class="star-pill" href="https://github.com/HKUDS/Vibe-Trading" aria-label="Vibe-Trading on GitHub">
52+
<span aria-hidden="true">Star</span>
53+
<strong id="star-count">--</strong>
54+
</a>
55+
<button class="icon-button" id="theme-toggle" type="button" aria-label="Toggle color theme">
56+
<span class="theme-icon" aria-hidden="true"></span>
57+
</button>
58+
</div>
59+
</div>
60+
</header>
61+
62+
<main class="section-page">
63+
<section class="section-hero section-hero--blank">
64+
<p class="eyebrow">Alpha Library</p>
65+
<h1>Alpha Library.</h1>
66+
</section>
67+
</main>
68+
69+
<footer class="site-footer">
70+
<span>Vibe-Trading Wiki</span>
71+
<a href="/docs/">Docs</a>
72+
<a href="/tutorials/">Tutorials</a>
73+
<a href="/alpha-library/">Alpha Library</a>
74+
<a href="/research-lab/">Research Lab</a>
75+
<a href="https://github.com/HKUDS/Vibe-Trading">GitHub</a>
76+
</footer>
77+
</body>
78+
</html>

0 commit comments

Comments
 (0)