summaryrefslogtreecommitdiffstats
path: root/doc/tools/make_rst.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde2022-07-061-0/+48
|\
| * Add support for documenting built-in annotationsYuri Sizov2022-07-041-0/+48
| |
* | Implement a BitField hintreduz2022-07-051-5/+12
|/ | | | Allows to specify the binder that an enum must be treated as a bitfield.
* makerst: Fix file name not appearing in error messageHugo Locurcio2022-06-221-3/+3
|
* Merge pull request #61920 from Calinou/makerst-print-colorRémi Verschelde2022-06-111-4/+37
|\
| * makerst: Print colored output for easier visual greppingHugo Locurcio2022-06-111-4/+37
| | | | | | | | | | | | | | | | This is automatically enabled on all platforms including Windows 10 and later, whenever a TTY environment is detected. In non-TTY environments such as CI, this can be forced using the `--color` command line argument.
* | makerst: Fix duplicate `.xml` extension in some error messagesHugo Locurcio2022-06-101-3/+3
|/ | | | | Previously, a file name could appear as e.g. `ProjectSettings.xml.xml` when one of the 3 modified errors was reported.
* Merge pull request #60771 from snailrhymer/enum-indentation-doc-fixRémi Verschelde2022-05-121-2/+22
|\ | | | | Indent bullet points in enum descriptions
| * Indent bullet points in enum descriptionsSnailRhymer2022-05-121-2/+22
| | | | | | | | | | When converting doc xml files to rst, add an indenation level to bullet points in the text description of enum values. Also add check to avoid out of bounds error in rstize_text.
* | Implement exponential operator (**) to GDScript/ExpressionsYuri Roubinsky2022-05-111-0/+2
|/
* makerst: Improve error reportingHugo Locurcio2022-04-111-37/+41
| | | | | | - List file names before error descriptions, as is common in linters. - Print the number of errors reported at the end of the list. - Use double quotes instead of single quotes in messages.
* Fix typos with codespellRémi Verschelde2022-02-101-5/+5
| | | | | | | Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
* Fix make_rst.py on WindowsMax Hilbrunner2022-01-241-1/+1
|
* Merge pull request #56162 from akien-mga/i18n-make_rst-more-translatableRémi Verschelde2022-01-071-23/+49
|\ | | | | i18n: Make more `make_rst.py` strings translatable
| * i18n: Make more `make_rst.py` strings translatableRémi Verschelde2022-01-061-23/+49
| | | | | | | | For now we leave out the strings which could break rst table formatting.
* | Fix `make_rst.py` missing escape in front of some linksHaoyu Qiu2021-12-231-0/+1
|/
* i18n: Add `--lang` option to `make_rst.py` to write translated headingsRémi Verschelde2021-12-211-2/+48
| | | | Add a few missing headings to the translation templates.
* Update `make_rst.py` for non-latin textsHaoyu Qiu2021-12-211-4/+31
|
* Make overridden properties link to parent definitionYuri Sizov2021-12-031-9/+10
| | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
* doc: Fix `make_rst.py` hyperlinks for theme itemsRémi Verschelde2021-11-191-1/+1
| | | | Fixup to #55092.
* Add [theme_item] tag to editor helpkobewi2021-11-181-1/+9
|
* Allow dehardcoding documentation branch and URL in docs linksRémi Verschelde2021-11-151-26/+26
| | | | | | | | | | | | | | 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>
* Restore constructor/operator information in online docsYuri Sizov2021-11-021-16/+202
|
* Rename "makerst.py" to "make_rst.py"Aaron Franke2021-10-241-0/+1143