This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch mkdocs
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git

commit 9471786f073b46dfd519dd1a296c3498965fbc77
Author: ken.lj <[email protected]>
AuthorDate: Fri Aug 14 10:34:27 2020 +0800

    replace hardcoded 'Docs'
---
 overrides/partials/nav.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/overrides/partials/nav.html b/overrides/partials/nav.html
index 5d56218..a61211f 100755
--- a/overrides/partials/nav.html
+++ b/overrides/partials/nav.html
@@ -51,7 +51,7 @@
   <ul class="md-nav__list" data-md-scrollfix>
     {% set loopIndex = 1 %}
     {% for nav_item in nav %}
-      {% if nav_item.title == 'Docs' %}
+      {% if nav_item.title == config.extra.docs_key %}
         {% for version_nav_item in nav_item.children %}
           {% set nav_item = version_nav_item %}
           {% set path = "nav-" + loopIndex | string %}

Reply via email to