Skip to content

Add RTL support to python-docs-theme - #324

Draft
sepehr-rs wants to merge 6 commits into
python:mainfrom
sepehr-rs:add-rtl
Draft

Add RTL support to python-docs-theme#324
sepehr-rs wants to merge 6 commits into
python:mainfrom
sepehr-rs:add-rtl

Conversation

@sepehr-rs

Copy link
Copy Markdown

Added RTL support to python-docs-theme. Passing the is_rtl=true flag when building the documentation now generates RTL-friendly pages.
I also added Vazirmatn as the font for RTL scripts (it really improves readability), but I’m not sure how acceptable this is, so I’m happy to change it if the maintainers disagree.
Please let me know if any changes or additions are needed. Thanks in advance!

@sepehr-rs
sepehr-rs marked this pull request as draft August 17, 2026 17:30
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 python-docs-theme-previews | 🛠️ Build #34106381 | 📁 Comparing 1ce690e against latest (f0d30cc)

  🔍 Preview build  

68 files changed · ± 68 modified

± Modified

@StanFromIreland

Copy link
Copy Markdown
Member

I think it's better to do the font in a follow up, since I have some concerns about licensing and such things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants