Skip to content

Commit b1450d9

Browse files
committed
docs: remove /index.html from homepage URL
Replace all href="index.html" links with href="/" across doc pages so navigating Home produces a clean URL. Add history.replaceState fallback in index.html for direct visits to /index.html.
1 parent ad32dad commit b1450d9

37 files changed

Lines changed: 78 additions & 70 deletions

docs/a2a-mock.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
☰
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/aimock-cli.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/aws-bedrock.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/azure-openai.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/chaos-testing.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/chat-completions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank">

docs/claude-messages.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/cohere.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/compatible-providers.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

docs/docker.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
>
2525
&#9776;
2626
</button>
27-
<a href="index.html" class="nav-brand"> <span class="prompt">$</span> aimock </a>
27+
<a href="/" class="nav-brand"> <span class="prompt">$</span> aimock </a>
2828
</div>
2929
<ul class="nav-links">
30-
<li><a href="index.html">Home</a></li>
30+
<li><a href="/">Home</a></li>
3131
<li><a href="docs.html" style="color: var(--accent)">Docs</a></li>
3232
<li>
3333
<a href="https://github.com/CopilotKit/aimock" class="gh-link" target="_blank"

0 commit comments

Comments
 (0)