Fix broken Python plugin developer's document.

Apparently curly brace escaping in a list does not work with Doxygen's
markdown support which caused everything after the windows install path
to be removed from the output build.  I just fell back to the windows
environment variable expansion character (%) and that resolved the issue.
This commit is contained in:
Wayne Stambaugh 2019-03-20 10:07:45 -04:00
parent 4896daaae5
commit b889ecaab2
1 changed files with 10 additions and 8 deletions

View File

@ -25,7 +25,7 @@ Another documentation source is the auto-generated Doxygen reference of the
API. It can be found API. It can be found
[here](http://docs.kicad-pcb.org/doxygen-python/namespacepcbnew.html). [here](http://docs.kicad-pcb.org/doxygen-python/namespacepcbnew.html).
# `Action Plugin` Support # {#ppi_action_pi} # \`Action Plugin\` Support # {#ppi_action_pi}
Besides the stand-alone usage of the generated Python plugin interface, Besides the stand-alone usage of the generated Python plugin interface,
additional support regarding online manipulation of board projects is available additional support regarding online manipulation of board projects is available
for Pcbnew. Plugins using this feature are called `Action Plugins` and they are for Pcbnew. Plugins using this feature are called `Action Plugins` and they are
@ -44,8 +44,9 @@ In order for the discovery process to work, the following requirements must be m
* The plugin must be installed in the KiCad plugins search paths as documented * The plugin must be installed in the KiCad plugins search paths as documented
in `scripting/kicadplugins.i`. You can always discover the search path for your 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; setup by opening the scripting console and entering the command:
print pcbnew.PLUGIN_DIRECTORIES_SEARCH`.
`import pcbnew; print pcbnew.PLUGIN_DIRECTORIES_SEARCH`
Currently on a Linux Installation the plugins search path is Currently on a Linux Installation the plugins search path is
@ -55,10 +56,11 @@ In order for the discovery process to work, the following requirements must be m
On Windows On Windows
* \{KICAD_INSTALL_PATH\}/share/kicad/scripting/plugins * \%KICAD_INSTALL_PATH%/share/kicad/scripting/plugins
* %APPDATA%/Roaming/kicad/scripting/plugins * \%APPDATA%/Roaming/kicad/scripting/plugins
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 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 * /Applications/kicad/Kicad/Contents/SharedSupport/scripting/plugins
* ~/Library/Application Support/kicad/scripting/plugins * ~/Library/Application Support/kicad/scripting/plugins