mirror of
https://github.com/godotengine/godot-contributing-docs.git
synced 2025-12-31 05:48:13 +03:00
Add redirects js fallback, from the godot-docs. Move `docunmentation/translation` to `other/translation`, since translation is not just documentation but also the editor (and perhaps in the future, other places).
ReadTheDocs redirect tools
The scripts located in this directory help in creating and maintaining redirects on Read the Docs. Also refer to Read the Docs API documentation.
Note that RTD redirects only apply in case of 404 errors, and to all branches and languages: https://docs.readthedocs.io/en/stable/user-defined-redirects.html. If this ever changes, we need to rework how we manage these (likely adding per-branch logic).
convert_git_renames_to_csv.py creates a list of renamed files in Git to create redirects for.
create_redirects.py is used to actually manage redirects on ReadTheDocs.
These tools should be kept in sync with godot-docs.