From e992f2797c6ce1e1e2c51285bb8bf4f76e534a6f Mon Sep 17 00:00:00 2001
From: Leonard Xu <xbjtdcq@gmailcom>
Date: Sun, 8 Aug 2021 23:25:50 +0800
Subject: [PATCH] [doc] only show document for release-1.4 for 1.x

---
 docs/conf.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 0b041dc7b..3ac811f3e 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -123,8 +123,9 @@ html_context['versions'] = list()
 branches = [branch.name for branch in remote_refs]
 for branch in branches:
     if 'origin/' in branch and ('master' in branch or 'release-' in branch)\
-            and 'HEAD' not in branch and 'gh-pages' not in branch\
-            and 'release-1.1' not in branch and 'release-1.2' not in branch and 'release-1.3' not in branch:
+            and 'HEAD' not in branch and 'gh-pages' not in branch \
+            and 'release-1.0' not in branch and 'release-1.1' not in branch\
+            and 'release-1.2' not in branch and 'release-1.3' not in branch:
         version = branch[7:]
         html_context['versions'].append( (version, '/' +REPO_NAME+ '/' +version+ '/') )