Skip to content

Commit 7e5ae8f

Browse files
committed
Fixup
1 parent f456388 commit 7e5ae8f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/.vuepress/client.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ export default defineClientConfig({
103103
addDynamicRoute("/server/kubernetes-operator/:version", to => `/server/kubernetes-operator/${to.params.version}/getting-started/`);
104104

105105
const dotnetClientLatest = __VERSIONS__.all.filter(x => x.id == 'dotnet-client')[0].versions[0].version;
106-
addDynamicRoute("/clients/grpc/dotnet", to => `/clients/grpc/dotnet/${dotnetClientLatest}/getting-started.html`);
106+
// addDynamicRoute("/clients/grpc/dotnet", to => `/clients/grpc/dotnet/${dotnetClientLatest}/getting-started.html`);
107+
addFixedRoute("/clients/grpc/dotnet/latest", `/clients/grpc/dotnet/${dotnetClientLatest}/getting-started.html`);
108+
addDynamicRoute("/clients/grpc/dotnet/:version", to => `/clients/grpc/dotnet/${to.params.version}/getting-started.html`);
107109

108110
// // TODO: Uncomment until we finish writing the docs for the other clients
109111
// addDynamicRoute('/clients/grpc/:lang',

docs/.vuepress/configs/navbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const navbarEn: NavbarOptions = [
2727
{
2828
text: "Clients",
2929
children: [
30-
{ text: ".NET", link: `/clients/grpc/dotnet/` },
30+
{ text: ".NET", link: `/clients/grpc/dotnet/latest/` },
3131
{ text: "Python", link: "/clients/grpc/python/getting-started.html" },
3232
{ text: "Node.js", link: "/clients/grpc/nodejs/getting-started.html" },
3333
{ text: "Java", link: "/clients/grpc/java/getting-started.html" },

0 commit comments

Comments
 (0)