Преглед на файлове

fix URL for search results

Falko Schindler преди 1 година
родител
ревизия
2e849a87d7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      website/documentation/search.py

+ 1 - 1
website/documentation/search.py

@@ -23,7 +23,7 @@ def build_search_index() -> None:
         {
             'title': f'{documentation.heading.replace("*", "")}: {part.title}',
             'content': part.description or '',
-            'url': f'{documentation.name}#{part.link_target}',
+            'url': f'/documentation/{documentation.name}#{part.link_target}',
         }
         for documentation in registry.values()
         for part in documentation.parts