flaskcwg / translation-coordination

Coordination of the translations.
7 stars 3 forks source link

RTL not supported in Sphinx flask theme #9

Closed mmdbalkhi closed 2 years ago

mmdbalkhi commented 2 years ago

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 commented 2 years ago

How do you achieve the second screenshot?

Some references:

mmdbalkhi commented 2 years ago

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 commented 2 years ago

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.