/*
 * 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.
 */

var config = {
    plugins: [
        ['@vuepress/plugin-html-redirect', {
          countdown: 0,
        }],
      ],
    head: [
		['link', { rel: 'icon', href: '/favicon.ico' }],
		["meta", {name: "Description", content: "Apache IoTDB: Time Series Database for IoT"}],
        ["meta", {name: "Keywords", content: "TSDB, time series, time series database, IoTDB, IoT database, IoT data management,时序数据库, 时间序列管理, IoTDB, 物联网数据库, 实时数据库, 物联网数据管理, 物联网数据"}],
        ["meta", {name: "baidu-site-verification", content: "wfKETzB3OT"}],
        ["meta", {name: "google-site-verification", content: "mZWAoRY0yj_HAr-s47zHCGHzx5Ju-RVm5wDbPnwQYFo"}],
		["script", {async: true, src: "https://www.googletagmanager.com/gtag/js?id=G-5MM3J6X84E"}],
		['script', {}, `
          window.dataLayer = window.dataLayer || [];
          function gtag(){dataLayer.push(arguments);}
          gtag('js', new Date());
          gtag('config', 'G-5MM3J6X84E');`
		],
      ],

    // 静态网站部署的目录
    base: '',

    // 网站标题
    title: 'IoTDB Website',

    // <meta name="description" content="...">
    description: 'Apache IoTDB',

    markdown: {

      // 显示代码行号
      lineNumbers: true
    },
    themeConfig: {

        // 项目的 github 地址
        repo: 'https://github.com/apache/iotdb.git',

        // github 地址的链接名
        repoLabel: 'GitHub',

		logo: '/img/logo.png',

		searchMaxSuggestions:10,

		displayAllHeaders: true,

		sidebarDepth: 0,

		locales: {
		  '/': {
			selectText: 'Languages',
			label: 'English',
			ariaLabel: 'Languages',
			editLinkText: 'Edit this page on GitHub',
			serviceWorker: {
			  updatePopup: {
				message: "New content is available.",
				buttonText: "Refresh"
			  }
			},
			algolia: {},
			nav: [
				 {
					text: 'Documentation',
					items: [
						{ text: 'latest', link: '/UserGuide/Master/QuickStart/QuickStart' },
						{ text: 'v0.13.x', link: '/UserGuide/V0.13.x/QuickStart/QuickStart' },
						{ text: 'v0.12.x', link: '/UserGuide/V0.12.x/QuickStart/QuickStart' },
						{ text: 'v0.11.x', link: '/UserGuide/V0.11.x/Get Started/QuickStart' },
						{ text: 'v0.10.x', link: '/UserGuide/V0.10.x/Get Started/QuickStart' },
						{ text: 'v0.9.x', link: '/UserGuide/V0.9.x/0-Get Started/1-QuickStart' },
						{ text: 'v0.8.x', link: '/UserGuide/V0.8.x/0-Get Started/1-QuickStart'},
					]
				  },
				  {
					text: 'Design',
					link: 'https://cwiki.apache.org/confluence/display/IOTDB/System+Design'
				  },
				  {
					text: 'Download',
					link: '/Download/'
				  },
				  {
					text: 'Community',
					items: [
					  { text: 'Wiki', link: 'https://cwiki.apache.org/confluence/display/iotdb'},
					  { text: 'People', link: '/Community/Community-Project Committers'},
					  { text: 'Powered By', link: '/Community/Community-Powered By'},
					  { text: 'Resources', link: '/Community/Materials'},
						{ text: 'Feedback', link: '/Community/Feedback'},
					]
				  },
				  {
					text: 'Development',
					items: [
					  { text: 'How to vote', link: '/Development/VoteRelease'},
					  { text: 'How to Commit', link: '/Development/HowToCommit'},
					  { text: 'Become a Committer', link: '/Development/Committer'},
					  { text: 'ContributeGuide', link: '/Development/ContributeGuide'},
					  { text: 'Changelist of TsFile', link: '/Development/format-changelist'},
					  { text: 'Changelist of RPC', link: '/Development/rpc-changelist'},
					]
				  },
				// {
				// 	text: 'Blog',
				// 	items: [
				// 		{ text: 'Overview', link: '/Blog/Index'},
				// 		{ text: 'Some Notes on Release 0.9.3 and upcoming 0.10.0', link: '/Blog/Release0_93'}
				// 	]
				// },
				  {
					text: 'ASF',
					items: [
					  { text: 'Foundation', link: 'http://www.apache.org/'},
					  { text: 'License', link: 'http://www.apache.org/licenses/'},
					  { text: 'Security', link: 'http://www.apache.org/security/'},
					  { text: 'Sponsorship', link: 'http://www.apache.org/foundation/sponsorship.html'},
					  { text: 'Thanks', link: 'http://www.apache.org/foundation/thanks.html'},
					  { text: 'Current Events', link: 'http://www.apache.org/events/current-event'},
					]
				  },
			],
			sidebar: {
				'/UserGuide/V0.8.x/': [
					{
						title:'IoTDB User Guide (V0.8.x)',
						collapsable: false,
					},
					{
						title: '0-Get Started',
						children: [
							['0-Get Started/1-QuickStart','QuickStart'],
							['0-Get Started/2-Frequently asked questions','Frequently asked questions'],
							['0-Get Started/3-Publication','Research Papers']
						]
					},
					{
						title: '1-Overview',
						children: [
							['1-Overview/1-What is IoTDB','What is IoTDB'],
							['1-Overview/2-Architecture','Architecture'],
							['1-Overview/3-Scenario','Scenario'],
							['1-Overview/4-Features','Features']
						]
					},
					{
						title: '2-Concept Key Concepts and Terminology',
						children: [
							['2-Concept Key Concepts and Terminology/1-Key Concepts and Terminology','Key Concepts and Terminology'],
							['2-Concept Key Concepts and Terminology/2-Data Type','Data Type'],
							['2-Concept Key Concepts and Terminology/3-Encoding','Encoding'],
							['2-Concept Key Concepts and Terminology/4-Compression','Compression']
						]
					},
					{
						title: '3-Operation Manual',
						children: [
							['3-Operation Manual/1-Sample Data','Sample Data'],
							['3-Operation Manual/2-Data Model Selection','Data Model Selection'],
							['3-Operation Manual/3-Data Import','Data Import'],
							['3-Operation Manual/4-Data Query','Data Query'],
							['3-Operation Manual/5-Data Maintenance','Data Maintenance'],
							['3-Operation Manual/6-Priviledge Management','Priviledge Management']
						]
					},
					{
						title: '4-Deployment and Management',
						children: [
							['4-Deployment and Management/1-Deployment','Deployment'],
							['4-Deployment and Management/2-Configuration','Configuration'],
							['4-Deployment and Management/3-System Monitor','System Monitor'],
							['4-Deployment and Management/4-Performance Monitor','Performance Monitor'],
							['4-Deployment and Management/5-System log','System log'],
							['4-Deployment and Management/6-Data Management','Data Management'],
							['4-Deployment and Management/7-Build and use IoTDB by Dockerfile','Dockerfile']
						]
					},
					{
						title: '5-IoTDB SQL Documentation',
						children: [
							['5-IoTDB SQL Documentation/1-IoTDB Query Statement','IoTDB Query Statement'],
							['5-IoTDB SQL Documentation/2-Reference','Reference']
						]
					},
					{
						title: '6-JDBC API',
						children: [
							['6-JDBC API/1-JDBC API','JDBC API']
						]
					},
					{
						title: '7-TsFile',
						children: [
							['7-TsFile/1-Installation','Installation'],
							['7-TsFile/2-Usage','Usage'],
							['7-TsFile/3-Hierarchy','Hierarchy']
						]
					},
					{
						title: '8-System Tools',
						children: [
							['8-System Tools/1-Sync','Sync'],
							['8-System Tools/2-Memory Estimation Tool','Memory Estimation Tool']
						]
					},
				],
				'/UserGuide/V0.9.x/': [
					{
						title:'IoTDB User Guide (V0.9.x)',
						collapsable: false,
					},
					{
						title: '0-Get Started',
						children: [
							['0-Get Started/1-QuickStart','QuickStart'],
							['0-Get Started/2-Frequently asked questions','Frequently asked questions'],
							['0-Get Started/3-Publication','Research Papers']
						]
					},
					{
						title: '1-Overview',
						children: [
							['1-Overview/1-What is IoTDB','What is IoTDB'],
							['1-Overview/2-Architecture','Architecture'],
							['1-Overview/3-Scenario','Scenario'],
							['1-Overview/4-Features','Features']
						]
					},
					{
						title: '2-Concept',
						children: [
							['2-Concept/1-Data Model and Terminology','Data Model and Terminology'],
							['2-Concept/2-Data Type','Data Type'],
							['2-Concept/3-Encoding','Encoding'],
							['2-Concept/4-Compression','Compression']
						]
					},
					{
						title: '3-Server',
						children: [
							['3-Server/1-Download','Download'],
							['3-Server/2-Single Node Setup','Single Node Setup'],
							['3-Server/3-Cluster Setup','Cluster Setup'],
							['3-Server/4-Config Manual','Config Manual'],
							['3-Server/5-Docker Image','Docker Image']
						]
					},
					{
						title: '4-Client',
						children: [
							['4-Client/1-Command Line Interface','Command Line Interface'],
							['4-Client/2-Programming - JDBC','JDBC'],
							['4-Client/3-Programming - Session','Session'],
							['4-Client/4-Programming - Other Languages','Other Languages'],
							['4-Client/5-Programming - TsFile API','TsFile API']
						]
					},
					{
						title: '5-Operation Manual',
						children: [
							['5-Operation Manual/1-DDL Data Definition Language','DDL (Data Definition Language)'],
							['5-Operation Manual/2-DML Data Manipulation Language','DML (Data Manipulation Language)'],
							['5-Operation Manual/3-Account Management Statements','Account Management Statements'],
							['5-Operation Manual/4-SQL Reference','SQL Reference']
						]
					},
					{
						title: '6-System Tools',
						children: [
							['6-System Tools/1-Sync Tool','Sync Tool'],
							['6-System Tools/2-Memory Estimation Tool','Memory Estimation Tool'],
							['6-System Tools/3-JMX Tool','JMX Tool'],
							['6-System Tools/4-Watermark Tool','Watermark Tool'],
							['6-System Tools/6-Query History Visualization Tool','Query History Visualization Tool'],
							['6-System Tools/7-Monitor and Log Tools','Monitor and Log Tools']
						]
					},
					{
						title: '7-Ecosystem Integration',
						children: [
							['7-Ecosystem Integration/1-Grafana','Grafana'],
							['7-Ecosystem Integration/2-MapReduce TsFile','MapReduce TsFile'],
							['7-Ecosystem Integration/3-Spark TsFile','Spark TsFile'],
							['7-Ecosystem Integration/4-Spark IoTDB','Spark IoTDB'],
							['7-Ecosystem Integration/5-Hive TsFile','Hive TsFile']
						]
					},
					{
						title: '8-System Design',
						children: [
							['8-System Design/1-Hierarchy','Hierarchy'],
							['8-System Design/2-Files','Files'],
							['8-System Design/3-Writing Data on HDFS','Writing Data on HDFS'],
							['8-System Design/4-Shared Nothing Cluster','Shared Nothing Cluster'],
						]
					},
				],
				'/UserGuide/V0.10.x/': [
					{
						title:'IoTDB User Guide (V0.10.x)',
						collapsable: false,
					},
					{
						title: 'Get Started',
						children: [
							['Get Started/QuickStart','QuickStart'],
							['Get Started/Frequently asked questions','Frequently asked questions'],
							['Get Started/Publication','Research Papers']
						]
					},
					{
						title: 'Overview',
						children: [
							['Overview/What is IoTDB','What is IoTDB'],
							['Overview/Architecture','Architecture'],
							['Overview/Scenario','Scenario'],
							['Overview/Features','Features']
						]
					},
					{
						title: 'Concept',
						children: [
							['Concept/Data Model and Terminology','Data Model and Terminology'],
							['Concept/Data Type','Data Type'],
							['Concept/Encoding','Encoding'],
							['Concept/Compression','Compression']
						]
					},
					{
						title: 'Server',
						children: [
							['Server/Download','Download'],
							['Server/Single Node Setup','Single Node Setup'],
							['Server/Cluster Setup','Cluster Setup'],
							['Server/Config Manual','Config Manual'],
							['Server/Docker Image','Docker Image']
						]
					},
					{
						title: 'Client',
						children: [
							['Client/Command Line Interface','Command Line Interface'],
							['Client/Programming - Native API','Native API'],
							['Client/Programming - JDBC','JDBC'],
							['Client/Programming - Other Languages','Other Languages'],
							['Client/Programming - TsFile API','TsFile API'],
							['Client/Programming - MQTT','MQTT'],
							['Client/Status Codes','Status Codes']
						]
					},
					{
						title: 'Operation Manual',
						children: [
							['Operation Manual/DDL Data Definition Language','DDL (Data Definition Language)'],
							['Operation Manual/DML Data Manipulation Language','DML (Data Manipulation Language)'],
							['Operation Manual/Administration','Administration'],
							['Operation Manual/SQL Reference','SQL Reference']
						]
					},
					{
						title: 'System Tools',
						children: [
							['System Tools/Sync Tool','Sync Tool'],
							['System Tools/Memory Estimation Tool','Memory Estimation Tool'],
							['System Tools/JMX Tool','JMX Tool'],
							['System Tools/Watermark Tool','Watermark Tool'],
							['System Tools/Query History Visualization Tool','Query History Visualization Tool'],
							['System Tools/Monitor and Log Tools','Monitor and Log Tools'],
							['System Tools/Load External Tsfile','Load External Tsfile']
						]
					},
					{
						title: 'Ecosystem Integration',
						children: [
							['Ecosystem Integration/Grafana','Grafana'],
							['Ecosystem Integration/MapReduce TsFile','MapReduce TsFile'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive TsFile']
						]
					},
					{
						title: 'Architecture',
						children: [
							['Architecture/Files','Files'],
							['Architecture/Writing Data on HDFS','Writing Data on HDFS'],
							['Architecture/Shared Nothing Cluster','Shared Nothing Cluster']
						]
					},
				],
				'/UserGuide/V0.11.x/': [
					{
						title:'IoTDB User Guide (V0.11.x)',
						collapsable: false,
					},
					{
						title: 'Get Started',
						children: [
							['Get Started/QuickStart','QuickStart'],
							['Get Started/Frequently asked questions','Frequently asked questions'],
							['Get Started/Publication','Research Papers']
						]
					},
					{
						title: 'Overview',
						children: [
							['Overview/What is IoTDB','What is IoTDB'],
							['Overview/Architecture','Architecture'],
							['Overview/Scenario','Scenario'],
							['Overview/Features','Features']
						]
					},
					{
						title: 'Concept',
						children: [
							['Concept/Data Model and Terminology','Data Model and Terminology'],
							['Concept/Data Type','Data Type'],
							['Concept/Encoding','Encoding'],
							['Concept/Compression','Compression']
						]
					},
					{
						title: 'Server',
						children: [
							['Server/Download','Download'],
							['Server/Single Node Setup','Single Node Setup'],
							['Server/Cluster Setup','Cluster Setup'],
							['Server/Config Manual','Config Manual'],
							['Server/Docker Image','Docker Image']
						]
					},
					{
						title: 'Client',
						children: [
							['Client/Command Line Interface','Command Line Interface'],
							['Client/Programming - Native API','Native API'],
							['Client/Programming - JDBC','JDBC'],
							['Client/Programming - Other Languages','Other Languages'],
							['Client/Programming - TsFile API','TsFile API'],
							['Client/Programming - MQTT','MQTT'],
							['Client/Status Codes','Status Codes']
						]
					},
					{
						title: 'Operation Manual',
						children: [
							['Operation Manual/DDL Data Definition Language','DDL (Data Definition Language)'],
							['Operation Manual/DML Data Manipulation Language','DML (Data Manipulation Language)'],
							['Operation Manual/Administration','Administration'],
							['Operation Manual/SQL Reference','SQL Reference']
						]
					},
					{
						title: 'System Tools',
						children: [
							['System Tools/Sync Tool','Sync Tool'],
							['System Tools/JMX Tool','JMX Tool'],
							['System Tools/Watermark Tool','Watermark Tool'],
							['System Tools/Query History Visualization Tool','Query History Visualization Tool'],
							['System Tools/Monitor and Log Tools','Monitor and Log Tools'],
							['System Tools/Load External Tsfile','Load External Tsfile'],
							['System Tools/Performance Tracing Tool','Performance Tracing Tool']
						]
					},
					{
						title: 'Ecosystem Integration',
						children: [
							['Ecosystem Integration/Grafana','Grafana'],
							['Ecosystem Integration/MapReduce TsFile','MapReduce TsFile'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive TsFile']
						]
					},
					{
						title: 'Architecture',
						children: [
							['Architecture/Files','Files'],
							['Architecture/Writing Data on HDFS','Writing Data on HDFS'],
							['Architecture/Shared Nothing Cluster','Shared Nothing Cluster']
						]
					},
					{
						title: 'Comparison with TSDBs',
						children: [
							['Comparison/TSDB-Comparison','Comparison']
						]
					}
				],
				'/UserGuide/V0.12.x/': [
					{
						title:'IoTDB User Guide (V0.12.x)',
						collapsable: false,
					},
					{
						title: 'IoTDB Introduction',
						children: [
							['IoTDB-Introduction/What-is-IoTDB','What is IoTDB'],
							['IoTDB-Introduction/Architecture','Architecture'],
							['IoTDB-Introduction/Scenario','Scenario'],
							['IoTDB-Introduction/Features','Features'],
							['IoTDB-Introduction/Publication','Publication']
						]
					},
					{
						title: 'Quick Start',
						children: [
							['QuickStart/QuickStart','QuickStart'],
							['QuickStart/Files','Storage Path Setting'],
							['QuickStart/WayToGetIoTDB','Get IoTDB Binary files']
						]
					},
					{
						title: 'Data Concept',
						children: [
							['Data-Concept/Data-Model-and-Terminology','Data Model and Terminology'],
							['Data-Concept/Data-Type','Data Type'],
							['Data-Concept/Encoding','Encoding'],
							['Data-Concept/Compression','Compression'],
							['Data-Concept/SDT','SDT']
						]
					},
					{
						title: 'CLI',
						children: [
							['CLI/Command-Line-Interface','Command Line Interface']
						]
					},
					{
						title: 'Administration Management',
						children: [
							['Administration-Management/Administration','Administration']
						]
					},
					{
						title: 'IoTDB-SQL Language',
						children: [
							['IoTDB-SQL-Language/DDL-Data-Definition-Language','DDL (Data Definition Language)'],
							['IoTDB-SQL-Language/DML-Data-Manipulation-Language','DML (Data Manipulation Language)'],
							['IoTDB-SQL-Language/Maintenance-Command','Maintenance Command']
						]
					},
					{
						title: 'API',
						children: [
							['API/Programming-Native-API','Native API'],
							['API/Programming-Other-Languages','Other Languages'],
							['API/Programming-TsFile-API','TsFile API'],
							['API/Programming-JDBC','JDBC (Not Recommend)']
						]
					},
					{
						title: 'UDF',
						children: [
							['UDF/UDF-User-Defined-Function','UDF (User Defined Function)']
						]
					},
					{
						title: 'Communication Service Protocol',
						children: [
							['Communication-Service-Protocol/Programming-Thrift','Thrift'],
							['Communication-Service-Protocol/Programming-MQTT','MQTT'],
						]
					},
					{
						title: 'System Tools',
						children: [
							['System-Tools/Load-External-Tsfile','Load External Tsfile'],
							['System-Tools/Performance-Tracing-Tool','Performance Tracing Tool'],
							['System-Tools/CSV-Tool','CSV Tool'],
							['System-Tools/Monitor-and-Log-Tools','Monitor and Log Tools'],
							['System-Tools/JMX-Tool','JMX Tool'],
							['System-Tools/MLogParser-Tool','MLogParser Tool'],
							['System-Tools/NodeTool','Node Tool'],
							['System-Tools/Query-History-Visualization-Tool','Query History Visualization Tool'],
							['System-Tools/Watermark-Tool','Watermark Tool'],
							['System-Tools/TsFile-Split-Tool','TsFile Split Tool']
						]
					},
					{
						title: 'Collaboration of Edge and Cloud',
						children: [
							['Collaboration-of-Edge-and-Cloud/Sync-Tool','Sync Tool']
						]
					},
					{
						title: 'Ecosystem Integration',
						children: [
							['Ecosystem Integration/Grafana','Grafana'],
							['Ecosystem Integration/Zeppelin-IoTDB','Zeppelin-IoTDB'],
							['Ecosystem Integration/MapReduce TsFile','MapReduce TsFile'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive TsFile'],
							['Ecosystem Integration/Flink IoTDB','Flink IoTDB'],
							['Ecosystem Integration/Flink TsFile','Flink TsFile'],
							['Ecosystem Integration/Writing Data on HDFS','Writing Data on HDFS'],
						]
					},
					{
						title: 'Cluster Setup',
						children: [
							['Cluster/Cluster-Setup','Cluster Setup'],
							//['Cluster/Cluster-Setup-Example','Cluster Setup Example']
						]
					},
					{
						title: 'FAQ',
						children: [
							['FAQ/Frequently-asked-questions','Frequently asked questions']
						]
					},
					{
						title: 'Appendix',
						children: [
							['Appendix/Config-Manual','Config Manual'],
							['Appendix/SQL-Reference','SQL Reference'],
							['Appendix/Status-Codes','Status Codes']
						]
					},
					{
						title: 'Comparison with TSDBs',
						children: [
							['Comparison/TSDB-Comparison','Comparison']
						]
					}
				],
				'/UserGuide/V0.13.x/': [
					{
						title:'IoTDB User Guide (latest)',
						collapsable: false,
					},
					{
						title: 'IoTDB Introduction',
						children: [
							['IoTDB-Introduction/What-is-IoTDB','What is IoTDB'],
							['IoTDB-Introduction/Architecture','Architecture'],
							['IoTDB-Introduction/Scenario','Scenario'],
							['IoTDB-Introduction/Features','Features'],
							['IoTDB-Introduction/Publication','Publication']
						]
					},
					{
						title: 'Quick Start',
						children: [
							['QuickStart/QuickStart','Quick Start'],
							['QuickStart/Files','Data storage'],
							['QuickStart/WayToGetIoTDB','Download and Setup'],
							['QuickStart/Command-Line-Interface','Command Line Interface'],
						]
					},
					{
						title: 'Data Concept',
						sidebarDepth: 1,
						children: [
							['Data-Concept/Data-Model-and-Terminology','Data Model and Terminology'],
							['Data-Concept/Schema-Template','Schema Template'],
							['Data-Concept/Data-Type','Data Type'],
							['Data-Concept/Encoding','Encoding'],
							['Data-Concept/Compression','Compression'],
							['Data-Concept/Time-Partition','Time Partition'],
							['Data-Concept/Time-zone','Time zone']
						]
					},
					{
						title: 'Syntax Conventions',
						sidebarDepth: 2,
						children: [
							['Reference/Syntax-Conventions','Syntax Conventions'],
						]
					},
					{
						title: 'API',
						children: [
							['API/Programming-Java-Native-API','Java Native API'],
							['API/Programming-Python-Native-API','Python Native API'],
							['API/Programming-Cpp-Native-API','C++ Native API'],
							['API/Programming-Go-Native-API','Go Native API'],
							['API/Programming-JDBC','JDBC (Not Recommend)'],
							['API/Programming-MQTT','MQTT'],
							['API/Programming-TsFile-API','TsFile API'],
							['API/Status-Codes','Status Codes']
						]
					},
					{
						title: 'Operate Metadata',
						sidebarDepth: 1,
						children: [
							['Operate-Metadata/Storage-Group','Storage Group'],
							['Operate-Metadata/Node','Node'],
							['Operate-Metadata/Timeseries','Timeseries'],
							['Operate-Metadata/Template','Schema Template'],
							['Operate-Metadata/TTL','TTL'],
							['Operate-Metadata/Auto-Create-MetaData','Auto Create Metadata']
						]
					},
					{
						title: 'Write and Delete Data',
						sidebarDepth: 1,
						children: [
							['Write-And-Delete-Data/Write-Data','Write Data'],
							['Write-And-Delete-Data/Load-External-Tsfile','Load External Tsfile'],
							['Write-And-Delete-Data/CSV-Tool','CSV Tool'],
							['Write-And-Delete-Data/Delete-Data','Delete Data']
						]
					},
					{
						title: 'Query Data',
						sidebarDepth: 1,
						children: [
							['Query-Data/Overview.md','Overview'],
							['Query-Data/Select-Expression.md','Select Expression'],
							['Query-Data/Query-Filter.md','Query Filter'],
							['Query-Data/Pagination.md','Pagination'],
							['Query-Data/Result-Format.md','Query Result Formats'],
							['Query-Data/Aggregate-Query.md','Aggregate Query'],
							['Query-Data/Last-Query.md','Last Query'],
							['Query-Data/Fill-Null-Value.md','Fill Null Value'],
							['Query-Data/Without-Null.md','Without Null'],
							['Query-Data/Tracing-Tool.md','Tracing Tool']
						]
					},
					{
						title: 'Process Data',
						sidebarDepth: 1,
						children: [
							['Process-Data/UDF-User-Defined-Function','UDF (User Defined Function)'],
							['Process-Data/Select-Into','Query Write-back (SELECT INTO)'],
							['Process-Data/Continuous-Query','CQ (Continuous Query)'],
							['Process-Data/Triggers','Triggers'],
							['Process-Data/Alerting','Alerting'],
						]
					},
					{
						title: 'Administration Management',
						children: [
							['Administration-Management/Administration','Administration']
						]
					},
					{
						title: 'Maintenance Tools',
						children: [
							['Maintenance-Tools/Maintenance-Command','Maintenance Command'],
							['Maintenance-Tools/Monitor-and-Log-Tools','Monitor and Log Tools'],
							['Maintenance-Tools/JMX-Tool','JMX Tool'],
							['Maintenance-Tools/MLogParser-Tool','MLogParser Tool'],
							['Maintenance-Tools/NodeTool','Node Tool'],
							['Maintenance-Tools/Watermark-Tool','Watermark Tool'],
							['Maintenance-Tools/Metric-Tool','Metric Tool'],
							['Maintenance-Tools/Sync-Tool','Sync Tool'],
							['Maintenance-Tools/TsFile-Split-Tool','TsFile Split Tool']
						]
					},
					{
						title: 'Ecosystem Integration',
						children: [
							['Ecosystem Integration/Grafana Connector','Grafana Connector'],
							['Ecosystem Integration/Zeppelin-IoTDB','Zeppelin-IoTDB'],
							['Ecosystem Integration/DBeaver','DBeaver-IoTDB'],
							['Ecosystem Integration/MapReduce TsFile','MapReduce TsFile'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive TsFile'],
							['Ecosystem Integration/Flink IoTDB','Flink IoTDB'],
							['Ecosystem Integration/Flink TsFile','Flink TsFile'],
							['Ecosystem Integration/Writing Data on HDFS','Writing Data on HDFS'],
							['Ecosystem Integration/NiFi IoTDB Bundle','NiFi-IoTDB-Bundle'],
						]
					},
					{
						title: 'Cluster Setup',
						children: [
							['Cluster/Cluster-Setup','Cluster Setup'],
							['Cluster/Cluster-Setup-Example','Cluster Setup Example']
						]
					},
					{
					    title: 'UDF Library',
					    sidebarDepth: 1,
					    children: [
					        ['UDF-Library/Quick-Start', 'Quick Start'],
					        ['UDF-Library/Data-Profiling', 'Data Profiling'],
					        ['UDF-Library/Anomaly-Detection', 'Anomaly Detection'],
					        ['UDF-Library/Data-Matching', 'Data Matching'],
					        ['UDF-Library/Frequency-Domain', 'Frequency Domain Analysis'],
					        ['UDF-Library/Data-Quality', 'Data Quality'],
					        ['UDF-Library/Data-Repairing', 'Data Repairing'],
					        ['UDF-Library/Series-Discovery', 'Series Discovery'],
                            ['UDF-Library/String-Processing', 'String Processing'],
                            ['UDF-Library/M4', 'M4']
					    ]
					},
					{
						title: 'Reference',
						children: [
							['Reference/Config-Manual','Config Manual'],
							['Reference/Keywords','Keywords'],
							['Reference/Frequently-asked-questions','Frequently asked questions'],
							['Reference/TSDB-Comparison','TSDB Comparison']
						]
					},
				],
				'/UserGuide/Master/': [
					{
						title:'IoTDB User Guide (latest)',
						collapsable: false,
					},
					{
						title: 'IoTDB Introduction',
						children: [
							['IoTDB-Introduction/What-is-IoTDB','What is IoTDB'],
							['IoTDB-Introduction/Architecture','Architecture'],
							['IoTDB-Introduction/Scenario','Scenario'],
							['IoTDB-Introduction/Features','Features'],
							['IoTDB-Introduction/Publication','Publication']
						]
					},
					{
						title: 'Quick Start',
						children: [
							['QuickStart/QuickStart','Quick Start'],
							['QuickStart/Files','Data storage'],
							['QuickStart/WayToGetIoTDB','Download and Setup'],
							['QuickStart/Command-Line-Interface','Command Line Interface'],
						]
					},
					{
						title: 'Data Concept',
						sidebarDepth: 1,
						children: [
							['Data-Concept/Data-Model-and-Terminology','Data Model and Terminology'],
							['Data-Concept/Schema-Template','Schema Template'],
							['Data-Concept/Data-Type','Data Type'],
							['Data-Concept/Encoding','Encoding'],
							['Data-Concept/Compression','Compression'],
							['Data-Concept/Time-Partition','Time Partition'],
							['Data-Concept/Time-zone','Time zone']
						]
					},
					{
						title: 'Syntax Conventions',
						sidebarDepth: 1,
						children: [
							['Reference/Syntax-Conventions','Syntax Conventions'],
						]
					},
					{
						title: 'API',
						children: [
							['API/Programming-Java-Native-API','Java Native API'],
							['API/Programming-Python-Native-API','Python Native API'],
							['API/Programming-Cpp-Native-API','C++ Native API'],
							['API/Programming-Go-Native-API','Go Native API'],
							['API/Programming-JDBC','JDBC (Not Recommend)'],
							['API/Programming-MQTT','MQTT'],
							['API/RestService','REST API'],
							['API/Programming-TsFile-API','TsFile API'],
							['API/Status-Codes','Status Codes']
						]
					},
					{
						title: 'Operate Metadata',
						sidebarDepth: 1,
						children: [
							['Operate-Metadata/Storage-Group','Storage Group'],
							['Operate-Metadata/Node','Node'],
							['Operate-Metadata/Timeseries','Timeseries'],
							['Operate-Metadata/Template','Schema Template'],
							['Operate-Metadata/TTL','TTL'],
							['Operate-Metadata/Auto-Create-MetaData','Auto Create Metadata']
						]
					},
					{
						title: 'Write and Delete Data',
						sidebarDepth: 1,
						children: [
							['Write-And-Delete-Data/Write-Data','Write Data'],
							['Write-And-Delete-Data/Load-External-Tsfile','Load External Tsfile'],
							['Write-And-Delete-Data/CSV-Tool','CSV Tool'],
							['Write-And-Delete-Data/Delete-Data','Delete Data']
						]
					},
					{
						title: 'Query Data',
						sidebarDepth: 1,
						children: [
							['Query-Data/Overview.md','Overview'],
							['Query-Data/Select-Expression.md','Select Expression'],
							['Query-Data/Query-Filter.md','Query Filter'],
							['Query-Data/Pagination.md','Pagination'],
							['Query-Data/Result-Format.md','Query Result Formats'],
							['Query-Data/Aggregate-Query.md','Aggregate Query'],
							['Query-Data/Last-Query.md','Last Query'],
							['Query-Data/Fill-Null-Value.md','Fill Null Value'],
							['Query-Data/Without-Null.md','Without Null'],
							['Query-Data/Tracing-Tool.md','Tracing Tool']
						]
					},
					{
						title: 'Process Data',
						sidebarDepth: 1,
						children: [
							['Process-Data/UDF-User-Defined-Function','UDF (User Defined Function)'],
							['Process-Data/Select-Into','Query Write-back (SELECT INTO)'],
							['Process-Data/Continuous-Query','CQ (Continuous Query)'],
							['Process-Data/Triggers','Triggers'],
							['Process-Data/Alerting','Alerting'],
						]
					},
					{
						title: 'Administration Management',
						children: [
							['Administration-Management/Administration','Administration']
						]
					},
					{
						title: 'Maintenance Tools',
						children: [
							['Maintenance-Tools/Maintenance-Command','Maintenance Command'],
							['Maintenance-Tools/Monitor-and-Log-Tools','Monitor and Log Tools'],
							['Maintenance-Tools/JMX-Tool','JMX Tool'],
							['Maintenance-Tools/MLogParser-Tool','MLogParser Tool'],
							['Maintenance-Tools/NodeTool','Node Tool'],
							['Maintenance-Tools/Watermark-Tool','Watermark Tool'],
							['Maintenance-Tools/Metric-Tool','Metric Tool'],
							['Maintenance-Tools/Sync-Tool','Sync Tool'],
							['Maintenance-Tools/TsFile-Split-Tool','TsFile Split Tool']
						]
					},
					{
						title: 'Ecosystem Integration',
						children: [
							['Ecosystem Integration/Grafana Plugin','Grafana Plugin'],
							['Ecosystem Integration/Grafana Connector','Grafana Connector (Not Recommended)'],
							['Ecosystem Integration/Zeppelin-IoTDB','Zeppelin-IoTDB'],
							['Ecosystem Integration/DBeaver','DBeaver-IoTDB'],
							['Ecosystem Integration/MapReduce TsFile','MapReduce TsFile'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive TsFile'],
							['Ecosystem Integration/Flink IoTDB','Flink IoTDB'],
							['Ecosystem Integration/Flink TsFile','Flink TsFile'],
							['Ecosystem Integration/Writing Data on HDFS','Writing Data on HDFS'],
							['Ecosystem Integration/NiFi IoTDB Bundle','NiFi-IoTDB-Bundle'],
						]
					},
					{
						title: 'Cluster Setup',
						children: [
							['Cluster/Cluster-Setup','Cluster Setup'],
							['Cluster/Cluster-Setup-Example','Cluster Setup Example']
						]
					},
					{
					    title: 'UDF Library',
					    sidebarDepth: 1,
					    children: [
					        ['UDF-Library/Quick-Start', 'Quick Start'],
					        ['UDF-Library/Data-Profiling', 'Data Profiling'],
					        ['UDF-Library/Anomaly-Detection', 'Anomaly Detection'],
					        ['UDF-Library/Data-Matching', 'Data Matching'],
					        ['UDF-Library/Frequency-Domain', 'Frequency Domain Analysis'],
					        ['UDF-Library/Data-Quality', 'Data Quality'],
					        ['UDF-Library/Data-Repairing', 'Data Repairing'],
					        ['UDF-Library/Series-Discovery', 'Series Discovery'],
                            ['UDF-Library/String-Processing', 'String Processing'],
                            ['UDF-Library/M4', 'M4']
					    ]
					},
					{
						title: 'Reference',
						children: [
							['Reference/Config-Manual','Config Manual'],
							['Reference/Keywords','Keywords'],
							['Reference/Frequently-asked-questions','Frequently asked questions'],
							['Reference/TSDB-Comparison','TSDB Comparison']
						]
					},
				],
			}
		  },
		  '/zh/': {
			// 多语言下拉菜单的标题
			selectText: '语言',
			// 该语言在下拉菜单中的标签
			label: '简体中文',
			// 编辑链接文字
			editLinkText: '在 GitHub 上编辑此页',
			// Service Worker 的配置
			serviceWorker: {
			  updatePopup: {
				message: "发现新内容可用.",
				buttonText: "刷新"
			  }
			},
			// 当前 locale 的 algolia docsearch 选项
			algolia: {
			},
			nav: [
				 {
					text: '文档',
					items: [
						{ text: 'latest', link: '/zh/UserGuide/Master/QuickStart/QuickStart' },
						{ text: 'v0.13.x', link: '/zh/UserGuide/V0.13.x/QuickStart/QuickStart' },
						{ text: 'v0.12.x', link: '/zh/UserGuide/V0.12.x/QuickStart/QuickStart' },
						{ text: 'v0.11.x', link: '/zh/UserGuide/V0.11.x/Get Started/QuickStart' },
						{ text: 'v0.10.x', link: '/zh/UserGuide/V0.10.x/Get Started/QuickStart' },
					  { text: 'v0.9.x', link: '/zh/UserGuide/V0.9.x/0-Get Started/1-QuickStart' },
					  { text: 'v0.8.x', link: '/zh/UserGuide/V0.8.x/0-Get Started/1-QuickStart'},
					]
				  },
				  	{
					text: '系统设计',
					link: 'https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=177051872'
				  },
				  {
					text: '下载',
					link: '/zh/Download/'
				  },
				  {
					text: '社区',
					items: [
						{ text: 'Wiki', link: 'https://cwiki.apache.org/confluence/display/iotdb'},
					    { text: '开发人员', link: '/zh/Community/Community-Project Committers'},
					    { text: '技术支持', link: '/zh/Community/Community-Powered By'},
							{ text: '活动与报告', link: '/Community/Materials'},
							{ text: '交流与反馈', link: '/zh/Community/Feedback'},
					]
				  },
				  {
					text: '开发',
					items: [
					  { text: '如何投票', link: '/zh/Development/VoteRelease'},
					  { text: '如何提交代码', link: '/zh/Development/HowToCommit'},
					  { text: '成为Committer', link: '/zh/Development/Committer'},
					  { text: '项目开发指南', link: '/zh/Development/ContributeGuide'},
					  { text: 'TsFile的更改列表', link: '/zh/Development/format-changelist'},
					  { text: 'RPC变更清单', link: '/zh/Development/rpc-changelist'},
					]
				  },
				  {
					text: 'ASF',
					items: [
					  { text: '基金会', link: 'http://www.apache.org/'},
					  { text: '许可证', link: 'http://www.apache.org/licenses/'},
					  { text: '安全', link: 'http://www.apache.org/security/'},
					  { text: '赞助', link: 'http://www.apache.org/foundation/sponsorship.html'},
					  { text: '致谢', link: 'http://www.apache.org/foundation/thanks.html'},
					  { text: '活动', link: 'http://www.apache.org/events/current-event'},
					]
				  },
			],
			sidebar: {
				'/zh/UserGuide/V0.8.x/': [
					{
						title: 'IoTDB用户手册 (V0.8.x)',
						collapsable: false,
					},
					{
						title: '0-开始使用',
						children: [
							['0-Get Started/1-QuickStart','快速入门'],
							['0-Get Started/2-Frequently asked questions','常见问题'],
							['0-Get Started/3-Publication','调查报告']
						]
					},
					{
						title: '1-概述',
						children: [
							['1-Overview/1-What is IoTDB','什么是IoTDB'],
							['1-Overview/2-Architecture','架构'],
							['1-Overview/3-Scenario','应用场景'],
							['1-Overview/4-Features','特征']
						]
					},
					{
						title: '2-基本概念',
						children: [
							['2-Concept Key Concepts and Terminology/1-Key Concepts and Terminology','主要概念及术语'],
							['2-Concept Key Concepts and Terminology/2-Data Type','数据类型'],
							['2-Concept Key Concepts and Terminology/3-Encoding','编码方式'],
							['2-Concept Key Concepts and Terminology/4-Compression','压缩方式']
						]
					},
					{
						title: '3-操作指南',
						children: [
							['3-Operation Manual/1-Sample Data','样例数据'],
							['3-Operation Manual/2-Data Model Selection','数据模型选用与创建'],
							['3-Operation Manual/3-Data Import','数据接入'],
							['3-Operation Manual/4-Data Query','数据查询'],
							['3-Operation Manual/5-Data Maintenance','数据维护'],
							['3-Operation Manual/6-Priviledge Management','权限管理']
						]
					},
					{
						title: '4-系统部署与管理',
						children: [
							['4-Deployment and Management/1-Deployment','系统部署'],
							['4-Deployment and Management/2-Configuration','系统配置'],
							['4-Deployment and Management/3-System Monitor','系统监控'],
							['4-Deployment and Management/4-Performance Monitor','性能监控'],
							['4-Deployment and Management/5-System log','系统日志'],
							['4-Deployment and Management/6-Data Management','数据管理'],
							['4-Deployment and Management/7-Build and use IoTDB by Dockerfile','通过Dockerfile构建和使用IoTDB']
						]
					},
					{
						title: '5-IoTDB SQL文档',
						children: [
							['5-IoTDB SQL Documentation/1-IoTDB Query Statement','IoTDB查询语句'],
							['5-IoTDB SQL Documentation/2-Reference','参考']
						]
					},
					{
						title: '6-JDBC API',
						children: [
							['6-JDBC API/1-JDBC API','JDBC API']
						]
					},
					{
						title: '7-TsFile',
						children: [
							['7-TsFile/1-Installation','安装'],
							['7-TsFile/2-Usage','用法'],
							['7-TsFile/3-Hierarchy','TsFile层次结构']
						]
					},
					{
						title: '8-系统工具',
						children: [
							['8-System Tools/1-Sync','同步工具'],
							['8-System Tools/2-Memory Estimation Tool','内存预估工具']
						]
					},
				],
				'/zh/UserGuide/V0.9.x/': [
					{
						title: 'IoTDB用户手册 (V0.9.x)',
						collapsable: false,
					},
					{
						title: '0-开始',
						children: [
							['0-Get Started/1-QuickStart','快速入门'],
							['0-Get Started/2-Frequently asked questions','常见问题'],
							['0-Get Started/3-Publication','研究论文']
						]
					},
					{
						title: '1-概览',
						children: [
							['1-Overview/1-What is IoTDB','什么是IoTDB'],
							['1-Overview/2-Architecture','架构'],
							['1-Overview/3-Scenario','场景'],
							['1-Overview/4-Features','特征']
						]
					},
					{
						title: '2-概念',
						children: [
							['2-Concept/1-Data Model and Terminology','数据模型与技术'],
							['2-Concept/2-Data Type','数据类型'],
							['2-Concept/3-Encoding','编码方式'],
							['2-Concept/4-Compression','压缩方式']
						]
					},
					{
						title: '3-服务器端',
						children: [
							['3-Server/1-Download','下载'],
							['3-Server/2-Single Node Setup','单节点设置'],
							['3-Server/3-Cluster Setup','集群设置'],
							['3-Server/4-Config Manual','系统配置'],
							['3-Server/5-Docker Image','Docker镜像']
						]
					},
					{
						title: '4-客户端',
						children: [
							['4-Client/1-Command Line Interface','命令行接口 (CLI)'],
							['4-Client/2-Programming - JDBC','JDBC'],
							['4-Client/3-Programming - Session','Session'],
							['4-Client/4-Programming - Other Languages','其他语言'],
							['4-Client/5-Programming - TsFile API','TsFile API']
						]
					},
					{
						title: '5-操作指南',
						children: [
							['5-Operation Manual/1-DDL Data Definition Language','DDL (数据定义语言)'],
							['5-Operation Manual/2-DML Data Manipulation Language','DML (数据操作语言)'],
							['5-Operation Manual/3-Account Management Statements','账户管理语句'],
							['5-Operation Manual/4-SQL Reference','SQL 参考文档']
						]
					},
					{
						title: '6-系统工具',
						children: [
							['6-System Tools/1-Sync Tool','同步工具'],
							['6-System Tools/2-Memory Estimation Tool','内存预估'],
							['6-System Tools/3-JMX Tool','JMX工具'],
							['6-System Tools/4-Watermark Tool','水印工具'],
							['6-System Tools/6-Query History Visualization Tool','查询历史可视化工具'],
							['6-System Tools/7-Monitor and Log Tools','监控与日志工具']
						]
					},
					{
						title: '7-生态集成',
						children: [
							['7-Ecosystem Integration/1-Grafana','Grafana'],
							['7-Ecosystem Integration/2-MapReduce TsFile','MapReduce TsFile'],
							['7-Ecosystem Integration/3-Spark TsFile','Spark TsFile'],
							['7-Ecosystem Integration/4-Spark IoTDB','Spark IoTDB'],
							['7-Ecosystem Integration/5-Hive TsFile','Hive TsFile']
						]
					},
					{
						title: '8-系统设计',
						children: [
							['8-System Design/1-Hierarchy','层次结构'],
							['8-System Design/2-Files','文件'],
							['8-System Design/3-Writing Data on HDFS','使用HDFS存储数据'],
							['8-System Design/4-Shared Nothing Cluster','Shared-nothing 架构']
						]
					},
				],
				'/zh/UserGuide/V0.10.x/': [
					{
						title: 'IoTDB用户手册 (v0.10.x)',
						collapsable: false,
					},
					{
						title: '开始',
						children: [
							['Get Started/QuickStart','快速入门'],
							['Get Started/Frequently asked questions','常见问题'],
							['Get Started/Publication','调查报告']
						]
					},
					{
						title: '概述',
						children: [
							['Overview/What is IoTDB','什么是IoTDB'],
							['Overview/Architecture','架构'],
							['Overview/Scenario','场景'],
							['Overview/Features','特征']
						]
					},
					{
						title: '概念',
						children: [
							['Concept/Data Model and Terminology','数据模型与技术'],
							['Concept/Data Type','数据类型'],
							['Concept/Encoding','编码方式'],
							['Concept/Compression','压缩方式']
						]
					},
					{
						title: '服务器端',
						children: [
							['Server/Download','下载'],
							['Server/Single Node Setup','单节点安装'],
							['Server/Cluster Setup','集群设置'],
							['Server/Config Manual','配置手册'],
							['Server/Docker Image','Docker镜像']
						]
					},
					{
						title: '客户端',
						children: [
							['Client/Command Line Interface','命令行接口(CLI)'],
							['Client/Programming - Native API','原生接口'],
							['Client/Programming - JDBC','JDBC'],
							['Client/Programming - Other Languages','其他语言'],
							['Client/Programming - TsFile API','TsFile API'],
							['Client/Programming - MQTT','MQTT'],
							['Client/Status Codes','状态码']
						]
					},
					{
						title: '操作指南',
						children: [
							['Operation Manual/DDL Data Definition Language','DDL (数据定义语言)'],
							['Operation Manual/DML Data Manipulation Language','DML (数据操作语言)'],
							['Operation Manual/Administration','权限管理语句'],
							['Operation Manual/SQL Reference','SQL 参考文档']
						]
					},
					{
						title: '系统工具',
						children: [
							['System Tools/Sync Tool','同步工具'],
							['System Tools/Memory Estimation Tool','内存预估'],
							['System Tools/JMX Tool','JMX工具'],
							['System Tools/Watermark Tool','水印工具'],
							['System Tools/Query History Visualization Tool','查询历史可视化工具'],
							['System Tools/Monitor and Log Tools','监控与日志工具'],
							['System Tools/Load External Tsfile','加载外部tsfile文件']
						]
					},
					{
						title: '生态集成',
						children: [
							['Ecosystem Integration/Grafana','Grafana'],
							['Ecosystem Integration/MapReduce TsFile','MapReduce TsFile'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive TsFile']
						]
					},
					{
						title: '系统设计',
						children: [
							['Architecture/Files','文件'],
							['Architecture/Writing Data on HDFS','使用HDFS存储数据'],
							['Architecture/Shared Nothing Cluster','Shared-nothing 架构']
						]
					}
				],
				'/zh/UserGuide/V0.11.x/': [
					{
						title: 'IoTDB用户手册 (V0.11.x)',
						collapsable: false,
					},
					{
						title: '开始',
						children: [
							['Get Started/QuickStart','快速入门'],
							['Get Started/Frequently asked questions','常见问题'],
							['Get Started/Publication','调查报告']
						]
					},
					{
						title: '概述',
						children: [
							['Overview/What is IoTDB','什么是IoTDB'],
							['Overview/Architecture','架构'],
							['Overview/Scenario','场景'],
							['Overview/Features','特征']
						]
					},
					{
						title: '概念',
						children: [
							['Concept/Data Model and Terminology','数据模型与技术'],
							['Concept/Data Type','数据类型'],
							['Concept/Encoding','编码方式'],
							['Concept/Compression','压缩方式']
						]
					},
					{
						title: '服务器端',
						children: [
							['Server/Download','下载'],
							['Server/Single Node Setup','单节点安装'],
							['Server/Cluster Setup','集群设置'],
							['Server/Config Manual','配置手册'],
							['Server/Docker Image','Docker镜像']
						]
					},
					{
						title: '客户端',
						children: [
							['Client/Command Line Interface','命令行接口(CLI)'],
							['Client/Programming - Native API','原生接口'],
							['Client/Programming - JDBC','JDBC'],
							['Client/Programming - Other Languages','其他语言'],
							['Client/Programming - TsFile API','TsFile API'],
							['Client/Programming - MQTT','MQTT'],
							['Client/Status Codes','状态码']
						]
					},
					{
						title: '操作指南',
						children: [
							['Operation Manual/DDL Data Definition Language','DDL (数据定义语言)'],
							['Operation Manual/DML Data Manipulation Language','DML (数据操作语言)'],
							['Operation Manual/Administration','权限管理语句'],
							['Operation Manual/SQL Reference','SQL 参考文档']
						]
					},
					{
						title: '系统工具',
						children: [
							['System Tools/Sync Tool','同步工具'],
							['System Tools/JMX Tool','JMX工具'],
							['System Tools/Watermark Tool','水印工具'],
							['System Tools/Query History Visualization Tool','查询历史可视化工具'],
							['System Tools/Monitor and Log Tools','监控与日志工具'],
							['System Tools/Load External Tsfile','加载外部tsfile文件'],
							['System Tools/Performance Tracing Tool','性能追踪工具']
						]
					},
					{
						title: '生态集成',
						children: [
							['Ecosystem Integration/Grafana','Grafana'],
							['Ecosystem Integration/MapReduce TsFile','MapReduce TsFile'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive TsFile']
						]
					},
					{
						title: '系统设计',
						children: [
							['Architecture/Files','文件'],
							['Architecture/Writing Data on HDFS','使用HDFS存储数据'],
							['Architecture/Shared Nothing Cluster','Shared-nothing 架构']
						]
					}
				],
				'/zh/UserGuide/V0.12.x/': [
					{
						title: 'IoTDB用户手册 (V0.12.x)',
						collapsable: false,
					},
					{
						title: 'IoTDB简介',
						children: [
							['IoTDB-Introduction/What-is-IoTDB','IoTDB简介'],
							['IoTDB-Introduction/Features','主要功能特点'],
							['IoTDB-Introduction/Architecture','系统架构'],
							['IoTDB-Introduction/Scenario','应用场景'],
							['IoTDB-Introduction/Publication','研究论文']
						]
					},
					{
						title: '快速上手',
						children: [
							['QuickStart/QuickStart','快速上手'],
							['QuickStart/Files','存储路径设置'],
							['QuickStart/WayToGetIoTDB','获取IoTDB二进制文件途径']
						]
					},
					{
						title: '数据模式与概念',
						children: [
							['Data-Concept/Data-Model-and-Terminology','数据模型'],
							['Data-Concept/Data-Type','数据类型'],
							['Data-Concept/Encoding','编码方式'],
							['Data-Concept/Compression','压缩方式'],
							['Data-Concept/SDT','旋转门压缩']
						]
					},
					{
						title: 'SQL命令行终端(CLI)',
						children: [
							['CLI/Command-Line-Interface','SQL命令行终端(CLI)']
						]
					},
					{
						title: '权限管理',
						children: [
							['Administration-Management/Administration','权限管理']
						]
					},
					{
						title: 'IoTDB-SQL 语言',
						children: [
							['IoTDB-SQL-Language/DDL-Data-Definition-Language','数据定义语言（DDL）'],
							['IoTDB-SQL-Language/DML-Data-Manipulation-Language','数据操作语言（DML）'],
							['IoTDB-SQL-Language/Maintenance-Command','运维命令']
						]
					},
					{
						title: '应用编程接口',
						children: [
							['API/Programming-Native-API','Java 原生接口'],
							['API/Programming-Other-Languages','其他语言原生接口'],
							['API/Programming-TsFile-API','TsFile API'],
							['API/Programming-JDBC','JDBC (不推荐)']
						]
					},
					{
						title: '用户定义函数(UDF)',
						children: [
							['UDF/UDF-User-Defined-Function','用户定义函数(UDF)']
						]
					},
					{
						title: '通信服务协议',
						children: [
							['Communication-Service-Protocol/Programming-Thrift','Thrift'],
							['Communication-Service-Protocol/Programming-MQTT','MQTT'],
						]
					},
					{
						title: '系统工具',
						children: [
							['System-Tools/Load-External-Tsfile','加载 TsFile'],
							['System-Tools/Performance-Tracing-Tool','查询性能追踪'],
							['System-Tools/CSV-Tool','导入导出 CSV'],
							['System-Tools/Monitor-and-Log-Tools','监控工具和系统日志'],
							['System-Tools/JMX-Tool','JMX 工具'],
							['System-Tools/MLogParser-Tool','Mlog解析工具'],
							['System-Tools/NodeTool','节点工具'],
							['System-Tools/Query-History-Visualization-Tool','查询历史可视化工具'],
							['System-Tools/Watermark-Tool','水印工具'],
							['System-Tools/TsFile-Split-Tool','TsFile 拆分工具']
						]
					},
					{
						title: '端云协同',
						children: [
							['Collaboration-of-Edge-and-Cloud/Sync-Tool','TsFile 同步工具']
						]
					},
					{
						title: '系统集成',
						children: [
							['Ecosystem Integration/Grafana','Grafana-IoTDB'],
							['Ecosystem Integration/Zeppelin-IoTDB','Zeppelin-IoTDB'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/MapReduce TsFile','Hadoop-TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark-IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive-TsFile'],
							['Ecosystem Integration/Flink TsFile','Flink-TsFile'],
							['Ecosystem Integration/Flink IoTDB','Flink-IoTDB'],
							['Ecosystem Integration/Writing Data on HDFS','HDFS集成'],
							['Ecosystem Integration/NiFi IoTDB Bundle','NiFi-IoTDB-Bundle'],
						]
					},
					{
						title: '集群搭建',
						children: [
							['Cluster/Cluster-Setup','集群搭建'],
							//['Cluster/Cluster-Setup-Example','集群搭建示例']
						]
					},
					{
						title: '常见问题',
						children: [
							['FAQ/Frequently-asked-questions','常见问题']
						]
					},
					{
						title: '附录',
						children: [
							['Appendix/Config-Manual','附录1: 配置参数'],
							['Appendix/SQL-Reference','附录2: SQL 参考文档'],
							['Appendix/Status-Codes','附录3: 状态码']
						]
					}
				],
				'/zh/UserGuide/V0.13.x/': [
					{
						title: 'IoTDB用户手册 (In progress)',
						collapsable: false,
					},
					{
						title: 'IoTDB简介',
						children: [
							['IoTDB-Introduction/What-is-IoTDB','IoTDB简介'],
							['IoTDB-Introduction/Features','主要功能特点'],
							['IoTDB-Introduction/Architecture','系统架构'],
							['IoTDB-Introduction/Scenario','应用场景'],
							['IoTDB-Introduction/Publication','研究论文']
						]
					},
					{
						title: '快速上手',
						children: [
							['QuickStart/QuickStart','快速上手'],
							['QuickStart/Files','数据文件存储'],
							['QuickStart/WayToGetIoTDB','下载与安装'],
							['QuickStart/Command-Line-Interface','SQL命令行终端(CLI)']
						]
					},
					{
						title: '数据模式与概念',
						sidebarDepth: 1,
						children: [
							['Data-Concept/Data-Model-and-Terminology','数据模型'],
							['Data-Concept/Schema-Template','元数据模板'],
							['Data-Concept/Data-Type','数据类型'],
							['Data-Concept/Encoding','编码方式'],
							['Data-Concept/Compression','压缩方式'],
							['Data-Concept/Time-Partition','时间分区'],
							['Data-Concept/Time-zone','时区']
						]
					},
					{
						title: '语法约定',
						sidebarDepth: 1,
						children: [
							['Reference/Syntax-Conventions', '语法约定'],
						]
					},
					{
						title: '应用编程接口',
						children: [
							['API/Programming-Java-Native-API','Java 原生接口'],
							['API/Programming-Python-Native-API','Python 原生接口'],
							['API/Programming-Cpp-Native-API','C++ 原生接口'],
							['API/Programming-Go-Native-API','Go 原生接口'],
							['API/Programming-JDBC','JDBC (不推荐)'],
							['API/Programming-MQTT','MQTT'],
							['API/Programming-TsFile-API','TsFile API'],
							['API/Status-Codes','状态码']
						]
					},
					{
						title: '元数据操作',
						sidebarDepth: 1,
						children: [
							['Operate-Metadata/Storage-Group','存储组操作'],
							['Operate-Metadata/Node','节点操作'],
							['Operate-Metadata/Timeseries','时间序列操作'],
							['Operate-Metadata/Template','元数据模板'],
							['Operate-Metadata/TTL','TTL'],
							['Operate-Metadata/Auto-Create-MetaData','自动创建元数据']
						]
					},
					{
						title: '数据写入和删除',
						sidebarDepth: 1,
						children: [
							['Write-And-Delete-Data/Write-Data','写入数据'],
							['Write-And-Delete-Data/Load-External-Tsfile','加载 TsFile'],
							['Write-And-Delete-Data/CSV-Tool','导入导出 CSV'],
							['Write-And-Delete-Data/Delete-Data','删除数据']
						]
					},
					{
						title: '数据查询',
						sidebarDepth: 1,
						children: [
							['Query-Data/Overview.md','概述'],
							['Query-Data/Select-Expression.md','选择表达式'],
							['Query-Data/Query-Filter.md','查询过滤条件'],
							['Query-Data/Pagination.md','查询结果分页'],
							['Query-Data/Result-Format.md','查询结果对齐格式'],
							['Query-Data/Aggregate-Query.md','聚合查询'],
							['Query-Data/Last-Query.md','最新点查询'],
							['Query-Data/Fill-Null-Value.md','空值填充'],
							['Query-Data/Without-Null.md','空值过滤'],
							['Query-Data/Tracing-Tool.md','查询性能追踪']
						]
					},
					{
						title: '数据处理',
						sidebarDepth: 1,
						children: [
							['Process-Data/UDF-User-Defined-Function','用户定义函数(UDF)'],
							['Process-Data/Select-Into','查询写回(SELECT INTO)'],
							['Process-Data/Continuous-Query','连续查询(CQ)'],
							['Process-Data/Triggers','触发器'],
							['Process-Data/Alerting','告警机制'],
						]
					},
					{
						title: '权限管理',
						children: [
							['Administration-Management/Administration','权限管理']
						]
					},
					{
						title: '运维工具',
						children: [
							['Maintenance-Tools/Maintenance-Command','运维命令'],
							['Maintenance-Tools/Monitor-and-Log-Tools','监控工具和系统日志'],
							['Maintenance-Tools/JMX-Tool','JMX 工具'],
							['Maintenance-Tools/MLogParser-Tool','Mlog解析工具'],
							['Maintenance-Tools/NodeTool','节点工具'],
							['Maintenance-Tools/Watermark-Tool','水印工具'],
							['Maintenance-Tools/Metric-Tool','监控工具'],
							['Maintenance-Tools/Sync-Tool','TsFile 同步工具'],
							['Maintenance-Tools/TsFile-Split-Tool','TsFile 拆分工具']
						]
					},
					{
						title: '系统集成',
						children: [
							['Ecosystem Integration/Grafana Plugin','Grafana Plugin'],
							['Ecosystem Integration/Grafana Connector','Grafana Connector（不推荐）'],
							['Ecosystem Integration/Zeppelin-IoTDB','Zeppelin-IoTDB'],
							['Ecosystem Integration/DBeaver','DBeaver-IoTDB'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/MapReduce TsFile','Hadoop-TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark-IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive-TsFile'],
							['Ecosystem Integration/Flink TsFile','Flink-TsFile'],
							['Ecosystem Integration/Flink IoTDB','Flink-IoTDB'],
							['Ecosystem Integration/Writing Data on HDFS','HDFS集成'],
							['Ecosystem Integration/NiFi IoTDB Bundle','NiFi-IoTDB-Bundle'],
						]
					},
					{
						title: '集群搭建',
						children: [
							['Cluster/Cluster-Setup','集群搭建'],
							['Cluster/Cluster-Setup-Example','集群搭建示例']
						]
					},
					{
                        title: 'UDF 资料库',
                        sidebarDepth: 1,
                        children: [
                            ['UDF-Library/Quick-Start', '快速开始'],
                            ['UDF-Library/Data-Profiling', '数据画像'],
                            ['UDF-Library/Anomaly-Detection', '异常检测'],
                            ['UDF-Library/Data-Matching', '数据匹配'],
                            ['UDF-Library/Frequency-Domain', '频域分析'],
                            ['UDF-Library/Data-Quality', '数据质量'],
                            ['UDF-Library/Data-Repairing', '数据修复'],
                            ['UDF-Library/Series-Discovery', '序列发现'],
                            ['UDF-Library/String-Processing', '字符串处理'],
                            ['UDF-Library/M4', 'M4']
                        ]
                    },
					{
						title: '参考',
						children: [
							['Reference/Config-Manual','配置参数'],
							['Reference/Keywords','关键字'],
							['Reference/Frequently-asked-questions','常见问题'],
							['Reference/TSDB-Comparison','时间序列数据库比较']
						]
					}
				],
				'/zh/UserGuide/Master/': [
					{
						title: 'IoTDB用户手册 (In progress)',
						collapsable: false,
					},
					{
						title: 'IoTDB简介',
						children: [
							['IoTDB-Introduction/What-is-IoTDB','IoTDB简介'],
							['IoTDB-Introduction/Features','主要功能特点'],
							['IoTDB-Introduction/Architecture','系统架构'],
							['IoTDB-Introduction/Scenario','应用场景'],
							['IoTDB-Introduction/Publication','研究论文']
						]
					},
					{
						title: '快速上手',
						children: [
							['QuickStart/QuickStart','快速上手'],
							['QuickStart/Files','数据文件存储'],
							['QuickStart/WayToGetIoTDB','下载与安装'],
							['QuickStart/Command-Line-Interface','SQL命令行终端(CLI)']
						]
					},
					{
						title: '数据模式与概念',
						sidebarDepth: 1,
						children: [
							['Data-Concept/Data-Model-and-Terminology','数据模型'],
							['Data-Concept/Schema-Template','元数据模板'],
							['Data-Concept/Data-Type','数据类型'],
							['Data-Concept/Encoding','编码方式'],
							['Data-Concept/Compression','压缩方式'],
							['Data-Concept/Time-Partition','时间分区'],
							['Data-Concept/Time-zone','时区']
						]
					},
					{
						title: '语法约定',
						sidebarDepth: 1,
						children: [
							['Reference/Syntax-Conventions', '语法约定'],
						]
					},
					{
						title: '应用编程接口',
						children: [
							['API/Programming-Java-Native-API','Java 原生接口'],
							['API/Programming-Python-Native-API','Python 原生接口'],
							['API/Programming-Cpp-Native-API','C++ 原生接口'],
							['API/Programming-Go-Native-API','Go 原生接口'],
							['API/Programming-JDBC','JDBC (不推荐)'],
							['API/Programming-MQTT','MQTT'],
							['API/RestService','REST API'],
							['API/Programming-TsFile-API','TsFile API'],
							['API/InfluxDB-Protocol','InfluxDB 协议适配器（开发中)'],
							['API/Status-Codes','状态码']
						]
					},
					{
						title: '元数据操作',
						sidebarDepth: 1,
						children: [
							['Operate-Metadata/Storage-Group','存储组操作'],
							['Operate-Metadata/Node','节点操作'],
							['Operate-Metadata/Timeseries','时间序列操作'],
							['Operate-Metadata/Template','元数据模板'],
							['Operate-Metadata/TTL','TTL'],
							['Operate-Metadata/Auto-Create-MetaData','自动创建元数据']
						]
					},
					{
						title: '数据写入和删除',
						sidebarDepth: 1,
						children: [
							['Write-And-Delete-Data/Write-Data','写入数据'],
							['Write-And-Delete-Data/Load-External-Tsfile','加载 TsFile'],
							['Write-And-Delete-Data/CSV-Tool','导入导出 CSV'],
							['Write-And-Delete-Data/Delete-Data','删除数据']
						]
					},
					{
						title: '数据查询',
						sidebarDepth: 1,
						children: [
							['Query-Data/Overview.md','概述'],
							['Query-Data/Select-Expression.md','选择表达式'],
							['Query-Data/Query-Filter.md','查询过滤条件'],
							['Query-Data/Pagination.md','查询结果分页'],
							['Query-Data/Result-Format.md','查询结果对齐格式'],
							['Query-Data/Aggregate-Query.md','聚合查询'],
							['Query-Data/Last-Query.md','最新点查询'],
							['Query-Data/Fill-Null-Value.md','空值填充'],
							['Query-Data/Without-Null.md','空值过滤'],
							['Query-Data/Tracing-Tool.md','查询性能追踪']
						]
					},
					{
						title: '数据处理',
						sidebarDepth: 1,
						children: [
							['Process-Data/UDF-User-Defined-Function','用户定义函数(UDF)'],
							['Process-Data/Select-Into','查询写回(SELECT INTO)'],
							['Process-Data/Continuous-Query','连续查询(CQ)'],
							['Process-Data/Triggers','触发器'],
							['Process-Data/Alerting','告警机制'],
						]
					},
					{
						title: '权限管理',
						children: [
							['Administration-Management/Administration','权限管理']
						]
					},
					{
						title: '运维工具',
						children: [
							['Maintenance-Tools/Maintenance-Command','运维命令'],
							['Maintenance-Tools/Monitor-and-Log-Tools','监控工具和系统日志'],
							['Maintenance-Tools/JMX-Tool','JMX 工具'],
							['Maintenance-Tools/MLogParser-Tool','Mlog解析工具'],
							['Maintenance-Tools/NodeTool','节点工具'],
							['Maintenance-Tools/Watermark-Tool','水印工具'],
							['Maintenance-Tools/Metric-Tool','监控工具'],
							['Maintenance-Tools/Sync-Tool','TsFile 同步工具'],
							['Maintenance-Tools/TsFile-Split-Tool','TsFile 拆分工具']
						]
					},
					{
						title: '系统集成',
						children: [
							['Ecosystem Integration/Grafana Plugin','Grafana Plugin'],
							['Ecosystem Integration/Grafana Connector','Grafana Connector（不推荐）'],
							['Ecosystem Integration/Zeppelin-IoTDB','Zeppelin-IoTDB'],
							['Ecosystem Integration/DBeaver','DBeaver-IoTDB'],
							['Ecosystem Integration/Spark TsFile','Spark TsFile'],
							['Ecosystem Integration/MapReduce TsFile','Hadoop-TsFile'],
							['Ecosystem Integration/Spark IoTDB','Spark-IoTDB'],
							['Ecosystem Integration/Hive TsFile','Hive-TsFile'],
							['Ecosystem Integration/Flink TsFile','Flink-TsFile'],
							['Ecosystem Integration/Flink IoTDB','Flink-IoTDB'],
							['Ecosystem Integration/Writing Data on HDFS','HDFS集成'],
							['Ecosystem Integration/NiFi IoTDB Bundle','NiFi-IoTDB-Bundle'],
						]
					},
					{
						title: '集群搭建',
						children: [
							['Cluster/Cluster-Setup','集群搭建'],
							['Cluster/Cluster-Setup-Example','集群搭建示例']
						]
					},
					{
                        title: 'UDF 资料库',
                        sidebarDepth: 1,
                        children: [
                            ['UDF-Library/Quick-Start', '快速开始'],
                            ['UDF-Library/Data-Profiling', '数据画像'],
                            ['UDF-Library/Anomaly-Detection', '异常检测'],
                            ['UDF-Library/Data-Matching', '数据匹配'],
                            ['UDF-Library/Frequency-Domain', '频域分析'],
                            ['UDF-Library/Data-Quality', '数据质量'],
                            ['UDF-Library/Data-Repairing', '数据修复'],
                            ['UDF-Library/Series-Discovery', '序列发现'],
                            ['UDF-Library/String-Processing', '字符串处理'],
                            ['UDF-Library/M4', 'M4']
                        ]
                    },
					{
						title: '参考',
						children: [
							['Reference/Config-Manual','配置参数'],
							['Reference/Keywords','关键字'],
							['Reference/Frequently-asked-questions','常见问题'],
							['Reference/TSDB-Comparison','时间序列数据库比较']
						]
					}
				],
			}
		  }
		}
      },
	locales: {
		'/': {
		  lang: 'en-US',
		  title: ' ',
		  description: ' '
		},
		'/zh/': {
		  lang: 'zh-CN',
		  title: ' ',
		  description: ' '
		}
	  },
  }

  module.exports = config
  
