From 99e7acba1891ff2d353103a0cd1762dfad5f5e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Tue, 17 Dec 2024 17:09:11 +0100 Subject: [PATCH] Add doc for `GAPInfo.PackageDirectories` --- doc/ref/files.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/ref/files.xml b/doc/ref/files.xml index 93d4d9c696..23b97eb803 100644 --- a/doc/ref/files.xml +++ b/doc/ref/files.xml @@ -81,10 +81,6 @@ directories. For example when ⪆ wants to read its library file GAPInfo.RootPaths until it finds the path of an existing file. The first file found this way is read.

-Furthermore, ⪆ looks for available packages by examining the -subdirectories pkg/ in each of the directories in -GAPInfo.RootPaths. -

The root directories are specified via one or several of the -l paths command line options, see . Furthermore, by default ⪆ automatically prepends a user specific ⪆ root @@ -105,7 +101,15 @@ for more information how to do this. GAP Package Directories GAPInfo.PackageDirectories -TODO +When ⪆ is started it determines a list of directories potentially +containing packages called the ⪆ package directories. +In a running ⪆ session this list can be found in GAPInfo.PackageDirectories. +

+Every subdirectory pkg/ in a ⪆ root directory is automatically +added to this list. +

+⪆ looks for available packages by examining each of the directories in +GAPInfo.PackageDirectories.