Skip to content

Commit e613ae0

Browse files
committed
Update Sphinx build options to support RTL for Farsi documentation
1 parent 082466e commit e613ae0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.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 -D is_rtl=True -W --keep-going" html
64+
run: make -e SPHINXOPTS="--color -D language='fa' -D gettext_allow_fuzzy_translations=1 -D html_theme_options.is_rtl=True -W --keep-going" html
6565
working-directory: ./Doc
6666

6767
- name: Setup Pages

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +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 \
71+
-D html_theme_options.is_rtl=True \
7272
$(ADDITIONAL_ARGS)' \
7373
SPHINXERRORHANDLING=$(SPHINXERRORHANDLING) \
7474
$(MODE)

0 commit comments

Comments
 (0)