Skip to content

Commit 082466e

Browse files
committed
Enable RTL support for Farsi documentation builds
1 parent 052105b commit 082466e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: sphinx-doc/github-problem-matcher@v1.1
6262

6363
- name: Build documentation
64-
run: make -e SPHINXOPTS="--color -D language='fa' -D gettext_allow_fuzzy_translations=1 -W --keep-going" html
64+
run: make -e SPHINXOPTS="--color -D language='fa' -D gettext_allow_fuzzy_translations=1 -D is_rtl=True -W --keep-going" html
6565
working-directory: ./Doc
6666

6767
- name: Setup Pages

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ all: ensure_prerequisites
6868
-D latex_engine=xelatex \
6969
-D latex_elements.inputenc= \
7070
-D latex_elements.fontenc= \
71+
-D is_rtl=True \
7172
$(ADDITIONAL_ARGS)' \
7273
SPHINXERRORHANDLING=$(SPHINXERRORHANDLING) \
7374
$(MODE)

0 commit comments

Comments
 (0)