Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL not supported in Sphinx flask theme #9

Closed
mmdbalkhi opened this issue Dec 9, 2021 · 3 comments
Closed

RTL not supported in Sphinx flask theme #9

mmdbalkhi opened this issue Dec 9, 2021 · 3 comments

Comments

@mmdbalkhi
Copy link
Member

RTL not supported in Sphinx flask theme

Persian is an RTL language, but the theme of the flask is LTL and it shows the Persian text badly. How can I solve this problem?


now
This is how it is now

this
But it has to be this way

Related to issue #8

@greyli
Copy link
Member

greyli commented Dec 9, 2021

How do you achieve the second screenshot?

Some references:

@mmdbalkhi
Copy link
Member Author

How do you achieve the second screenshot?

By editing HTML in the browser

There is a problem. The flask theme should have this feature. The default theme written in the conf.py file is Flask and we can not use the new theme because it conflicts with the flask theme.

@mmdbalkhi
Copy link
Member Author

The problem was solved

Sorry, the problem was me. I should make a custom CSS and write to conf.py to sphinx use this CSS file.

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

No branches or pull requests

2 participants