Skip to content

Commit 00012c7

Browse files
committed
fix: use relative paths in website for GitHub Pages compatibility
1 parent c53e698 commit 00012c7

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

www/public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@
521521
<a href="#features">Features</a>
522522
<a href="#showcase">Showcase</a>
523523
<a href="#climate">Climate</a>
524-
<a href="/manual.html" target="_blank">Documentation</a>
524+
<a href="manual.html" target="_blank">Documentation</a>
525525
</div>
526526
<a href="#download" class="btn">Download Now</a>
527527
</nav>
@@ -534,7 +534,7 @@ <h1>Terminal <span>Intelligence</span></h1>
534534

535535
<div class="hero-actions">
536536
<a href="#download" class="btn">Get Started</a>
537-
<a href="/manual.html" target="_blank" class="btn btn-outline">Read the Manual</a>
537+
<a href="manual.html" target="_blank" class="btn btn-outline">Read the Manual</a>
538538
</div>
539539

540540
<div class="hero-image-wrapper fade-in">

www/public/manual.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@
215215

216216
<body>
217217
<nav>
218-
<a href="/" class="logo">
218+
<a href="./" class="logo">
219219
<span>&gt;_</span> TI
220220
</a>
221-
<a href="/" class="btn-back">← Back to Home</a>
221+
<a href="./" class="btn-back">← Back to Home</a>
222222
</nav>
223223
<main>
224224
<div id="content" class="markdown-body">
@@ -227,7 +227,7 @@
227227
</main>
228228
<script>
229229
// Fetch and parse the markdown document
230-
fetch('/docs/TUTORIAL_MANUAL.md')
230+
fetch('docs/TUTORIAL_MANUAL.md')
231231
.then(response => {
232232
if (!response.ok) {
233233
throw new Error('Could not load the manual. Status: ' + response.status);

0 commit comments

Comments
 (0)