File tree Expand file tree Collapse file tree 8 files changed +40
-10
lines changed
theme/pydata_sphinx_theme/sections Expand file tree Collapse file tree 8 files changed +40
-10
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ msgid ""
1010msgstr ""
1111"Project-Id-Version : PROJECT VERSION\n "
1212"Report-Msgid-Bugs-To : EMAIL@ADDRESS\n "
13- "POT-Creation-Date : 2024-03-11 13:22-0500 \n "
13+ "POT-Creation-Date : 2024-04-29 13:43+0200 \n "
1414"PO-Revision-Date : 2023-04-14 14:57+0000\n "
1515"Last-Translator : Cristhian Rivera, 2024\n "
1616"Language : ca\n "
@@ -156,6 +156,10 @@ msgstr ""
156156"theme.readthedocs.io/en/stable/index.html\" >Tema PyData Sphinx</a> "
157157"%(theme_version)s."
158158
159+ #: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:1
160+ msgid "Announcement"
161+ msgstr ""
162+
159163#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/header.html:3
160164#, fuzzy
161165msgid "Site navigation"
Original file line number Diff line number Diff line change 99msgstr ""
1010"Project-Id-Version : PROJECT VERSION\n "
1111"Report-Msgid-Bugs-To : EMAIL@ADDRESS\n "
12- "POT-Creation-Date : 2024-03-11 13:22-0500 \n "
12+ "POT-Creation-Date : 2024-04-29 13:43+0200 \n "
1313"PO-Revision-Date : 2023-04-14 14:57+0000\n "
1414"Last-Translator : Jan Breuer <j123b567@jaybee.cz>, 2024\n "
1515"Language : cs\n "
@@ -156,6 +156,10 @@ msgstr ""
156156"theme.readthedocs.io/en/stable/index.html\" >PyData Sphinx Theme</a> "
157157"%(theme_version)s."
158158
159+ #: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:1
160+ msgid "Announcement"
161+ msgstr ""
162+
159163#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/header.html:3
160164#, fuzzy
161165msgid "Site navigation"
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : PROJECT VERSION\n "
99"Report-Msgid-Bugs-To : EMAIL@ADDRESS\n "
10- "POT-Creation-Date : 2024-03-11 13:22-0500 \n "
10+ "POT-Creation-Date : 2024-04-29 13:43+0200 \n "
1111"PO-Revision-Date : 2023-02-16 13:19-0500\n "
1212"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1313"Language : en\n "
@@ -147,6 +147,10 @@ msgid ""
147147"%(theme_version)s."
148148msgstr ""
149149
150+ #: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:1
151+ msgid "Announcement"
152+ msgstr ""
153+
150154#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/header.html:3
151155msgid "Site navigation"
152156msgstr ""
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ msgid ""
1010msgstr ""
1111"Project-Id-Version : PROJECT VERSION\n "
1212"Report-Msgid-Bugs-To : EMAIL@ADDRESS\n "
13- "POT-Creation-Date : 2024-03-11 13:22-0500 \n "
13+ "POT-Creation-Date : 2024-04-29 13:43+0200 \n "
1414"PO-Revision-Date : 2023-04-14 14:57+0000\n "
1515"Last-Translator : Cristhian Rivera, 2024\n "
1616"Language : es\n "
@@ -157,6 +157,10 @@ msgstr ""
157157"theme.readthedocs.io/en/stable/index.html\" >Tema PyData Sphinx</a> "
158158"%(theme_version)s."
159159
160+ #: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:1
161+ msgid "Announcement"
162+ msgstr ""
163+
160164#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/header.html:3
161165#, fuzzy
162166msgid "Site navigation"
Original file line number Diff line number Diff line change 99msgstr ""
1010"Project-Id-Version : PROJECT VERSION\n "
1111"Report-Msgid-Bugs-To : EMAIL@ADDRESS\n "
12- "POT-Creation-Date : 2024-03-11 13:22-0500 \n "
12+ "POT-Creation-Date : 2024-04-29 13:43+0200 \n "
1313"PO-Revision-Date : 2023-04-14 14:57+0000\n "
1414"Last-Translator : Rambaud Pierrick <pierrick.rambaud49@gmail.com>, 2024\n "
1515"Language : fr\n "
@@ -156,6 +156,10 @@ msgstr ""
156156"theme.readthedocs.io/en/stable/index.html\" >Thème PyData Sphinx</a> "
157157"%(theme_version)s."
158158
159+ #: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:1
160+ msgid "Announcement"
161+ msgstr ""
162+
159163#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/header.html:3
160164#, fuzzy
161165msgid "Site navigation"
Original file line number Diff line number Diff line change 99msgstr ""
1010"Project-Id-Version : PROJECT VERSION\n "
1111"Report-Msgid-Bugs-To : EMAIL@ADDRESS\n "
12- "POT-Creation-Date : 2024-03-11 13:22-0500 \n "
12+ "POT-Creation-Date : 2024-04-29 13:43+0200 \n "
1313"PO-Revision-Date : 2023-04-14 14:57+0000\n "
1414"Last-Translator : Rambaud Pierrick <pierrick.rambaud49@gmail.com>, 2023\n "
1515"Language : ru\n "
@@ -157,6 +157,10 @@ msgstr ""
157157"theme.readthedocs.io/en/stable/index.html\\\" >PyData Sphinx</a> "
158158"%(theme_version)s."
159159
160+ #: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:1
161+ msgid "Announcement"
162+ msgstr ""
163+
160164#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/header.html:3
161165#, fuzzy
162166msgid "Site navigation"
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PROJECT VERSION\n "
1010"Report-Msgid-Bugs-To : EMAIL@ADDRESS\n "
11- "POT-Creation-Date : 2024-03-11 13:22-0500 \n "
11+ "POT-Creation-Date : 2024-04-29 13:43+0200 \n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1414"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -146,6 +146,10 @@ msgid ""
146146"%(theme_version)s."
147147msgstr ""
148148
149+ #: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:1
150+ msgid "Announcement"
151+ msgstr ""
152+
149153#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/header.html:3
150154msgid "Site navigation"
151155msgstr ""
Original file line number Diff line number Diff line change 1+ {% set banner_label = _("Announcement") %}
12{% set header_classes = ["bd-header-announcement", "container-fluid", "init"] %}
23{% set is_remote=theme_announcement.startswith("http") %}
34{# If we are remote, add a script to make an HTTP request for the value on page load #}
45{%- if is_remote %}
56< script >
6- document . write ( `<div class="bd-header-announcement"></div >` ) ;
7+ document . write ( `<aside class="bd-header-announcement" aria-label="{{ banner_label }}" ></aside >` ) ;
78fetch ( "{{ theme_announcement }}" )
89 . then ( res => { return res . text ( ) ; } )
910 . then ( data => {
4243</ script >
4344{#- if announcement text is not remote, populate announcement w/ local content -#}
4445{%- else %}
45- < div class ="{{ header_classes | join(' ') }} bd-header-announcement ">
46+ < aside class ="{{ header_classes | join(' ') }} bd-header-announcement "
47+ aria-label ="{{ banner_label }} ">
4648 < div class ="bd-header-announcement__content "> {{ theme_announcement }}</ div >
47- </ div >
49+ </ aside >
4850{% endif %}
You can’t perform that action at this time.
0 commit comments