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

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 6dc5da091c [doc](xor) remove xor doc from 2.1 (#1272)
6dc5da091c is described below

commit 6dc5da091cc09da6c0bed841b66698e38260a2fe
Author: Mryange <59914473+mrya...@users.noreply.github.com>
AuthorDate: Thu Nov 7 22:09:18 2024 +0800

    [doc](xor) remove xor doc from 2.1 (#1272)
    
    # Versions
    
    - [x] dev
    - [x] 3.0
    - [ ] 2.1
    - [ ] 2.0
    
    # Languages
    
    - [x] Chinese
    - [x] English
---
 .../sql-functions/numeric-functions/xor.md         | 14 +++----
 .../sql-functions/numeric-functions/xor.md         | 13 +++---
 .../sql-functions/numeric-functions/xor.md         | 46 ----------------------
 .../sql-functions/numeric-functions/xor.md         | 13 +++---
 .../sql-functions/numeric-functions/xor.md         | 46 ----------------------
 .../sql-functions/numeric-functions/xor.md         | 12 +++---
 versioned_sidebars/version-2.1-sidebars.json       |  1 -
 7 files changed, 25 insertions(+), 120 deletions(-)

diff --git a/docs/sql-manual/sql-functions/numeric-functions/xor.md 
b/docs/sql-manual/sql-functions/numeric-functions/xor.md
index b8abba2470..0d5e642b3f 100644
--- a/docs/sql-manual/sql-functions/numeric-functions/xor.md
+++ b/docs/sql-manual/sql-functions/numeric-functions/xor.md
@@ -22,17 +22,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## xor
 
-### description
-#### Syntax
+## Description
 
-`BOOLEAN xor BOOLEAN`
 Return the XOR value of two numbers.
 
-### example
+## Syntax
+`BOOLEAN xor BOOLEAN`
+
+## Example
 
-```
+```sql
 mysql >select true xor false,true xor true;
 +------------------+-----------------+
 | (TRUE XOR FALSE) | (TRUE XOR TRUE) |
@@ -42,5 +42,5 @@ mysql >select true xor false,true xor true;
 
 ```
 
-### keywords
+## Keywords
        XOR
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/numeric-functions/xor.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/numeric-functions/xor.md
index 3e9f3c6698..90cace3f41 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/numeric-functions/xor.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/numeric-functions/xor.md
@@ -22,17 +22,16 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## xor
+## Description
 
-### description
-#### Syntax
 
-`BOOLEAN xor BOOLEAN`
 返回两个数的异或值。
 
-### example
+## Syntax
+`BOOLEAN xor BOOLEAN`
 
-```
+## Example
+```sql
 mysql >select true xor false,true xor true;
 +------------------+-----------------+
 | (TRUE XOR FALSE) | (TRUE XOR TRUE) |
@@ -42,5 +41,5 @@ mysql >select true xor false,true xor true;
 
 ```
 
-### keywords
+## Keywords
        XOR
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/numeric-functions/xor.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/numeric-functions/xor.md
deleted file mode 100644
index 3e9f3c6698..0000000000
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/numeric-functions/xor.md
+++ /dev/null
@@ -1,46 +0,0 @@
----
-{
-    "title": "XOR",
-    "language": "zh-CN"
-}
----
-
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-  http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-## xor
-
-### description
-#### Syntax
-
-`BOOLEAN xor BOOLEAN`
-返回两个数的异或值。
-
-### example
-
-```
-mysql >select true xor false,true xor true;
-+------------------+-----------------+
-| (TRUE XOR FALSE) | (TRUE XOR TRUE) |
-+------------------+-----------------+
-|                1 |               0 |
-+------------------+-----------------+
-
-```
-
-### keywords
-       XOR
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md
index 3e9f3c6698..fb4f09ec25 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md
@@ -22,17 +22,16 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## xor
+## Description
 
-### description
-#### Syntax
+返回两个数的异或值。
 
+## Syntax
 `BOOLEAN xor BOOLEAN`
-返回两个数的异或值。
 
-### example
+## Example
 
-```
+```sql
 mysql >select true xor false,true xor true;
 +------------------+-----------------+
 | (TRUE XOR FALSE) | (TRUE XOR TRUE) |
@@ -42,5 +41,5 @@ mysql >select true xor false,true xor true;
 
 ```
 
-### keywords
+## Keywords
        XOR
diff --git 
a/versioned_docs/version-2.1/sql-manual/sql-functions/numeric-functions/xor.md 
b/versioned_docs/version-2.1/sql-manual/sql-functions/numeric-functions/xor.md
deleted file mode 100644
index b8abba2470..0000000000
--- 
a/versioned_docs/version-2.1/sql-manual/sql-functions/numeric-functions/xor.md
+++ /dev/null
@@ -1,46 +0,0 @@
----
-{
-    "title": "XOR",
-    "language": "en"
-}
----
-
-<!-- 
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-  http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-## xor
-
-### description
-#### Syntax
-
-`BOOLEAN xor BOOLEAN`
-Return the XOR value of two numbers.
-
-### example
-
-```
-mysql >select true xor false,true xor true;
-+------------------+-----------------+
-| (TRUE XOR FALSE) | (TRUE XOR TRUE) |
-+------------------+-----------------+
-|                1 |               0 |
-+------------------+-----------------+
-
-```
-
-### keywords
-       XOR
diff --git 
a/versioned_docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md 
b/versioned_docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md
index b8abba2470..38fc1cfc04 100644
--- 
a/versioned_docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md
+++ 
b/versioned_docs/version-3.0/sql-manual/sql-functions/numeric-functions/xor.md
@@ -22,17 +22,17 @@ specific language governing permissions and limitations
 under the License.
 -->
 
-## xor
 
-### description
-#### Syntax
 
-`BOOLEAN xor BOOLEAN`
+## Description
 Return the XOR value of two numbers.
 
+## Syntax
+`BOOLEAN xor BOOLEAN`
+
 ### example
 
-```
+```sql
 mysql >select true xor false,true xor true;
 +------------------+-----------------+
 | (TRUE XOR FALSE) | (TRUE XOR TRUE) |
@@ -42,5 +42,5 @@ mysql >select true xor false,true xor true;
 
 ```
 
-### keywords
+## Keywords
        XOR
diff --git a/versioned_sidebars/version-2.1-sidebars.json 
b/versioned_sidebars/version-2.1-sidebars.json
index b0a476a6e8..353132ddb6 100644
--- a/versioned_sidebars/version-2.1-sidebars.json
+++ b/versioned_sidebars/version-2.1-sidebars.json
@@ -1154,7 +1154,6 @@
                                 
"sql-manual/sql-functions/numeric-functions/pmod",
                                 
"sql-manual/sql-functions/numeric-functions/round",
                                 
"sql-manual/sql-functions/numeric-functions/round-bankers",
-                                
"sql-manual/sql-functions/numeric-functions/xor",
                                 
"sql-manual/sql-functions/numeric-functions/truncate",
                                 
"sql-manual/sql-functions/numeric-functions/abs",
                                 
"sql-manual/sql-functions/numeric-functions/sqrt",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to