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>
(cherry picked from commit 5341e6010e)
This commit is contained in:
Rémi Verschelde 2021-11-15 10:39:00 +01:00
parent 175870ccc7
commit 0cdcf1154f
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 40 additions and 30 deletions

View file

@ -7,3 +7,4 @@ status = "beta"
module_config = ""
year = 2021
website = "https://godotengine.org"
docs = "3.4"