Skip to content

Commit

Permalink
fix link and search (vesoft-inc#2342)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Nov 10, 2023
1 parent 62e0576 commit 690b7ff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs-2.0-en/overrides/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@
<label class="md-header__button md-icon" for="__search">
{% include ".icons/material/magnify.svg" %}
</label>
{% include "partials/search.html" %}
{% if "search" in config["plugins"] %}
{% include "partials/search.html" %}
{% else %}
{% include "partials/algolia-search.html" %}
{% endif %}
{% if config.repo_url %}
<div class="md-header__source">
{% include "partials/source.html" %}
Expand Down
2 changes: 1 addition & 1 deletion docs-2.0-zh/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
{% extends "base.html" %}

{% block announce %}
从3.5.0版本开始的文档仅包含社区版功能。如需查看企业版文档,欢迎<a href="https://yueshu.com.cn/contact">联系我们</a>
从3.5.0版本开始的文档仅包含社区版功能。如需查看企业版文档,欢迎<a href="https://www.nebula-graph.com.cn/contact">联系我们</a>
{% endblock %}
6 changes: 5 additions & 1 deletion docs-2.0-zh/overrides/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@
<label class="md-header__button md-icon" for="__search">
{% include ".icons/material/magnify.svg" %}
</label>
{% include "partials/search.html" %}
{% if "search" in config["plugins"] %}
{% include "partials/search.html" %}
{% else %}
{% include "partials/algolia-search.html" %}
{% endif %}
{% if config.repo_url %}
<div class="md-header__source">
{% include "partials/source.html" %}
Expand Down

0 comments on commit 690b7ff

Please sign in to comment.