3

Installing Package into $UserBaseDirectory or $BaseDirectory means automatic loading of the documentation (after calling the Package).

However, when I installed a Package into different directory (the directory is add to the $Path) the documentation is not loaded after calling the Package using Needs.

Any idea how to solve this issue?

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
Basheer Algohi
  • 19,917
  • 1
  • 31
  • 78

1 Answers1

3

Add the directory containing the package directory to the paclet path.

PacletDirectoryAdd["/dir/to/my/pack"]

assuming that PacletInfo.m is contained within /dir/to/my/pack/PackageName.

This is not permanent. It lasts only until the end of the session.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263