File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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',
Original file line number Diff line number Diff 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" } ,
You can’t perform that action at this time.
0 commit comments