Browse Source

updated doc

Johannes Schmitt 14 years ago
parent
commit
1449e5dd4a
1 changed files with 15 additions and 0 deletions
  1. 15 0
      Resources/doc/index.rst

+ 15 - 0
Resources/doc/index.rst

@@ -32,6 +32,21 @@ Then register the bundle with your kernel::
         // ...
     );
 
+This bundle also requires the Metadata library::
+
+    git submodule add https://github.com/schmittjoh/metadata.git vendor/metadata
+
+Make sure that you also register the namespaces with the autoloader::
+
+    // app/autoload.php
+    $loader->registerNamespaces(array(
+        // ...
+        'JMS'              => __DIR__.'/../vendor/bundles',
+        'Metadata'         => __DIR__.'/../vendor/metadata/src',
+        // ...
+    ));    
+
+
 Configuration
 -------------
 Below is the default configuration, you don't need to change it unless it doesn't