Skip to content

Commit

Permalink
[DOCS Quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akopytko committed Dec 30, 2024
1 parent a30fc78 commit 9b31f13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ def create_sitemap(app, exception):
namespace, values = entry
namespace_element = ET.SubElement(url, namespace)
for tag_name, tag_value in values.items():
ET.SubElement(namespace_element, tag_name).text = tag_value
if tag_name == 'ovcategory':
ET.SubElement(namespace_element, tag_name).text = 'No category'
elif tag_name == 'ovversion':
ET.SubElement(namespace_element, tag_name).text = tag_value

if len(app.locales) > 0:
for lang in app.locales:
Expand Down
1 change: 1 addition & 0 deletions docs/sphinx_setup/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
ov_sitemap_meta = [
('coveo:metadata', {
'ovversion': version_name,
'ovcategory': 'null'
})
]

Expand Down

0 comments on commit 9b31f13

Please sign in to comment.