Skip to content

Commit

Permalink
*: add summary metadata to 63 docs files (#549)
Browse files Browse the repository at this point in the history
* *: add summary metadata to 63 docs files

* tikv: update summary wording
  • Loading branch information
lilin90 authored Jul 26, 2018
1 parent 021f2b1 commit 8c96693
Show file tree
Hide file tree
Showing 63 changed files with 91 additions and 15 deletions.
1 change: 1 addition & 0 deletions FAQ.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: TiDB FAQ
summary: Learn about the most frequently asked questions (FAQs) relating to TiDB.
category: faq
---

Expand Down
3 changes: 2 additions & 1 deletion QUICKSTART.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: TiDB Quick Start Guide
summary: Learn how to deploy a TiDB cluster and try it quickly.
category: quick start
---

Expand All @@ -21,7 +22,7 @@ The architecture is as follows:

![TiDB Architecture](media/tidb-architecture.png)

For details of deploying a TiDB cluster, see [Ansible Deployment](op-guide/ansible-deployment.md).
To quickly deploy a TiDB testing cluster, see [Deploy TiDB Using Docker Compose](op-guide/docker-compose.md).

## Try TiDB

Expand Down
1 change: 1 addition & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: TiDB Roadmap
summary: Learn about the roadmap of TiDB.
category: Roadmap
---

Expand Down
1 change: 1 addition & 0 deletions adopters.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: TiDB Adopters
summary: Learn about the list of TiDB adopters in various industries.
category: adopters
---

Expand Down
1 change: 1 addition & 0 deletions community.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Connect with us
summary: Learn about how to connect with us.
category: community
---

Expand Down
1 change: 1 addition & 0 deletions overview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: About TiDB
summary: Learn about what TiDB is, and the key features, architecture and roadmap of TiDB.
category: introduction
---

Expand Down
1 change: 1 addition & 0 deletions sql/admin.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Database Administration Statements
summary: Use administration statements to manage the TiDB database.
category: user guide
---

Expand Down
3 changes: 3 additions & 0 deletions sql/aggregate-group-by-functions.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
title: Aggregate (GROUP BY) Functions
summary: Learn about the supported aggregate functions in TiDB.
category: user guide
---

# Aggregate (GROUP BY) Functions

This document describes details about the supported aggregate functions in TiDB.

## Aggregate (GROUP BY) function descriptions

This section describes the supported MySQL group (aggregate) functions in TiDB.
Expand Down
1 change: 1 addition & 0 deletions sql/bit-functions-and-operators.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Bit Functions and Operators
summary: Learn about the bit functions and operators.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/cast-functions-and-operators.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Cast Functions and Operators
summary: Learn about the cast functions and operators.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/character-set-configuration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Character Set Configuration
summary: Learn about the character set configuration.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/character-set-support.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Character Set Support
summary: Learn about the supported character sets in TiDB.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/comment-syntax.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Comment Syntax
summary: Learn about the three comment styles in TiDB.
category: user guide
---

Expand Down
3 changes: 2 additions & 1 deletion sql/connection-and-APIs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Connectors and APIs
title: Connectors and APIs
summary: Learn about the connectors and APIs.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/control-flow-functions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Control Flow Functions
summary: Learn about the Control Flow functions.
category: user guide
---

Expand Down
3 changes: 1 addition & 2 deletions sql/datatype.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: TiDB Data Type
summary: Learn about the data types supported in TiDB.
category: user guide
---

# TiDB Data Type

## Overview

TiDB supports all the data types in MySQL except the Spatial type, including numeric type, string type, date & time type, and JSON type.

The definition of the data type is: `T(M[, D])`. In this format:
Expand Down
1 change: 1 addition & 0 deletions sql/date-and-time-functions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Date and Time Functions
summary: Learn how to use the data and time functions.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/ddl.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Data Definition Statements
summary: Learn how to use DDL (Data Definition Language) in TiDB.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/dml.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: TiDB Data Manipulation Language
summary: Use DML (Data Manipulation Language) to select, insert, delete and update the data.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/encrypted-connections.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Use Encrypted Connections
summary: Use the encrypted connection to ensure data security.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/encryption-and-compression-functions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Encryption and Compression Functions
summary: Learn about the encryption and compression functions.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/error.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Error Codes and Troubleshooting
summary: Learn about the error codes and solutions in TiDB.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/expression-syntax.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Expression Syntax
summary: Learn about the expression syntax in TiDB.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/functions-and-operators-reference.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Function and Operator Reference
summary: Learn how to use the functions and operators.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/information-functions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Information Functions
summary: Learn about the information functions.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/json-functions-generated-column.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: JSON Functions and Generated Column
summary: Learn how to use JSON functions and generated column to handle scenarios with uncertain schema.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/json-functions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: JSON Functions
summary: Learn about JSON functions.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/keywords-and-reserved-words.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Keywords and Reserved Words
summary: Learn about the keywords and reserved words in TiDB.
category: user guide
---

Expand Down
3 changes: 3 additions & 0 deletions sql/literal-values.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
title: Literal Values
summary: Learn how to use various literal values.
category: user guide
---

# Literal Values

This document describes String literals, Numeric literals, NULL values, Hexadecimal literals, Date and time literals, Boolean literals, and Bit-value literals.

## String literals

A string is a sequence of bytes or characters, enclosed within either single quote `'` or double quote `"` characters. For example:
Expand Down
1 change: 1 addition & 0 deletions sql/miscellaneous-functions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Miscellaneous Functions
summary: Learn about miscellaneous functions in TiDB.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/mysql-compatibility.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Compatibility with MySQL
summary: Learn about the compatibility of TiDB with MySQL, and the unsupported and different features.
category: user guide
---

Expand Down
3 changes: 3 additions & 0 deletions sql/numeric-functions-and-operators.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
title: Numeric Functions and Operators
summary: Learn about the numeric functions and operators.
category: user guide
---

# Numeric Functions and Operators

This document describes the arithmetic operators and mathematical functions.

## Arithmetic operators

| Name | Description |
Expand Down
8 changes: 8 additions & 0 deletions sql/operators.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---
title: Operators
summary: Learn about the operators precedence, comparison functions and operators, logical operators, and assignment operators.
category: user guide
---

# Operators

This document describes the operators precedence, comparison functions and operators, logical operators, and assignment operators.

- [Operator precedence](#operator-precedence)
- [Comparison functions and operators](#comparison-functions-and-operators)
- [Logical operators](#logical-operators)
Expand Down
1 change: 1 addition & 0 deletions sql/precision-math.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Precision Math
summary: Learn about the precision math in TiDB.
category: user guide
---

Expand Down
1 change: 1 addition & 0 deletions sql/prepare.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Prepared SQL Statement Syntax
summary: Use Prepared statements to reduce the load of statement parsing and query optimization, and improve execution efficiency.
category: user guide
---

Expand Down
3 changes: 1 addition & 2 deletions sql/privilege.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: Privilege Management
summary: Learn how to manage the privilege.
category: user guide
---

# Privilege Management

## Privilege management overview

TiDB's privilege management system is implemented according to the privilege management system in MySQL. It supports most of the syntaxes and privilege types in MySQL. If you find any inconsistency with MySQL, feel free to [open an issue](https://github.com/pingcap/docs-cn/issues/new).

## Examples
Expand Down
1 change: 1 addition & 0 deletions sql/schema-object-names.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Schema Object Names
summary: Learn about the schema object names (identifiers) in TiDB.
category: user guide
---

Expand Down
3 changes: 3 additions & 0 deletions sql/server-command-option.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
---
title: The TiDB Command Options
summary: Learn about TiDB command options and configuration files.
category: user guide
---

# The TiDB Command Options

This document describes the startup options and TiDB server configuration files.

## TiDB startup options

When you start TiDB processes, you can specify some program options.
Expand Down
1 change: 1 addition & 0 deletions sql/statistics.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Introduction to Statistics
summary: Learn how the statistics collect table-level and column-level information.
category: user guide
---

Expand Down
2 changes: 1 addition & 1 deletion sql/string-functions.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: String Functions
summary: Learn about the string functions in TiDB.
category: user guide
---


# String Functions

| Name | Description |
Expand Down
1 change: 1 addition & 0 deletions sql/system-database.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: The TiDB System Database
summary: Learn tables contained in the TiDB System Database.
category: user guide
---

Expand Down
3 changes: 2 additions & 1 deletion sql/tidb-memory-control.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
title: TiDB Memory Control
summary: Learn how to configure the memory quota of a query and avoid OOM (out of memory).
category: user guide
---

# TiDB Memory Control

Currently TiDB can track the memory quota of a single SQL query and take actions to prevent OOM (out of memory) or troubleshoot OOM when the memory usage exceeds a specific threshold value. In the TiDB configuration file, you can configure the options as below to control TiDB behaviors when the memory quota exceeds the threshold value:
Currently, TiDB can track the memory quota of a single SQL query and take actions to prevent OOM (out of memory) or troubleshoot OOM when the memory usage exceeds a specific threshold value. In the TiDB configuration file, you can configure the options as below to control TiDB behaviors when the memory quota exceeds the threshold value:

```
# Valid options: ["log", "cancel"]
Expand Down
3 changes: 1 addition & 2 deletions sql/tidb-server.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: The TiDB Server
summary: Learn about the basic management functions of the TiDB cluster.
category: user guide
---

# The TiDB Server

## TiDB service

TiDB refers to the TiDB database management system. This document describes the basic management functions of the TiDB cluster.

## TiDB cluster startup configuration
Expand Down
1 change: 1 addition & 0 deletions sql/tidb-specific.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: The Proprietary System Variables and Syntaxes in TiDB
summary: Use the proprietary system variables and syntaxes in TiDB to optimize performance.
category: user guide
---

Expand Down
2 changes: 2 additions & 0 deletions sql/time-zone.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Time Zone
summary: Learn how to set the time zone and its format.
category: user guide
---

Expand All @@ -12,6 +13,7 @@ You can use the following statement to set the global server `time_zone` value a
```sql
mysql> SET GLOBAL time_zone = timezone;
```

Each client has its own time zone setting, given by the session `time_zone` variable. Initially, the session variable takes its value from the global `time_zone` variable, but the client can change its own time zone with this statement:

```sql
Expand Down
Loading

0 comments on commit 8c96693

Please sign in to comment.