Fortran-FOSS-Programmers / ford

Automatically generates FORtran Documentation from comments within the code.
https://forddocs.readthedocs.io
GNU General Public License v3.0
405 stars 131 forks source link

Link to README from source documentation broken #81

Closed hornekyle closed 9 years ago

hornekyle commented 9 years ago

When I try to navigate from a source file's documentation to the README link in the top navigation bar the path is invalid, using ., instead of .. for a relative path change.

hornekyle commented 9 years ago

I suspect that the problem occurs due to ford/output.py:64, which is the following: ford.pagetree.set_base_url('.,')

Surely this should be '..'?

hornekyle commented 9 years ago

After patching my local copy of ford/output.py:64 from:

ford.pagetree.set_base_url('.,')

to

ford.pagetree.set_base_url('..')

the problem seems to be fixed.

cmacmackin commented 9 years ago

That is correct. I did a major refactoring of output.py and obviously made a typo. The fix will be in the next release.

On 29/08/15 02:32 PM, Kyle Horne wrote:

After patching my local copy of ford/output.py:64 from:

ford.pagetree.set_base_url('.,')

to

ford.pagetree.set_base_url('..')

the problem seems to be fixed.

— Reply to this email directly or view it on GitHub https://github.com/cmacmackin/ford/issues/81#issuecomment-136015130.

Chris MacMackin Saint Mary's University Curriculum Vitae http://ap.smu.ca/%7Ecmacmack/CV.pdf