Skip to content

Commit 4161376

Browse files
committed
remove README hardcoded links
1 parent d0c2643 commit 4161376

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

pgml-dashboard/src/components/navbar_web_app/template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</li>
4949

5050
<li class="nav-item d-flex align-items-center">
51-
<a class="nav-link p-lg-0" href="/docs/guides/README">Docs</a>
51+
<a class="nav-link p-lg-0" href="/docs/guides/">Docs</a>
5252
</li>
5353

5454
<div class="vr my-2 opacity-100 d-lg-block d-none" style="width: 2px"></div>
@@ -78,7 +78,7 @@
7878
</li>
7979

8080
<li class="menu-item rounded-0 d-flex align-items-center">
81-
<a href="/docs/guides/README/">Docs</a>
81+
<a href="/docs/guides//">Docs</a>
8282
</li>
8383

8484
<li class="menu-item rounded-0 d-flex align-items-center">

pgml-dashboard/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ mod test {
285285
#[rocket::async_test]
286286
async fn test_docs() {
287287
let client = Client::tracked(rocket().await).await.unwrap();
288-
let response = client.get("/docs/guides/README").dispatch().await;
288+
let response = client.get("/docs/guides/").dispatch().await;
289289
assert_eq!(response.status().code, 200);
290290
}
291291

pgml-dashboard/templates/content/not_found.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h1 class="mt-5">Page Not Found</h1>
44
</div>
55

66
<div class="d-flex justify-content-center">
7-
<p class="text-white fs-5">Looks like the page you're looking for doesn't exist. It may have been moved, or it never existed, we truly don't know. Try looking in our <a href="/docs/guides/README">documentation</a> or in our <a href="/blog/data-is-living-and-relational">blog</a>. We're also hanging out in <a href="https://discord.gg/DmyJP3qJ7U">Discord</a> and are happy to answer any questions!</p>
7+
<p class="text-white fs-5">Looks like the page you're looking for doesn't exist. It may have been moved, or it never existed, we truly don't know. Try looking in our <a href="/docs/guides/">documentation</a> or in our <a href="/blog/data-is-living-and-relational">blog</a>. We're also hanging out in <a href="https://discord.gg/DmyJP3qJ7U">Discord</a> and are happy to answer any questions!</p>
88
</p>
99
</div>
1010
</div>

pgml-dashboard/templates/layout/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h5 class="h5 d-flex align-items-center gap-2 mb-5">
1010
<nav class="nav d-flex flex-column">
1111
<a class="nav-link text-white" href="/">PostgresML</a>
1212
<a class="nav-link text-white" href="https://github.com/postgresml/postgresml">Github</a>
13-
<a class="nav-link text-white" href="/docs/guides/README" data-turbo="false">Documentation</a>
13+
<a class="nav-link text-white" href="/docs/guides/" data-turbo="false">Documentation</a>
1414
<a class="nav-link text-white" href="mailto:team@postgresml.org">Contact Us</a>
1515
<a class="nav-link text-white" href="https://discord.gg/DmyJP3qJ7U">Discord</a>
1616
</nav>

pgml-dashboard/templates/layout/nav/top.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<div class="collapse navbar-collapse" id="navbarSupportedContent">
1616
<ul class="navbar-nav flex-grow-1 gap-4 me-auto mb-4 mb-lg-0">
1717
<li class="nav-item d-flex align-items-center">
18-
<a class="nav-link p-0" href="/docs/guides/README">Docs</a>
18+
<a class="nav-link p-0" href="/docs/guides/">Docs</a>
1919
</li>
2020
<% if !standalone_dashboard { %>
2121
<!-- <li class="nav-item d-flex align-items-center">

pgml-dashboard/templates/layout/nav/top_web_app.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</li>
4848

4949
<li class="nav-item d-flex align-items-center">
50-
<a class="nav-link p-lg-0" href="/docs/guides/README">Docs</a>
50+
<a class="nav-link p-lg-0" href="/docs/guides/">Docs</a>
5151
</li>
5252

5353
<div class="vr my-2 opacity-100 d-lg-block d-none" style="width: 2px"></div>
@@ -87,7 +87,7 @@
8787
</li>
8888

8989
<li class="menu-item rounded-0 d-flex align-items-center">
90-
<a href="/docs/guides/README/">Docs</a>
90+
<a href="/docs/guides//">Docs</a>
9191
</li>
9292

9393
<li class="menu-item rounded-0 d-flex align-items-center">

0 commit comments

Comments
 (0)