Skip to content

Commit f8212ce

Browse files
pgulutzanOnvember
authored andcommitted
Fixes gh-1612 SQL Reference: too long page without subsections
1 parent 72d550a commit f8212ce

File tree

8 files changed

+6699
-6510
lines changed

8 files changed

+6699
-6510
lines changed

doc/reference/reference_lua/box_sql.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ The ``box`` module contains some functions related to SQL:
88

99
* ``box.schema.func.create`` -- for making Lua functions callable from
1010
SQL statements. See :ref:`Calling Lua routines from SQL <sql_calling_lua>`
11-
in the :ref:`SQL Plus Lua <sql_sql_plus_lua>` section.
11+
in the :ref:`SQL Plus Lua <sql_plus_lua>` section.
1212

1313
* ``box.execute`` -- for making SQL statements callable from Lua functions.
14-
See the :ref:`SQL user guide <sql_sql_user_guide>`.
14+
See the :ref:`SQL user guide <sql_user_guide>`.
1515

1616
* ``box.prepare`` and ``box.unprepare``.
1717

@@ -23,7 +23,7 @@ Some SQL statements are illustrated in the :ref:`SQL tutorial <sql_tutorial>`.
2323

2424
Execute the SQL statement contained in the sql-statement parameter.
2525

26-
:param string sql-statement: statement, which should conform to :ref:`the rules for SQL grammar <sql_sql_statements_and_clauses>`
26+
:param string sql-statement: statement, which should conform to :ref:`the rules for SQL grammar <sql_statements_and_clauses>`
2727
:param table extra-parameters: optional table for placeholders in the statement
2828

2929
:return: depends on statement
@@ -145,7 +145,7 @@ Some SQL statements are illustrated in the :ref:`SQL tutorial <sql_tutorial>`.
145145
Prepare the SQL statement contained in the sql-statement parameter.
146146
The syntax and requirements for ``box.prepare`` are the same as for :ref:`box.execute <box-sql_box_execute>`.
147147

148-
:param string sql-statement: statement, which should conform to :ref:`the rules for SQL grammar <sql_sql_statements_and_clauses>`
148+
:param string sql-statement: statement, which should conform to :ref:`the rules for SQL grammar <sql_statements_and_clauses>`
149149

150150
:return: prepared_table, with id and methods and metadata
151151
:rtype: table

doc/reference/reference_sql/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ This reference covers all the SQL statements and clauses supported by Tarantool.
1111
:numbered: 0
1212

1313
sql
14+
sql_beginners_guide
15+
sql_user_guide
16+
sql_statements_and_clauses
17+
sql_plus_lua
1418
sql-features

doc/reference/reference_sql/sql-features.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. _sql:
22

3-
================================================================================
3+
--------------------------------------------------------------------------------
44
SQL features
5-
================================================================================
5+
--------------------------------------------------------------------------------
66

77
In this section we will go through SQL:2016's "Feature taxonomy and definition
88
for mandatory features".

doc/reference/reference_sql/sql.rst

Lines changed: 32 additions & 6504 deletions
Large diffs are not rendered by default.

doc/reference/reference_sql/sql_beginners_guide.rst

Lines changed: 790 additions & 0 deletions
Large diffs are not rendered by default.

doc/reference/reference_sql/sql_plus_lua.rst

Lines changed: 1013 additions & 0 deletions
Large diffs are not rendered by default.

doc/reference/reference_sql/sql_statements_and_clauses.rst

Lines changed: 3823 additions & 0 deletions
Large diffs are not rendered by default.

doc/reference/reference_sql/sql_user_guide.rst

Lines changed: 1031 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)