Move the documentation folder,normally
"C:\Program Files\Wolfram Research\Mathematica\13.2\Documentation"
into your
"D:\Program Files\Wolfram Research\Mathematica\13.2\Documentation"
Go to menu Edit/preferences last entry Avanced and open OptionInspector
There you find the node FileLocations with the search tree for Help. Klick on the little square on the right. A window pops up with the paths encoded as Mathematica commands with $systemvaraibles as values.. The given file locations are
$UserBaseDirectory
$BaseDirectory
$InstallationDirectory
Out[1]= C:\Users\mef\AppData\Roaming\Mathematica
Out[2]= C:\ProgramData\Mathematica
Out[3]= C:\Program Files\Wolfram Research\Mathematica\13.2
If the new directory is in one of these standard system paths it should work now.