Skip to content

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

Open
sepehr-rs wants to merge 9 commits into
python:mainfrom
sepehr-rs:add-rtl
Open

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

Conversation

@sepehr-rs

Copy link
Copy Markdown
Contributor

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

read-the-docs-community Bot commented Aug 17, 2026

Copy link
Copy Markdown

Documentation build overview

📚 python-docs-theme-previews | 🛠️ Build #34118185 | 📁 Comparing 779f8b9 against latest (f0d30cc)

  🔍 Preview build  

69 files changed · ± 69 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.

@sepehr-rs

Copy link
Copy Markdown
Contributor Author

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

Although I’m okay with leaving this for a follow-up, Vazirmatn is an open-source project, licensed under the SIL Open Font License. But if you still think this is better handled in a follow-up, I’ll do that. Thanks a lot!

@sepehr-rs
sepehr-rs marked this pull request as ready for review August 18, 2026 04:04
@StanFromIreland

Copy link
Copy Markdown
Member

But if you still think this is better handled in a follow-up

I'd prefer that, personally.

@StanFromIreland

Copy link
Copy Markdown
Member

Can you please update your branch to pull in the translation?

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