PR #3363 <https://github.com/leo-editor/leo-editor/pull/3363> improves the 
outlines created by scripts that call c.recursiveImport.

Please update scripts calling c.recursiveImport. The signature has changed.

*Improvements and changes*

c.recursiveImport generates an outline containing only *relative* paths in 
@file and @path nodes.

Leo will import these nodes correctly *only* if the .leo file resides in 
the *parent* directory of the path specified by the "dir_" argument to 
c.recursive import. Imo, this convention is the *only* way of eliminating 
absolute paths.

*Please change all scripts that call c.recursiveImport*

The signature of c.recursiveImport has changed. Please revise your scripts 
accordingly.

The signature *had* to change because c.recursiveImport works differently.

LeoPyRef.leo now contains a revised "Recursive import script" node that 
illustrates how to call c.recursiveImport.

*Summary*

Please revise all scripts that call c.recursiveImport.

c.recursiveImport generates an outline containing only *relative* paths in 
@file and @path nodes.

These nodes will work correctly only if the .leo file resides in the 
*parent* of the directory given by "dir_" kwarg.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/0b1366b9-934c-49a3-b119-049e55db7979n%40googlegroups.com.

Reply via email to