Commit Graph

61 Commits

Author SHA1 Message Date
0905f81c0a Merge pull request #56162 from akien-mga/i18n-make_rst-more-translatable
i18n: Make more `make_rst.py` strings translatable
2022-01-07 09:23:57 +01:00
fd1d0c28c2 i18n: Make more make_rst.py strings translatable
For now we leave out the strings which could break rst table formatting.
2022-01-06 21:13:38 +01:00
a07e2b71fc Fix make_rst.py missing escape in front of some links 2021-12-23 00:50:40 +08:00
b98785309f i18n: Add --lang option to make_rst.py to write translated headings
Add a few missing headings to the translation templates.
2021-12-21 13:47:11 +01:00
9844e36354 Update make_rst.py for non-latin texts 2021-12-21 16:35:47 +08:00
b3992f7e6e Make overridden properties link to parent definition
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03 17:47:22 +03:00
1a9e3d581b doc: Fix make_rst.py hyperlinks for theme items
Fixup to #55092.
2021-11-19 10:41:17 +01:00
6f929395d9 Add [theme_item] tag to editor help 2021-11-18 15:32:23 +01:00
5341e6010e Allow dehardcoding documentation branch and URL in docs links
This makes it possible to change the branch of the documentation that
URLs are pointing to without having to modify all class reference
files.

In the XML class reference, the `$DOCS_URL` placeholder should be used,
and will be replaced automatically in the editor and when generating
the RST class reference.

The documentation branch string is set in `version.py`.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-11-15 13:02:21 +01:00
51b251e889 Restore constructor/operator information in online docs 2021-11-02 22:33:55 +03:00
8f05e26198 Rename "makerst.py" to "make_rst.py" 2021-10-24 01:58:59 -05:00