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

Idea: "Source File" link to GitHub #634

Open blaylockbk opened 5 months ago

blaylockbk commented 5 months ago

This is just a wish list idea I wanted to share...

Some static site generators have options to "view source" or "edit source". Even the FORD docs has an option to "Suggest edit" image



In FORD, there is the default option to incl_src which copies the source code into pages like this... image

New idea

Given that a project exists in a remote repo (GitHub, GitHub enterprise server, Bitbucket, etc.), it would be handy to provide a link to source file where it is hosted rather than a FORD generated Source File page.

For example, FORD could link to a page like this...https://github.com/Fortran-FOSS-Programmers/ford/edit/master/test_data/ford_test_program.f90.