Kara-Moon Forum
March 28, 2024, 05:39:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Plugin Synopsis  (Read 2763 times)
sciurius
Sr. Member
****
Posts: 443



« on: July 19, 2019, 03:23:41 PM »

The attached patch to pluginUtils.py allows a plugin to set its Synopsis, just like Description, Author, and so on.



* pluginsyno.patch.txt (2.54 KB - downloaded 189 times.)
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #1 on: July 19, 2019, 04:27:16 PM »

Oh my, you have been busy!
Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 443



« Reply #2 on: July 19, 2019, 05:17:59 PM »

Most of this stuff I did earlier this year. I merely upgraded it to 19.07 Smiley .
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #3 on: July 31, 2019, 02:16:21 AM »

Doing the docs on this. In the plugin docs I'm modifying this:

   
\item[printUsage()]
    Prints documentation using data from addArgument, setAuthor,
    setDescription, setSynopsis and setTrackType.

To reflect the setSynopsis option and adding:

\item[setSynopsis(descr)]
  Sets a synopsis of the plugin.
 
If that covers it all I'll try to post a devl in the next day or so.
Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 443



« Reply #4 on: July 31, 2019, 07:52:13 AM »

Looks fine!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.054 seconds with 20 queries.