How to build UE Documentation?

Hello.

I have faced with question, how to generate local UE docs. I found some *.bat files in Engine\Documentation\Extras\ .
For example Publish-Public-API.bat

start /wait %~dp0\..\..\..\..\UnrealDocTool\Binaries\DotNET\unrealdoctool.exe API/* -s=%~dp0\..\Source -pathPrefix=%~dp0\..\Source -o=%~dp0\..\PublicRelease -lang=INT -publish=licensee -v=info -outputFormat=HTML -doxygenCache=%~dp0\..\XML -t=PublicAPI.html -nodb

It use relative path and I can’t understand, from what directory I must to call that file… If it Engine\Source, than parameter -s=%~dp0\..\Source looks correct, but in this case %~dp0\..\..\..\..\UnrealDocTool\Binaries\DotNET\unrealdoctool.exe is incorrect…

How to correctly to use Publish-Public-API.bat?

Thank you!

I have the same question!

To fix your problem with unrealdoctool.exe Arthur, you build UnrealDocTool by opening Engine\Source\Programs\UnrealDocTool\UnrealDocTool\UnrealDocTool.sln with Visual Studio and build the project UnrealDocTool. When I tried that I got an error about a missing package Microsoft.VisualStudio.Shell, which I fixed by finding the project called CommonUnrealMarkdown, right-clicked, selected Manage NuGet packages... then found VSSDK.Shell.11 and installed it. I could now build UnrealDocTool.

However, then when I run any of the batch files, UnrealDocTool crashes with the error message Could not find a part of the path 'D:\UnrealEngine\master\Engine\Documentation\Source\Include\Internationalization'. How do I fix that?

Are there instructions somewhere on how to get the documentation to build? Thanks!!

Still not resolved

Still not resolved

Have you made it work correctly? I’ve came so far for generating documents and I’m facing the similar problem.
"Include\Internationalization’, what the hell is this?

I have same problem />?
please someone help?

Still not resolved

Still not resolved

Still not resolved

Still not resolved

Still not resolved

Still not resolved