Twig icon indicating copy to clipboard operation
Twig copied to clipboard

Anchors to Symfony "Twig reference" documentation are not working

Open fancyweb opened this issue 4 years ago • 1 comments

On https://twig.symfony.com/doc/2.x/ and https://twig.symfony.com/doc/3.x/, the links to the Symfony documentation have invalid anchors (_ needs to replaces with -).

Also some anchors does not exist at all, the page it redirects to is wrong (eg: https://twig.symfony.com/doc/2.x/tests/rootform.html redirects to https://symfony.com/doc/current/reference/twig_reference.html#rootform instead of https://symfony.com/doc/current/form/form_customization.html#form-twig-rootform).

fancyweb avatar Jul 06 '20 12:07 fancyweb

I've fixed the first issue for now. For forms, I have a global strategy right now but that does not work well, I think I need to hardcode the anchor instead.

fabpot avatar Jul 06 '20 12:07 fabpot

Should be fixed now.

fabpot avatar Aug 24 '22 19:08 fabpot