-
Notifications
You must be signed in to change notification settings - Fork 43
gh-1825 Add tntcxx submodule and publish C++ connector Getting started #1852
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
cd6d0df
a34437d
e4ffe88
c17ed10
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,3 +60,7 @@ apikey.txt | |
/locale/ru/LC_MESSAGES/reference/reference_rock/luatest/modules/ | ||
/locale/ru/LC_MESSAGES/reference/reference_rock/luatest/classes/ | ||
|
||
# tntcxx submodule | ||
|
||
/doc/getting_started/getting_started_cxx.rst | ||
/doc/getting_started/_includes/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. У нас же уже есть файлы в этой директории? Если и нет, то может появиться. Если что-то приходит из tntcxx, пусть оно ложится в директорию cxx или cxx/_includes. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. давай пока так оставим на эту итерацию. Если сейчас поменять структуру, нужно в нескольких местах исправлять пути, в т.ч. в сорсах документа. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,3 +126,4 @@ script: | |
.. include:: __c.rst | ||
|
||
.. include:: __results.rst | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,10 @@ luatest_dest="${project_root}/doc/reference/reference_rock/luatest" | |
cartridge_kubernetes_root="${project_root}/modules/tarantool-operator/doc/cartridge_kubernetes_guide" | ||
cartridge_kubernetes_dest="${rst_dest}/" | ||
|
||
tntcxx_root="${project_root}/modules/tntcxx" | ||
tntcxx_gs_dest="${project_root}/doc/getting_started/" | ||
tntcxx_api_dest="${project_root}/doc/book/connectors/" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. А это пока что не копируем, да? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. пока не копируем контент по API сюда, т.к. он еще в драфтовом виде. |
||
|
||
cd "${luatest_root}" | ||
ldoc --ext=rst --dir=rst --toctree="API" . | ||
cd "${luatest_dest}" | ||
|
@@ -46,6 +50,9 @@ yes | cp -rf "${cartridge_cli_root}/README.rst" "${cartridge_cli_index_dest}" | |
mkdir -p "${cartridge_kubernetes_dest}" | ||
yes | cp -rf "${cartridge_kubernetes_root}" "${cartridge_kubernetes_dest}" | ||
|
||
yes | cp -rf "${tntcxx_root}/doc/tntcxx_getting_started.rst" "${tntcxx_gs_dest}/getting_started_cxx.rst" | ||
yes | cp -rf "${tntcxx_root}/examples/" "${tntcxx_gs_dest}/_includes/" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Тут можно сначала создать директорию getting_started/cxx/, а потом в нее копировать examples как _includes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. давай пока так оставим на эту итерацию. Если сейчас поменять структуру, нужно в нескольких местах это исправлять, в т.ч. в сорсах документа. |
||
|
||
cd "${cartridge_root}" || exit | ||
tarantoolctl rocks install \ | ||
https://raw.githubusercontent.com/tarantool/LDoc/tarantool/ldoc-scm-2.rockspec \ | ||
|
Uh oh!
There was an error while loading. Please reload this page.