Skip to content

Commit fb9033b

Browse files
authored
ci: add myst-parser (#3493)
1 parent ce514e0 commit fb9033b

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

.github/workflows/deploy-branch.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ concurrency:
2727
jobs:
2828
deploy-branch:
2929
runs-on: ubuntu-latest
30-
container: tarantool/doc-builder:fat-4.1
30+
container: tarantool/doc-builder:fat-4.3
3131
env:
3232
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
3333
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
@@ -38,6 +38,10 @@ jobs:
3838
TARANTOOL_UPDATE_URL: ${{secrets.TARANTOOL_DEVELOP_UPDATE_URL}}
3939
VKTEAMS_BOT_TOKEN: ${{secrets.VKTEAMS_TARANTOOLBOT_TOKEN}}
4040
steps:
41+
- name: Prevent dubious ownership
42+
id: add-safe-directory
43+
run: git config --global --add safe.directory '*'
44+
4145
- uses: actions/checkout@v3
4246
id: checkout
4347
with:

.github/workflows/deploy-custom.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828
jobs:
2929
custom-deploy-branch:
3030
runs-on: ubuntu-latest
31-
container: tarantool/doc-builder:fat-4.1
31+
container: tarantool/doc-builder:fat-4.3
3232
env:
3333
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
3434
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
@@ -39,6 +39,10 @@ jobs:
3939
TARANTOOL_UPDATE_URL: ${{secrets.TARANTOOL_DEVELOP_UPDATE_URL}}
4040
VKTEAMS_BOT_TOKEN: ${{secrets.VKTEAMS_TARANTOOLBOT_TOKEN}}
4141
steps:
42+
- name: Prevent dubious ownership
43+
id: add-safe-directory
44+
run: git config --global --add safe.directory '*'
45+
4246
- uses: actions/checkout@v3
4347
id: checkout
4448
with:

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
deploy:
1212
runs-on: ubuntu-latest
13-
container: tarantool/doc-builder:fat-4.1
13+
container: tarantool/doc-builder:fat-4.3
1414
env:
1515
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
1616
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
@@ -22,6 +22,10 @@ jobs:
2222
DEPLOYMENT_NAME: latest
2323
VKTEAMS_BOT_TOKEN: ${{secrets.VKTEAMS_TARANTOOLBOT_TOKEN}}
2424
steps:
25+
- name: Prevent dubious ownership
26+
id: add-safe-directory
27+
run: git config --global --add safe.directory '*'
28+
2529
- uses: actions/checkout@v3
2630
id: checkout
2731
with:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ and refresh the browser page.
8989

9090
.. code-block:: bash
9191
92-
docker run --rm -it -p 8000:8000 -v $(pwd):/doc tarantool/doc-builder:fat-4.1 sh -c "make autobuild"
92+
docker run --rm -it -p 8000:8000 -v $(pwd):/doc tarantool/doc-builder:fat-4.3 sh -c "make autobuild"
9393
9494
First build will take some time.
9595
When it's done, open `127.0.0.1:8000 <http://127.0.0.1:8000>`_ in the browser.

conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
master_doc = 'index'
1717

1818
extensions = [
19+
'myst_parser',
1920
'sphinx.ext.todo',
2021
'sphinx.ext.imgmath',
2122
'sphinx.ext.ifconfig',
@@ -50,7 +51,10 @@
5051
imgmath_image_format = 'svg'
5152

5253
primary_domain = 'lua'
53-
source_suffix = '.rst'
54+
source_suffix = {
55+
'.rst': 'restructuredtext',
56+
'.md': 'markdown',
57+
}
5458

5559
project = u'Tarantool'
5660

0 commit comments

Comments
 (0)