Skip to content

Commit a113122

Browse files
authored
Merge pull request #8261 from wazuh/enhancement/5120-theme-bootstrap-5-design-favicon-3.1
[3.1] Update to Bootstrap v5, some style changes and fix for the favicon
2 parents ca4b324 + 39f8e79 commit a113122

File tree

196 files changed

+9613
-8110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+9613
-8110
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ Sphinx==7.2.6
22
sphinx-tabs==3.4.5
33
docutils==0.18.1
44
jsmin==3.0.1
5-
Jinja2==3.1.5
5+
Jinja2==3.1.6
66
Pygments==2.15.1
77
sphinx-reredirects==0.1.5

source/_themes/wazuh_doc_theme_v3/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@
1919
</header>
2020
<div id="large-search-box">
2121
<div class="container">
22-
<div class="h2 title">
23-
Documentation <span class="wzh-remark">Index</span>
22+
<div class="inner-container">
23+
<div class="h2 title">
24+
Documentation <span class="text-bold">Index</span>
25+
</div>
26+
{% include "template-parts/search-box.html" %}
2427
</div>
25-
{% include "template-parts/search-box.html" %}
2628
</div>
2729
</div>
2830
{% endblock %}

source/_themes/wazuh_doc_theme_v3/layout.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,7 @@
237237
{% endblock css %}
238238

239239
{#- FAVICON -#}
240-
<link rel="mask-icon" href="{{ pathto('_static/images/favicon.svg', 1) }}?v={{ compilation_ts }}" color="#000000">
241-
<link rel="icon" href="{{ pathto('_static/images/favicon.png', 1) }}?v={{ compilation_ts }}" media="(prefers-color-scheme:no-preference)" sizes="any" type="image/png"/>
242-
<link rel="icon" href="{{ pathto('_static/images/dark-favicon.png', 1) }}?v={{ compilation_ts }}" media="(prefers-color-scheme:dark)" sizes="any" type="image/png"/>
243-
<link rel="icon" href="{{ pathto('_static/images/favicon.png', 1) }}?v={{ compilation_ts }}" media="(prefers-color-scheme:light)" sizes="any" type="image/png"/>
244-
<link rel="apple-touch-icon" href="{{ pathto('_static/images/favicon.svg', 1) }}?v={{ compilation_ts }}">
240+
<link rel="icon" href="{{ pathto('_static/images/favicon.ico', 1) }}?v={{ compilation_ts }}"/>
245241

246242
{%- if production and theme_breadcrumb_root_title == 'Documentation' -%}
247243
{#- Google Tag Manager - Head -#}
@@ -281,7 +277,7 @@
281277
{%- set body_class = body_class + ' pre-v3' -%}
282278
{% endif -%}
283279

284-
<body class="{{ body_class }}" data-path="{{ pagename }}" data-spy="scroll" data-target="#local-toc" data-offset="200">
280+
<body class="{{ body_class }}" data-path="{{ pagename }}">
285281
{%- if production and theme_breadcrumb_root_title == 'Documentation' -%}
286282
{#- Google Tag Manager - Body -#}
287283
{%- block gtm_body -%}

0 commit comments

Comments
 (0)