Put flags to separate files

This commit is contained in:
Ivan Blinkov 2017-06-07 19:05:03 +03:00
parent 9dcdb0497d
commit bd4d16b06a
4 changed files with 15 additions and 15 deletions

View File

@ -0,0 +1,7 @@
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg-flag" viewBox="0 0 25 15" height="12" width="20" border="1">
<defs id="defs14"/>
<rect id="rect4" fill="#00247d" height="15" width="25"/>
<path id="path6" stroke-width="3" stroke="#fff" d="M0 0L25 15M25 0L0 15"/>
<path id="path8" stroke-width="5" stroke="#fff" d="M12.5 0V15M0 7.5H25"/>
<path id="path10" stroke-width="3" stroke="#cf142b" d="M12.5 0V15M0 7.5H25"/>
</svg>

After

Width:  |  Height:  |  Size: 620 B

View File

@ -0,0 +1,6 @@
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg-flag" height="12" width="20" viewBox="0 0 10 6" border="1">
<defs id="defs12"/>
<rect id="rect4" height="3" width="10" fill="#fff"/>
<rect id="rect6" height="3" width="10" y="3" fill="#d52b1e"/>
<rect id="rect8" height="2" width="10" y="2" fill="#0039a6"/>
</svg>

After

Width:  |  Height:  |  Size: 511 B

View File

@ -125,13 +125,7 @@ html_theme_options = {
'link': '#08f',
'link_hover': 'red',
'extra_nav_links': collections.OrderedDict([
('''Switch to Russian <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg-flag" height="12" width="20" viewBox="0 0 10 6" border="1">
<defs id="defs12"/>
<rect id="rect4" height="3" width="10" fill="#fff"/>
<rect id="rect6" height="3" width="10" y="3" fill="#d52b1e"/>
<rect id="rect8" height="2" width="10" y="2" fill="#0039a6"/>
</svg>
''', '/docs/ru/'),
('Switch to Russian <img id="svg-flag" src="/docs/en/_static/en.svg" width="20" height="12" />', '/docs/ru/'),
('Single page documentation', '/docs/en/single/'),
('Website home', '/'),
('GitHub', 'https://github.com/yandex/ClickHouse'),

View File

@ -125,14 +125,7 @@ html_theme_options = {
'link': '#08f',
'link_hover': 'red',
'extra_nav_links': collections.OrderedDict([
('''Switch to English <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg-flag" viewBox="0 0 25 15" height="12" width="20" border="1">
<defs id="defs14"/>
<rect id="rect4" fill="#00247d" height="15" width="25"/>
<path id="path6" stroke-width="3" stroke="#fff" d="M0 0L25 15M25 0L0 15"/>
<path id="path8" stroke-width="5" stroke="#fff" d="M12.5 0V15M0 7.5H25"/>
<path id="path10" stroke-width="3" stroke="#cf142b" d="M12.5 0V15M0 7.5H25"/>
</svg>
''', '/docs/en/'),
('Switch to English <img id="svg-flag" src="/docs/ru/_static/en.svg" width="20" height="12" />', '/docs/en/'),
('Документация на одной странице', '/docs/ru/single/'),
('Главная страница сайта', '/'),
('GitHub', 'https://github.com/yandex/ClickHouse'),