Skip to content

Commit b97a4b0

Browse files
patiencedaurp7novveod32xuniqNickVolynkin
authored
Restructure docs, stage 1 (#3054)
* Update and restructure the Releases section * Remove irrelevant beta and rc release notes * Remove doubled text on index page * Add the Overview article, based on Mons Anderson's article on Habr * Create the new How-to section * Move 'Getting started/What's next' to the new How-to section * Add SQL Beginners' Guide to How-to * Add CRUD operations how-to guide * Fix links * Point to the Cartridge tutorial explicitly Part of #2805 Resolves #2487 Resolves #1467 Co-authored-by: Pavel Semyonov <[email protected]> Co-authored-by: Evgeniy Osintsev <[email protected]> Co-authored-by: Kseniia Antonova <[email protected]> Co-authored-by: Nick Volynkin <[email protected]>
1 parent cd6e436 commit b97a4b0

File tree

71 files changed

+352
-2953
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+352
-2953
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ locale/*
7474

7575
# tntcxx submodule
7676

77-
/doc/getting_started/getting_started_cxx.rst
78-
/doc/getting_started/_includes/
77+
/doc/how-to/getting_started_cxx.rst
78+
/doc/how-to/_includes
7979
/doc/book/connectors/cxx/

build_submodules.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ cp -rfv "${cartridge_kubernetes_root}" "${cartridge_kubernetes_dest}"
9898

9999
# Tarantool C++ connector
100100
tntcxx_root="${project_root}/modules/tntcxx"
101-
tntcxx_gs_dest="${project_root}/doc/getting_started"
101+
tntcxx_howto_dest="${project_root}/doc/how-to"
102102
tntcxx_api_dest="${project_root}/doc/book/connectors"
103103

104104
# Copy Tarantool C++ connector docs to the right places
105105
mkdir -p "${tntcxx_api_dest}/cxx/"
106-
mkdir -p "${tntcxx_gs_dest}/_includes"
107-
cp -rfv "${tntcxx_root}/doc/tntcxx_getting_started.rst" "${tntcxx_gs_dest}/getting_started_cxx.rst"
108-
cp -rfv "${tntcxx_root}/examples/" "${tntcxx_gs_dest}/_includes/examples/"
106+
mkdir -p "${tntcxx_howto_dest}/_includes"
107+
cp -rfv "${tntcxx_root}/doc/tntcxx_getting_started.rst" "${tntcxx_howto_dest}/getting_started_cxx.rst"
108+
cp -rfv "${tntcxx_root}/examples/" "${tntcxx_howto_dest}/_includes/examples/"
109109
cp -rfv "${tntcxx_root}/doc/tntcxx_api.rst" "${tntcxx_api_dest}/cxx/"

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
'sphinx.ext.ifconfig',
2222
'sphinx.ext.intersphinx',
2323
'sphinx.ext.extlinks',
24+
'sphinx_panels',
2425
'sphinxcontrib.plantuml',
2526
'ext.custom',
2627
'ext.LuaDomain',

doc/book/intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To get started, you can install and launch Tarantool using
1616
or the online Tarantool server at http://try.tarantool.org.
1717
Either way, as the first tryout, you can follow the introductory exercises
1818
from :ref:`Chapter 2 "Getting started" <getting_started>`.
19-
If you want more hands-on experience, proceed to :ref:`Tutorials <tutorials>`
19+
If you want more hands-on experience, proceed to :ref:`How-to guides <how-to>`
2020
after you are through with Chapter 2.
2121

2222
:ref:`Chapter 3 "Database" <database-chapter>` is about using Tarantool

doc/getting_started/index.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ to write in/migrate to Tarantool.
3737
connecting_to_cluster
3838
change_schema_dynamically
3939
writing_cluster_code
40-
whats_next
40+
41+
To continue exploring Tarantool and its ecosystem, you might want to check out
42+
Tarantool :doc:`tutorials and guides <../how-to/index>`.
43+
The :ref:`Cartridge beginner tutorial <getting_started_cartridge>` can also be found there.

doc/getting_started/whats_next.rst

Lines changed: 0 additions & 14 deletions
This file was deleted.
File renamed without changes.

doc/how-to/app/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Developing applications with Tarantool
2+
======================================
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
lua_tutorials
8+
c_tutorial
File renamed without changes.

doc/reference/reference_lua/box_space/examples.rst renamed to doc/how-to/crud.rst

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

3-
===============================================================================
4-
Examples
5-
===============================================================================
3+
CRUD operation examples
4+
=======================
65

76
-------------------------------------------------------------------------------
87
Example: using box.space functions to read _space tuples

0 commit comments

Comments
 (0)