{%- if pagename != 'index' and pagename != 'documentation' %} {%- set nav_bar_class = "sk-docs-navbar" %} {%- set top_container_cls = "sk-docs-container" %} {%- else %} {%- set nav_bar_class = "sk-landing-navbar" %} {%- set top_container_cls = "sk-landing-container" %} {%- endif %} {% if theme_link_to_live_contributing_page|tobool %} {# Link to development page for live builds #} {%- set development_link = "https://scikit-learn.org/dev/developers/index.html" %} {# Open on a new development page in new window/tab for live builds #} {%- set development_attrs = 'target="_blank" rel="noopener noreferrer"' %} {%- else %} {%- set development_link = pathto('developers/index') %} {%- set development_attrs = '' %} {%- endif %} {# title, link, link_attrs #} {%- set drop_down_navigation = [ ('Getting Started', pathto('getting_started'), ''), ('Tutorial', pathto('tutorial/index'), ''), ("What's new", pathto('whats_new/v' + version), ''), ('Glossary', pathto('glossary'), ''), ('Development', development_link, development_attrs), ('FAQ', pathto('faq'), ''), ('Support', pathto('support'), ''), ('Related packages', pathto('related_projects'), ''), ('Roadmap', pathto('roadmap'), ''), ('Governance', pathto('governance'), ''), ('About us', pathto('about'), ''), ('GitHub', 'https://github.com/scikit-learn/scikit-learn', ''), ('Other Versions and Download', 'https://scikit-learn.org/dev/versions.html', '')] -%}