Fortran-FOSS-Programmers / ford

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

Ensure all internal links are relative #609

Closed ZedThree closed 7 months ago

ZedThree commented 7 months ago

Replacement for #593 which ended up using a slow semi-brute force method. Instead, ensure project_url in templates is relative to current page when loading template, and pass every entity link through a relative-url filter.

Fixes #581

@amorison hopefully this is better, fixing all the links without the massive slowdown

amorison commented 7 months ago

Thanks a lot! This seems to be working well, all the problems I had in #593 are now solved, and there is no significant impact on performance with this new strategy.