This is something we never did yet. Its mostly either xml or yml until now. Reason was that we did not know if the format was going to change... But its Time we clean that up for existing doc and do it in new docs.

----- Reply message -----
Von: "Wouter J" <notifications@github.com>
An: "symfony-cmf/symfony-cmf-docs" <symfony-cmf-docs@noreply.github.com>
Betreff: [symfony-cmf-docs] [WIP] Customizing auto route bundle (#115)
Datum: So., Apr. 7, 2013 20:48
In bundles/routing_auto.rst: 
> +            $routeStack->addPathElements(array('foo', 'bar')); 
> +        } 
> +    } 
> + 
> +To use the path provider you must register it in the DIC and add the  
> +``symfony_cmf_routing_auto.provider`` tag and set the **alias** accordingly. 
> + 
> +.. code-block:: xml 
> + 
> +    <service  
> +        id="my_cms.some_bundle.path_provider.foobar"  
> +        class="FoobarProvider" 
> +        scope="prototype" 
> +        > 
> +        <tag name="symfony_cmf_routing_auto.provider" alias="foobar"/> 
> +    </service> 

also include a Yaml and Php example. 

&mdash;
Reply to this email directly or view it on GitHub.