@@ -20,10 +20,10 @@ $(function() {
2020 // Wraps Symfony's annotations
2121 var annotations = {
2222 '@Cache' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/cache.html' ,
23- '@Method ' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing .html#route-method ' ,
23+ '@IsGranted ' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security .html#isgranted ' ,
2424 '@ParamConverter' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html' ,
25- '@Route' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/ routing.html#usage ' ,
26- '@Security' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html'
25+ '@Route' : 'https://symfony.com/doc/current/routing.html#creating-routes-as-annotations ' ,
26+ '@Security' : 'https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html#security '
2727 } ;
2828
2929 $controllerCode . find ( '.hljs-doctag' ) . each ( function ( ) {
@@ -42,7 +42,7 @@ $(function() {
4242 return ;
4343 }
4444
45- var url = 'https://twig.symfony.com/doc/2 .x/tags/' + tag + '.html#' + tag ;
45+ var url = 'https://twig.symfony.com/doc/3 .x/tags/' + tag + '.html#' + tag ;
4646
4747 $ ( this ) . html ( anchor ( url , tag ) ) ;
4848 } ) ;
@@ -51,7 +51,7 @@ $(function() {
5151 $templateCode . find ( '.hljs-template-variable > .hljs-name' ) . each ( function ( ) {
5252 var func = $ ( this ) . text ( ) ;
5353
54- var url = 'https://twig.symfony.com/doc/2 .x/functions/' + func + '.html#' + func ;
54+ var url = 'https://twig.symfony.com/doc/3 .x/functions/' + func + '.html#' + func ;
5555
5656 $ ( this ) . html ( anchor ( url , func ) ) ;
5757 } ) ;
0 commit comments