Skip to content

Commit 5ee80eb

Browse files
committed
Updated sadly hard-coded JS nav code for new docs, refs #283.
1 parent 059ba16 commit 5ee80eb

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

web/static/js/checkURL.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,17 @@ switch(pathName[num]) {
1010
case 'gettingstarted':
1111
$('.toctree-l1 > a:contains("Getting Started")').attr('state', 'open');
1212
break;
13-
case 'terms':
14-
$('.toctree-l1 > a:contains("Terms")').attr('state', 'open');
13+
case 'installation':
14+
$('.toctree-l1 > a:contains("Installation")').attr('state', 'open');
15+
break;
16+
case 'contributing':
17+
$('.toctree-l1 > a:contains("Contributing")').attr('state', 'open');
1518
break;
1619
case 'client':
1720
$('.toctree-l1 > a:contains("Client Reference")').attr('state', 'open');
1821
break;
1922
case 'server':
2023
$('.toctree-l1 > a:contains("Server Reference")').attr('state', 'open');
2124
break;
22-
case 'contributing':
23-
$('.toctree-l1 > a:contains("Contributing")').attr('state', 'open');
24-
break;
25-
case 'releases':
26-
//code this out when releases gets filled out
27-
break;
2825
default:
2926
}

0 commit comments

Comments
 (0)