|
4 | 4 | {%- else %} |
5 | 5 | {%- set titlesuffix = "" %} |
6 | 6 | {%- endif %} |
7 | | -<html lang="{{ language }}" data-content_root="{{ content_root }}"> |
| 7 | +{%- set github = "https://github.com/vortex-data/vortex" %} |
| 8 | +<html lang="{{ language }}" data-content_root="{{ content_root }}" data-theme="system"> |
8 | 9 | <head> |
9 | 10 | <meta charset="{{ encoding }}" /> |
10 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
11 | 11 | {{- metatags }} |
| 12 | + {%- if 'name="viewport"' not in metatags %} |
| 13 | + <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 14 | + {%- endif %} |
12 | 15 | {%- block htmltitle %} |
13 | 16 | <title>{{ title|striptags|e }}{{ titlesuffix }}</title> |
14 | 17 | {%- endblock %} |
| 18 | + {%- if meta and meta.description %} |
| 19 | + <meta name="description" content="{{ meta.description|e }}" /> |
| 20 | + {%- endif %} |
15 | 21 | <meta property="og:title" content="{{ title|striptags|e }}" /> |
16 | 22 | <meta property="og:type" content="website" /> |
17 | 23 | <meta property="og:site_name" content="{{ project|e }}" /> |
|
22 | 28 | {%- for css in css_files %} |
23 | 29 | {{ css_tag(css) }} |
24 | 30 | {%- endfor %} |
| 31 | + <link rel="preload" href="{{ pathto('_static/fonts/geist-mono-latin.woff2', 1) }}" as="font" type="font/woff2" crossorigin /> |
25 | 32 | {%- block scripts %} |
26 | 33 | {%- for js in script_files %} |
27 | 34 | {{ js_tag(js) }} |
|
41 | 48 | {%- endif %} |
42 | 49 | {%- block extrahead %}{% endblock %} |
43 | 50 | </head> |
44 | | -<body class="page-{{ pagename|replace('/', '-')|e }}"> |
45 | | -<a class="skip-link" href="#main">{{ _('Skip to content') }}</a> |
46 | | -<input type="checkbox" id="nav-toggle" class="visually-hidden" /> |
47 | | -<header class="header"> |
48 | | - <label for="nav-toggle" class="nav-toggle" aria-label="{{ _('Toggle navigation') }}"> |
49 | | - <svg viewBox="0 0 16 16" width="20" height="20" aria-hidden="true"><path stroke="currentColor" stroke-width="1.5" d="M1 3.5h14M1 8h14M1 12.5h14"/></svg> |
| 51 | +<body class="vx-docs page-{{ pagename|replace('/', '-')|e }}"> |
| 52 | +<a class="vx-docs-skip" href="#main">{{ _('Skip to content') }}</a> |
| 53 | +<input type="checkbox" id="nav-toggle" class="vx-docs-toggle" aria-label="{{ _('Show the site navigation') }}" /> |
| 54 | +<header class="vx-docs-header"> |
| 55 | + <label for="nav-toggle" class="vx-docs-menu" aria-hidden="true"> |
| 56 | + <svg viewBox="0 -960 960 960"><path d="M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z"/></svg> |
50 | 57 | </label> |
51 | | - <a class="logo" href="{{ pathto(root_doc)|e }}"> |
52 | | - <img class="only-light" src="{{ pathto('_static/vortex_logo.svg', 1) }}" alt="" width="24" height="24" /> |
53 | | - <img class="only-dark" src="{{ pathto('_static/vortex_logo_dark_theme.svg', 1) }}" alt="" width="24" height="24" /> |
54 | | - <span>Vortex</span> |
| 58 | + <a class="vx-docs-brand" href="{{ pathto(root_doc)|e }}"> |
| 59 | + <picture> |
| 60 | + <source srcset="{{ pathto('_static/vortex_wordmark.svg', 1) }}" media="(prefers-color-scheme: light)" /> |
| 61 | + <img src="{{ pathto('_static/vortex_wordmark_dark_theme.svg', 1) }}" alt="Vortex" width="83" height="24" /> |
| 62 | + </picture> |
| 63 | + <span class="vx-docs-label">{{ _('Docs') }}</span> |
55 | 64 | </a> |
56 | | - <form class="search" role="search" action="{{ pathto('search') }}" method="get"> |
57 | | - <input type="search" name="q" placeholder="{{ _('Search') }}" aria-label="{{ _('Search the docs') }}" /> |
| 65 | + <form class="vx-docs-search" role="search" action="{{ pathto('search') }}" method="get"> |
| 66 | + <svg viewBox="0 -960 960 960" aria-hidden="true"><path d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"/></svg> |
| 67 | + <input type="search" name="q" placeholder="{{ _('Search the docs') }}" aria-label="{{ _('Search the docs') }}" /> |
58 | 68 | </form> |
59 | | - <nav class="extlinks" aria-label="{{ _('External links') }}"> |
60 | | - <a href="https://github.com/vortex-data/vortex">GitHub</a> |
61 | | - <a href="https://pypi.org/project/vortex-data">PyPI</a> |
62 | | - <a href="https://crates.io/crates/vortex">crates.io</a> |
| 69 | + <nav class="vx-docs-links" aria-label="{{ _('Project links') }}"> |
| 70 | + <a class="is-narrow" href="{{ pathto('search') }}" aria-label="{{ _('Search the docs') }}"><svg viewBox="0 -960 960 960" aria-hidden="true"><path d="M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"/></svg></a> |
| 71 | + <a href="{{ github }}">GitHub</a> |
| 72 | + <a class="is-wide" href="https://pypi.org/project/vortex-data">PyPI</a> |
| 73 | + <a class="is-wide" href="https://crates.io/crates/vortex">crates.io</a> |
63 | 74 | </nav> |
64 | 75 | </header> |
65 | | -<div class="layout"> |
66 | | - <nav class="sidebar" id="nav" aria-label="{{ _('Site navigation') }}"> |
| 76 | +<div class="vx-docs-layout"> |
| 77 | + <nav class="vx-docs-nav" id="nav" aria-label="{{ _('Site navigation') }}"> |
67 | 78 | {{ vortex_globaltoc }} |
68 | 79 | </nav> |
69 | | - <main id="main" class="content" role="main"> |
70 | | - {%- block body %}{% endblock %} |
71 | | - <footer class="footer"> |
72 | | - {%- if page_source_suffix %} |
73 | | - <a href="https://github.com/vortex-data/vortex/edit/develop/docs/{{ pagename }}{{ page_source_suffix }}">{{ _('Edit this page') }}</a> · |
| 80 | + <div class="vx-docs-page"> |
| 81 | + {%- if display_toc %} |
| 82 | + <details class="vx-docs-fold"> |
| 83 | + <summary>{{ _('On this page') }}</summary> |
| 84 | + {{ toc }} |
| 85 | + </details> |
| 86 | + {%- endif %} |
| 87 | + <main id="main" class="vx-docs-main" role="main"> |
| 88 | + {%- block body %}{% endblock %} |
| 89 | + </main> |
| 90 | + {%- if page_source_suffix %} |
| 91 | + <p class="vx-docs-edit"><a href="{{ github }}/edit/develop/docs/{{ pagename }}{{ page_source_suffix }}">{{ _('Edit this page') }}</a></p> |
| 92 | + {%- endif %} |
| 93 | + {%- if prev or next %} |
| 94 | + <nav class="vx-docs-pager" aria-label="{{ _('Previous and next') }}"> |
| 95 | + {%- if prev %} |
| 96 | + <a href="{{ prev.link|e }}"><span class="vx-docs-label">{{ _('Previous') }}</span>{{ prev.title }}</a> |
74 | 97 | {%- endif %} |
75 | | - © {{ copyright|e }}. |
76 | | - {%- if show_sphinx %} {% trans sphinx_version=sphinx_version|e %}Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}{% endif %} |
77 | | - </footer> |
78 | | - </main> |
| 98 | + {%- if next %} |
| 99 | + <a class="is-next" href="{{ next.link|e }}"><span class="vx-docs-label">{{ _('Next') }}</span>{{ next.title }}</a> |
| 100 | + {%- endif %} |
| 101 | + </nav> |
| 102 | + {%- endif %} |
| 103 | + </div> |
79 | 104 | {%- if display_toc %} |
80 | | - <aside class="pagetoc"> |
| 105 | + <aside class="vx-docs-toc"> |
81 | 106 | <nav aria-label="{{ _('On this page') }}"> |
82 | 107 | <p>{{ _('On this page') }}</p> |
83 | 108 | {{ toc }} |
84 | 109 | </nav> |
85 | 110 | </aside> |
86 | 111 | {%- endif %} |
87 | 112 | </div> |
| 113 | +<footer class="vx-docs-footer"> |
| 114 | + <p>Copyright © Vortex a Series of LF Projects, LLC. For web site terms of use, trademark policy and other project policies please see <a href="https://lfprojects.org/policies">lfprojects.org/policies</a>.</p> |
| 115 | + <nav aria-label="{{ _('Project') }}"> |
| 116 | + <a href="https://vortex.dev/charter.pdf">{{ _('Charter') }}</a> |
| 117 | + <a href="https://lfprojects.org/policies/code-of-conduct/">{{ _('Code of conduct') }}</a> |
| 118 | + <a href="{{ github }}/blob/develop/SECURITY.md">{{ _('Security') }}</a> |
| 119 | + <a href="https://zoom-lfx.platform.linuxfoundation.org/meetings/vortex">{{ _('Calendar') }}</a> |
| 120 | + </nav> |
| 121 | +</footer> |
88 | 122 | </body> |
89 | 123 | </html> |
0 commit comments