doctrine / doctrine-website-sphinx

Sphinx-based Doctrine Website
18 stars 25 forks source link

Api Doc Links doesn't jump to line #124

Open Drachenkaetzchen opened 8 years ago

Drachenkaetzchen commented 8 years ago

Hi,

when I click on any method in the ApiDoc, the ApiDoc doesn't jump to the source code location.

How to reproduce:

  1. Navigate to the ApiDoc for ArrayCollection
  2. Click on the __construct method
  3. The browser navigates to the source code but fails to go to the specific line number

The anchor for that example is set to #41-49, which doesn't work. An anchor of #41 works. Probably a newer version of ApiGen fixes the issue.