File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -87,14 +87,17 @@ const config: Config = {
8787 // There should be 2 versions, nightly and stable
8888 // The stable version is second in the list
8989 lastVersion : versions [ 1 ] ,
90- ...( process . env . ENV === "dev" && {
91- versions : {
90+ versions : {
91+ [ versions [ 0 ] ] : {
92+ path : "nightly" ,
93+ } ,
94+ ...( process . env . ENV === "dev" && {
9295 current : {
9396 label : "dev" ,
9497 path : "dev" ,
9598 } ,
96- } ,
97- } ) ,
99+ } ) ,
100+ } ,
98101 editUrl : ( params ) => {
99102 return (
100103 `https://github.com/AztecProtocol/aztec-packages/edit/master/docs/docs/` +
Original file line number Diff line number Diff line change @@ -68,14 +68,17 @@ const config = {
6868 // There should be 2 versions, nightly and stable
6969 // The stable version is second in the list
7070 lastVersion : versions [ 1 ] ,
71- ...( process . env . ENV === "dev" && {
72- versions : {
71+ versions : {
72+ [ versions [ 0 ] ] : {
73+ path : "nightly" ,
74+ } ,
75+ ...( process . env . ENV === "dev" && {
7376 current : {
7477 label : "dev" ,
7578 path : "dev" ,
7679 } ,
77- } ,
78- } ) ,
80+ } ) ,
81+ } ,
7982 remarkPlugins : [ math ] ,
8083 rehypePlugins : [
8184 [
You can’t perform that action at this time.
0 commit comments