Skip to content

Commit

Permalink
Add highlight for search terms
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow committed May 9, 2023
1 parent 17fd3f6 commit f838be0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/_templates/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{% extends "search.html" %}

{%- block regular_scripts -%}
{{ super() }}
<script src="{{ pathto('_static/sphinx_highlight.js', 1) }}"></script>
{%- endblock regular_scripts-%}

0 comments on commit f838be0

Please sign in to comment.