foreign-resources.yaml: Fix some documentation typos
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 12 Sep 2018 16:13:53 +0000 (18:13 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 12 Sep 2018 16:43:58 +0000 (18:43 +0200)
Change-Id: I89281ddaeec5d0bc778ca6829dc2d7a531fb5320

maintenance/resources/foreign-resources.yaml
maintenance/resources/manageForeignResources.php

index 9beb0e3..a54f1fd 100644 (file)
@@ -1,6 +1,7 @@
 ### Format of this file
 #
-# The top-level keys are module names (as registered in Resources.php).
+# The top-level keys are directory names (under resources/lib/).
+# They should match module names (as registered in Resources.php), but there are exceptions.
 # Each top-level key holds a resource descriptor that must have one of
 # the following `type` values:
 #
@@ -10,9 +11,9 @@
 #
 ### Type tar
 #
-# The `src` and `integrity` keys are quired.
+# The `src` and `integrity` keys are required.
 #
-# * `src`: Full URL to thes remote resource.
+# * `src`: Full URL to the remote resource.
 # * `integrity`: Cryptographic hash (integrity metadata format per <https://www.w3.org/TR/SRI/>).
 # * `dest`: An object mapping paths to files or directory from the remote resource to a destination
 #    in the module directory. The value of key in dest may be omitted, which will extract the key
 #
 ### Type file
 #
-# The `src` and `integrity` keys are quired.
+# The `src` and `integrity` keys are required.
 #
-# * `src`: Full URL to thes remote resource.
+# * `src`: Full URL to the remote resource.
 # * `integrity`: Cryptographic hash (integrity metadata format per <https://www.w3.org/TR/SRI/>).
 # * `dest`: The name of the file in the module directory. Default: Basename of URL.
 #
-### Type mult-file
+### Type multi-file
 #
 # The `files` key is required.
 #
index 41e579b..aa22c68 100644 (file)
@@ -45,8 +45,8 @@ libraries registered as ResourceLoader modules. See also foreign-resources.yaml.
 For sources that don't publish an integrity hash, omit "integrity" (or leave empty)
 and run the "make-sri" action to compute the missing hashes.
 
-This script runs in dry mode by default. Use --update to actually change, remove,
-or add files to /resources/lib/.
+This script runs in dry-run mode by default. Use --update to actually change,
+remove, or add files to resources/lib/.
 TEXT
                );
                $this->addArg( 'action', 'One of "update", "verify" or "make-sri"', true );