flask-docs-fa
flask-docs-fa copied to clipboard
Problem rtl and ltr in flask sphinx template for documentation
Problem rtl and ltr in flask sphinx template for documentation
Persian is a right-to-left language, and from the first day of the invention of the computer, etc., they face the problem of text disorganization. I manually put the appropriate font and rtl layout for the Persian language in the file custom.css, which if the translation is finished tomorrow, we can not put this file in the main repository. We have also encountered problems in some places and the rtl of the code in some places. I do not understand CSS myself, if anyone can solve this problem, I will be grateful to anyone who does this
This means that the program itself recognizes that there is Persian or English then based on this is the direction from right to left or from left to right.
ps:
Of course, this project uses the pallets theme for sphinx, and if it can be solved from there, it might be better. But unfortunately, it is read-only there right now.