/*
 * 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 = {
    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.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: '/SystemDesign/Architecture/Architecture'
				  },
				  {
					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']
						]
					},
					{
						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/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','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'],
							['Data-Concept/Auto-Create-MetaData','Auto Create Metadata'],
							['Data-Concept/Time-Partition','Time Partition']
						]
					},
					{
						title: 'CLI',
						children: [
							['CLI/Command-Line-Interface','Command Line Interface']
						]
					},
					{
						title: 'Administration Management',
						children: [
							['Administration-Management/Administration','Administration']
						]
					},
					{
						title: 'IoTDB-SQL Language',
						sidebarDepth: 2,
						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-Java-Native-API','Java Native API'],
							['API/Programming-JDBC','JDBC (Not Recommend)'],
							['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-TsFile-API','TsFile API'],
							['API/Time-zone','Time zone']
						]
					},
					{
						title: 'Advanced Features',
						children: [
							['Advanced-Features/UDF-User-Defined-Function','UDF (User Defined Function)'],
              ['Advanced-Features/Select-Into','Query Write-back (SELECT INTO)'],
              ['Advanced-Features/Continuous-Query','CQ (Continuous Query)'],
							['Advanced-Features/Triggers','Triggers'],
							['Advanced-Features/Alerting','Alerting'],
						]
					},
					{
						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']
						]
					},
					{
						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/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']
						]
					},
					{
						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']
						]
					}
				],
				'/SystemDesign/': [
					{
						title: 'System design',
						collapsable: false,
					},
					{
						title: 'Architecture',
						children: [
							['Architecture/Architecture','Architecture']
						]
					},
					{
						title: 'TsFile',
						children: [
							['TsFile/TsFile','TsFile'],
							['TsFile/Format','Format'],
							['TsFile/Write','Write'],
							['TsFile/Read','Read']
						]
					},
					{
						title: 'QueryEngine',
						children: [
							['QueryEngine/QueryEngine','QueryEngine'],
							['QueryEngine/Planner','Planner'],
							['QueryEngine/PlanExecutor','PlanExecutor'],
							['QueryEngine/ResultSetConstruction','ResultSetConstruction']
						]
					},
					{
						title: 'SchemaManager',
						children: [
							['SchemaManager/SchemaManager','SchemaManager'],
						]
					},
					{
						title: 'StorageEngine',
						children: [
							['StorageEngine/StorageEngine','StorageEngine'],
							['StorageEngine/WAL','WAL'],
							['StorageEngine/FlushManager','FlushManager'],
							['StorageEngine/MergeManager','MergeManager'],
							['StorageEngine/DataPartition','DataPartition'],
							['StorageEngine/DataManipulation','DataManipulation'],
							['StorageEngine/Recover','Recover']
						]
					},
					{
						title: 'DataQuery',
						children: [
							['DataQuery/DataQuery','DataQuery'],
							['DataQuery/QueryFundamentals','QueryFundamentals'],
							['DataQuery/SeriesReader','SeriesReader'],
							['DataQuery/RawDataQuery','RawDataQuery'],
							['DataQuery/AggregationQuery','AggregationQuery'],
							['DataQuery/GroupByQuery','GroupByQuery'],
							['DataQuery/LastQuery','LastQuery'],
							['DataQuery/AlignByDeviceQuery','AlignByDeviceQuery'],
							['DataQuery/FillFunction','FillFunction'],
							['DataQuery/GroupByFillQuery', 'GroupByFillQuery']
						]
					},
					{
						title: 'Tools',
						children: [
							['Tools/Sync','Sync']
						]
					},
					{
						title: 'Connector',
						children: [
							['Connector/Hive-TsFile','Hive-TsFile'],
							['Connector/Spark-TsFile','Spark-TsFile'],
							['Connector/Spark-IOTDB','Spark-IOTDB']
						]
					},
					{
						title: 'Client',
						children: [
							['Client/RPC','RPC']
						]
					},
				],
			}
		  },
		  '/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.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: '/zh/SystemDesign/Architecture/Architecture'
				  },
				  {
					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','水印工具'],
						]
					},
					{
						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集成'],
						]
					},
					{
						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/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','获取IoTDB二进制文件途径']
						]
					},
					{
						title: '数据模式与概念',
						children: [
							['Data-Concept/Data-Model-and-Terminology','数据模型'],
							['Data-Concept/Data-Type','数据类型'],
							['Data-Concept/Encoding','编码方式'],
							['Data-Concept/Compression','压缩方式'],
							['Data-Concept/SDT','旋转门压缩'],
							['Data-Concept/Auto-Create-MetaData','自动创建元数据'],
							['Data-Concept/Time-Partition','时间分区']
						]
					},
					{
						title: 'SQL命令行终端(CLI)',
						children: [
							['CLI/Command-Line-Interface','SQL命令行终端(CLI)']
						]
					},
					{
						title: '权限管理',
						children: [
							['Administration-Management/Administration','权限管理']
						]
					},
					{
						title: 'IoTDB-SQL 语言',
						sidebarDepth: 2,
						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-Java-Native-API','Java 原生接口'],
							['API/Programming-JDBC','JDBC (不推荐)'],
							['API/Programming-Python-Native-API','Python 原生接口'],
							['API/Programming-Cpp-Native-API','C++ 原生接口'],
							['API/Programming-Go-Native-API','Go 原生接口'],
							['API/Programming-TsFile-API','TsFile API'],
							['API/Time-zone','时区']
						]
					},
					{
						title: '高级功能',
						children: [
							['Advanced-Features/UDF-User-Defined-Function','用户定义函数(UDF)'],
              ['Advanced-Features/Select-Into','查询写回(SELECT INTO)'],
              ['Advanced-Features/Continuous-Query','连续查询(CQ)'],
							['Advanced-Features/Triggers','触发器'],
							['Advanced-Features/Alerting','告警机制'],
						]
					},
					{
						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','水印工具'],
						]
					},
					{
						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/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集成'],
						]
					},
					{
						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: 状态码']
						]
					},
					{
						title: '时间序列数据库比较',
						children: [
							['Comparison/TSDB-Comparison','比较']
						]
					}
				],
				'/zh/SystemDesign/': [
					{
						title: '系统设计',
						collapsable: false,
					},
					{
						title: '应用概览',
						children: [
							['Architecture/Architecture','应用概览']
						]
					},
					{
						title: 'TsFile',
						children: [
							['TsFile/TsFile','TsFile'],
							['TsFile/Format','格式'],
							['TsFile/Write','写流程'],
							['TsFile/Read','读流程']
						]
					},
					{
						title: '查询引擎',
						children: [
							['QueryEngine/QueryEngine','查询引擎'],
							['QueryEngine/Planner','执行计划生成器'],
							['QueryEngine/PlanExecutor','计划执行器'],
							['QueryEngine/ResultSetConstruction','结果集构造']
						]
					},
					{
						title: '元数据管理',
						children: [
							['SchemaManager/SchemaManager','元数据管理']
						]
					},
					{
						title: '存储引擎',
						children: [
							['StorageEngine/FileLists','磁盘文件汇总'],
							['StorageEngine/StorageEngine','存储引擎'],
							['StorageEngine/WAL','写前日志'],
							['StorageEngine/FlushManager','FlushManager'],
							['StorageEngine/MergeManager','文件合并机制'],
							['StorageEngine/DataPartition','数据分区'],
							['StorageEngine/DataManipulation','数据增删改'],
							['StorageEngine/Recover','重启恢复'],
							['StorageEngine/Compaction','文件合并']
						]
					},
					{
						title: '数据查询',
						children: [
							['DataQuery/DataQuery','数据查询'],
							['DataQuery/QueryFundamentals','查询基础介绍'],
							['DataQuery/SeriesReader','查询基础组件'],
							['DataQuery/RawDataQuery','原始数据查询'],
							['DataQuery/AggregationQuery','聚合查询'],
							['DataQuery/GroupByQuery','降采样查询'],
							['DataQuery/LastQuery','最近时间戳 Last 查询'],
							['DataQuery/AlignByDeviceQuery','按设备对齐查询'],
							['DataQuery/FillFunction','空值填充'],
							['DataQuery/GroupByFillQuery', '降采样补空值查询'],
							['DataQuery/OrderByTimeQuery', '按时间倒序查询']
						]
					},
					{
						title: '工具',
						children: [
							['Tools/Sync','同步工具']
						]
					},
					{
						title: '连接器',
						children: [
							['Connector/Hive-TsFile','Hive-TsFile'],
							['Connector/Spark-TsFile','Spark-TsFile'],
							['Connector/Spark-IOTDB','Spark-IOTDB']
						]
					},
					{
						title: '客户端',
						children: [
							['Client/RPC','RPC']
						]
					},
				],
			}
		  }
		}
      },
	locales: {
		'/': {
		  lang: 'en-US',
		  title: ' ',
		  description: ' '
		},
		'/zh/': {
		  lang: 'zh-CN',
		  title: ' ',
		  description: ' '
		}
	  },
  }

  module.exports = config
  
