|  | 
| 7 | 7 | {%- endif %} | 
| 8 | 8 | 
 | 
| 9 | 9 | {%- set drop_down_navigation = [ | 
| 10 |  | -  ('Getting Started', 'getting_started'), | 
| 11 |  | -  ('Tutorial', 'tutorial/index'), | 
| 12 |  | -  ('Glossary', 'glossary'), | 
| 13 |  | -  ('Development', 'developers/index'), | 
| 14 |  | -  ('FAQ', 'faq'), | 
| 15 |  | -  ('Related packages', 'related_projects'), | 
| 16 |  | -  ('Roadmap', 'roadmap'), | 
| 17 |  | -  ('About us', 'about'), | 
| 18 |  | -  ('Documentation', 'documentation')] | 
|  | 10 | +  ('Getting Started', pathto('getting_started')), | 
|  | 11 | +  ('Tutorial', pathto('tutorial/index')), | 
|  | 12 | +  ('Glossary', pathto('glossary')), | 
|  | 13 | +  ('Development', pathto('developers/index')), | 
|  | 14 | +  ('FAQ', pathto('faq')), | 
|  | 15 | +  ('Related packages', pathto('related_projects')), | 
|  | 16 | +  ('Roadmap', pathto('roadmap')), | 
|  | 17 | +  ('About us', pathto('about')), | 
|  | 18 | +  ('GitHub', 'https://github.com/scikit-learn/scikit-learn'), | 
|  | 19 | +  ('Other Versions', 'https://scikit-learn.org/dev/versions.html')] | 
| 19 | 20 | -%} | 
| 20 | 21 | 
 | 
| 21 | 22 | <nav id="navbar" class="{{ nav_bar_class }} navbar navbar-expand-md navbar-light bg-light py-0"> | 
|  | 
| 57 | 58 |         </li> | 
| 58 | 59 |         {%- for title, link in drop_down_navigation %} | 
| 59 | 60 |         <li class="nav-item"> | 
| 60 |  | -          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="{{ pathto(link) }}">{{ title }}</a> | 
|  | 61 | +          <a class="sk-nav-link nav-link nav-more-item-mobile-items" href="{{ link }}">{{ title }}</a> | 
| 61 | 62 |         </li> | 
| 62 | 63 |         {%- endfor %} | 
| 63 | 64 |         <li class="nav-item dropdown nav-more-item-dropdown"> | 
| 64 | 65 |           <a class="sk-nav-link nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">More</a> | 
| 65 | 66 |           <div class="dropdown-menu" aria-labelledby="navbarDropdown"> | 
| 66 | 67 |             {%- for title, link in drop_down_navigation %} | 
| 67 |  | -              <a class="sk-nav-dropdown-item dropdown-item" href="{{ pathto(link) }}">{{ title}}</a> | 
|  | 68 | +              <a class="sk-nav-dropdown-item dropdown-item" href="{{ link }}">{{ title}}</a> | 
| 68 | 69 |             {%- endfor %} | 
| 69 | 70 |           </div> | 
| 70 | 71 |         </li> | 
|  | 
0 commit comments