File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,8 @@ class App extends Component {
239239 path = "/:version/docs/api/@stdlib/:pkg*"
240240 render = { this . renderReadme }
241241 />
242- < Route exact path = "/" >
243- < WelcomePage />
242+ < Route exact path = "/:version/docs/api " >
243+ < WelcomePage version = { this . state . version } />
244244 </ Route >
245245 </ Switch >
246246 </ div >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import AddIcon from '@material-ui/icons/Add';
3030import RemoveIcon from '@material-ui/icons/Remove' ;
3131import IconButton from '@material-ui/core/IconButton' ;
3232import ClearIcon from '@material-ui/icons/Clear' ;
33- import ChevronRightIcon from '@material-ui/icons/ChevronRight ' ;
33+ import ChevronLeftIcon from '@material-ui/icons/ChevronLeft ' ;
3434import VERSIONS from './versions.json' ;
3535import Logo from './logo.jsx' ;
3636
@@ -270,11 +270,11 @@ class MenuBar extends Component {
270270 } }
271271 >
272272 < div className = "side-menu-head" >
273- < Link to = "/" >
273+ < Link to = { `/ ${ this . props . version } /docs/api` } >
274274 < Logo />
275275 </ Link >
276276 < IconButton aria-label = "close drawer" onClick = { this . handleDrawerClose } edge = "start" >
277- < ChevronRightIcon id = "menu-close-icon" />
277+ < ChevronLeftIcon id = "menu-close-icon" />
278278 </ IconButton >
279279 </ div >
280280 < select
You can’t perform that action at this time.
0 commit comments