Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Some doc reformatting only

  • Loading branch information...
commit 3317757cbd1b4af22f387a8681134e59d8c0e2fc 1 parent a0d606b
@timlinux timlinux authored
Showing with 11 additions and 3 deletions.
  1. +11 −3 qgis-app/plugins/docs/metadata.rst
View
14 qgis-app/plugins/docs/metadata.rst
@@ -17,9 +17,17 @@ Valid metadata for the `__init__` file are:
* `author`
* `experimental`
-To avoid direct execution of python code (which would be a security issue), metadata are read from the `__init__.py` file with a simple regular expression parser which extracts the string values returned by the functions inside the `__init__.py` file, this means that if the functions do not return strings (enclosed in single or double quotes) or a boolean value (for the `experimental` entry), the metadata entry for that function will not be extracted and if the metadata is mandatory the plugin will be considered invalid.
-
-The new `metadata.txt` file can contain other optional metadata which are read when the package is uploaded and are automatically imported.
+To avoid direct execution of python code (which would be a security issue),
+metadata are read from the `__init__.py` file with a simple regular expression
+parser which extracts the string values returned by the functions inside the
+`__init__.py` file, this means that if the functions do not return strings
+(enclosed in single or double quotes) or a boolean value (for the
+`experimental` entry), the metadata entry for that function will not be
+extracted and if the metadata is mandatory the plugin will be considered
+invalid.
+
+The new `metadata.txt` file can contain other optional metadata which are read
+when the package is uploaded and are automatically imported.
Mandatory metadata
==================
Please sign in to comment.
Something went wrong with that request. Please try again.