Skip to content

Commit 19b969e

Browse files
authored
Merge 406a087 into bf676b5
2 parents bf676b5 + 406a087 commit 19b969e

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

source/addonHandler/__init__.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -720,15 +720,17 @@ def createAddonBundleFromPath(path, destDir=None):
720720
def _report_manifest_errors(manifest):
721721
log.warning("Error loading manifest:\n%s", manifest.errors)
722722

723+
723724
class 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.
729731
name = 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.
732734
summary = 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
738740
author = 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.
741744
version = 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
748751
lastTestedNVDAVersion = 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.
754758
docFileName = string(default=None)

0 commit comments

Comments
 (0)