Skip to content

Commit 9b31f13

Browse files
committed
[DOCS Quick fix
1 parent a30fc78 commit 9b31f13

File tree

2 files changed

+5
-1
lines changed
  • docs
    • openvino_custom_sphinx_sitemap/openvino_custom_sphinx_sitemap
    • sphinx_setup

2 files changed

+5
-1
lines changed

docs/openvino_custom_sphinx_sitemap/openvino_custom_sphinx_sitemap/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ def create_sitemap(app, exception):
7575
namespace, values = entry
7676
namespace_element = ET.SubElement(url, namespace)
7777
for tag_name, tag_value in values.items():
78-
ET.SubElement(namespace_element, tag_name).text = tag_value
78+
if tag_name == 'ovcategory':
79+
ET.SubElement(namespace_element, tag_name).text = 'No category'
80+
elif tag_name == 'ovversion':
81+
ET.SubElement(namespace_element, tag_name).text = tag_value
7982

8083
if len(app.locales) > 0:
8184
for lang in app.locales:

docs/sphinx_setup/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
ov_sitemap_meta = [
7474
('coveo:metadata', {
7575
'ovversion': version_name,
76+
'ovcategory': 'null'
7677
})
7778
]
7879

0 commit comments

Comments
 (0)