How do I update the docs on windows using doctool?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AngelOnFira

In the tutorial, it gives the command

./bin/godot.x11.tools.64 --doctool .

However when I navigate to the bin folder on windows and use

godot.windows.tools.32.exe --doctool .

It gives me the error

OpenGL ES 3.0 Renderer: GeForce GTX 1070 Ti/PCIe/SSE2
Loading docs..
Loading docs from: ./modules/gdnative/doc_classes
Loading docs from: ./modules/stb_vorbis/doc_classes
Loading docs from: ./modules/opus/doc_classes
Loading docs from: ./modules/bullet/doc_classes
Loading docs from: ./modules/gdscript/doc_classes
Loading docs from: ./modules/gridmap/doc_classes
Loading docs from: ./modules/mobile_vr/doc_classes
Loading docs from: ./modules/enet/doc_classes
Loading docs from: ./modules/regex/doc_classes
Loading docs from: ./modules/theora/doc_classes
Loading docs from: ./modules/webm/doc_classes
Loading docs from: ./modules/visual_script/doc_classes
Loading docs from: ./doc/classes
Merging docs..
Erasing old docs at: ./doc/classes
Erasing old docs at: ./modules/bullet/doc_classes
Erasing old docs at: ./modules/enet/doc_classes
Erasing old docs at: ./modules/gdnative/doc_classes
Erasing old docs at: ./modules/gdscript/doc_classes
Erasing old docs at: ./modules/gridmap/doc_classes
Erasing old docs at: ./modules/mobile_vr/doc_classes
Erasing old docs at: ./modules/opus/doc_classes
Erasing old docs at: ./modules/regex/doc_classes
Erasing old docs at: ./modules/stb_vorbis/doc_classes
Erasing old docs at: ./modules/theora/doc_classes
Erasing old docs at: ./modules/visual_script/doc_classes
Erasing old docs at: ./modules/webm/doc_classes
Generating new docs..
ERROR: Can't write doc file: ./doc/classes/@GDScript.xml
   At: editor\doc\doc_data.cpp:964

For reference, I compiled 32-bit Godot from the master branch, fully up to date.

:bust_in_silhouette: Reply From: Xrayez

I think it’s required to run this from the Godot root directory:

.\bin\godot.windows.tools.32.exe --doctool .

And make sure to run this as Administrator, works for me.