Skip to content

Commit 1cf66eb

Browse files
committed
docs: remove .html extensions from all URLs site-wide
Restructure docs so each page.html becomes page/index.html, letting GitHub Pages serve clean URLs (e.g. /docs instead of /docs.html). Update all internal links and sidebar.js accordingly.
1 parent b1450d9 commit 1cf66eb

File tree

37 files changed

+147
-146
lines changed

37 files changed

+147
-146
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank">
3434
<svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">
@@ -95,14 +95,14 @@ <h2>Supported Providers</h2>
9595
<td>Cohere</td>
9696
<td><code>/v1/chat/completions</code></td>
9797
<td>
98-
OpenAI-compatible endpoint; see <a href="cohere.html">Cohere page</a> for native
98+
OpenAI-compatible endpoint; see <a href="/cohere">Cohere page</a> for native
9999
endpoints
100100
</td>
101101
</tr>
102102
<tr>
103103
<td>Vertex AI</td>
104104
<td><code>/v1/projects/.../models/:model:*</code></td>
105-
<td>Uses Gemini handler; see <a href="vertex-ai.html">Vertex AI page</a></td>
105+
<td>Uses Gemini handler; see <a href="/vertex-ai">Vertex AI page</a></td>
106106
</tr>
107107
</tbody>
108108
</table>
@@ -275,7 +275,7 @@ <h2>Example Fixture</h2>
275275
<strong>Ollama native endpoints:</strong> In addition to the OpenAI-compatible endpoint
276276
listed above, Ollama has its own native <code>/api/chat</code> and
277277
<code>/api/generate</code> endpoints. aimock supports these natively &mdash; see the
278-
<a href="ollama.html">Ollama page</a> for details on the native endpoint format.
278+
<a href="/ollama">Ollama page</a> for details on the native endpoint format.
279279
</p>
280280
</div>
281281
</main>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</div>
2929
<ul class="nav-links">
3030
<li><a href="/">Home</a></li>
31-
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
31+
<li><a href="/docs" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"
3434
><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor">

0 commit comments

Comments
 (0)