From 1475f2858574f4b71359091d8101d3b620897ffa Mon Sep 17 00:00:00 2001
From: Adam Wolf <adamwolf@feelslikeburning.com>
Date: Tue, 27 Nov 2018 07:58:05 -0600
Subject: [PATCH] Fixup documentation for macOS Python script plugins. Fixes
 #1789960.
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------2.15.1"

This is a multi-part message in MIME format.
--------------2.15.1
Content-Type: text/plain; charset=UTF-8; format=fixed
Content-Transfer-Encoding: 8bit

---
 Documentation/development/pcbnew-plugins.md | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)


--------------2.15.1
Content-Type: text/x-patch; name="0001-Fixup-documentation-for-macOS-Python-script-plugins..patch"
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="0001-Fixup-documentation-for-macOS-Python-script-plugins..patch"

diff --git a/Documentation/development/pcbnew-plugins.md b/Documentation/development/pcbnew-plugins.md
index d767ba567..e19616629 100644
--- a/Documentation/development/pcbnew-plugins.md
+++ b/Documentation/development/pcbnew-plugins.md
@@ -43,9 +43,11 @@ packages and Python script files in specific directories on startup.
 In order for the discovery process to work, the following requirements must be met.
 
 * The plugin must be installed in the KiCad plugins search paths as documented
-  in `scripting/kicadplugins.i`.
+  in `scripting/kicadplugins.i`.  You can always discover the search path for your
+  setup by opening the Scripting console and entering the command: `import pcbnew;
+  print pcbnew.PLUGIN_DIRECTORIES_SEARCH`.
 
-    Currently on a Linux Installation this is
+    Currently on a Linux Installation the plugins search path is
 
     * /usr/share/kicad/scripting/plugins/
     * ~/.kicad/scripting/plugins
@@ -56,7 +58,7 @@ In order for the discovery process to work, the following requirements must be m
     * \{KICAD_INSTALL_PATH\}/share/kicad/scripting/plugins
     * %APPDATA%/Roaming/kicad/scripting/plugins
 
-    On MacOS
+    On macOS, there is a security feature that makes it easier to add scripting plugins to the ~/Library... path than to kicad.app, but the search path is
 
     * /Applications/kicad/Kicad/Contents/SharedSupport/scripting/plugins
     * ~/Library/Application Support/kicad/scripting/plugins

--------------2.15.1--


