@@ -720,15 +720,17 @@ def createAddonBundleFromPath(path, destDir=None):
720720def _report_manifest_errors (manifest ):
721721 log .warning ("Error loading manifest:\n %s" , manifest .errors )
722722
723+
723724class AddonManifest (ConfigObj ):
724725 """ Add-on manifest file. It contains metadata about an NVDA add-on package. """
725726 configspec = ConfigObj (StringIO (
726727 """
727728# NVDA Add-on Manifest configuration specification
728729# Add-on unique name
730+ # Suggested convention is lowerCamelCase.
729731name = string()
730732
731- # short summary (label) of the add-on to show to users.
733+ # short summary (label) of the add-on to show to users.
732734summary = string()
733735
734736# Long description with further information and instructions
@@ -737,7 +739,8 @@ class AddonManifest(ConfigObj):
737739# Name of the author or entity that created the add-on
738740author = string()
739741
740- # Version of the add-on. Should preferably in some standard format such as x.y.z
742+ # Version of the add-on.
743+ # Suggested convention is <major>.<minor>.<patch> format.
741744version = string()
742745
743746# The minimum required NVDA version for this add-on to work correctly.
@@ -747,8 +750,9 @@ class AddonManifest(ConfigObj):
747750# Must be greater than or equal to minimumNVDAVersion
748751lastTestedNVDAVersion = apiVersion(default="0.0.0")
749752
750- # URL for more information about the add-on. New versions and such.
751- url= string(default=None)
753+ # URL for more information about the add-on, e.g. a homepage.
754+ # Should begin with https://
755+ url = string(default=None)
752756
753757# Name of default documentation file for the add-on.
754758docFileName = string(default=None)
0 commit comments