소스 검색

Fixed the doc to use the new format for versions

Christophe Coevoet 13 년 전
부모
커밋
ca5662b143
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      doc/02-libraries.md

+ 4 - 3
doc/02-libraries.md

@@ -118,9 +118,10 @@ We do this by adding a package repository specification to the blog's
 
     {
         "name": "acme/blog",
-        "repositories": {
-            "acme/hello-world": {
-                "vcs": { "url": "https://github.com/composer/hello-world" }
+        "repositories": [
+            {
+                "type": "vcs",
+                "url": "https://github.com/composer/hello-world"
             }
         },
         "require": {