godot-docs icon indicating copy to clipboard operation
godot-docs copied to clipboard

Link to C# on Godot API page is broken

Open vnen opened this issue 8 years ago • 5 comments

It's a big no-no to use a hash (#) on a URL since it has special meaning. It should be replaced by a encoded value (%23). I don't know if this can be fixed in the makerst.py script or if it's an issue with RTD/Sphinx generation.

For reference this is the current link: http://docs.godotengine.org/en/latest/classes/class_@c#.html

This is the link that works: http://docs.godotengine.org/en/latest/classes/class_@c%23.html

vnen avatar Jan 05 '18 03:01 vnen

Alternatively, use CSharp rather than C#.

RiverMesa avatar Jan 05 '18 07:01 RiverMesa

The problem is that this reference page is automatically generated from the ScriptLanguage name. If we were to change it, that would mean the editor would display CSharp when choosing the language for a new script, and that looks kind of bad. BTW, this page is empty and I don't see it ever having anything, so maybe just get rid of it when empty.

neikeq avatar Jan 05 '18 13:01 neikeq

Should be hidden then.

mhilbrunner avatar Jan 05 '18 19:01 mhilbrunner

@C# was removed from the documentation in https://github.com/godotengine/godot/pull/39622, so this should be fixed once the class reference is synchronized in the online version.

Calinou avatar Jul 30 '20 09:07 Calinou

Indeed, we can close it already.

akien-mga avatar Jul 30 '20 09:07 akien-mga