Reference source files is docs using Documenter

In some docs of a package, I want to point to some files in the github repository (some example files). Currently, I’m using something:

The complete example file is available 
![here](https://github.com/m3g/CellListMap.jl/blob/main/src/examples/average_displacement.jl).

This, of course, is problematic because it does not follow the release cycles (the documents of old releases will always point to the same (the newer) file and, what is worth, if the file is removed the docs of a version becomes incomplete.

Is there a better solution which does not involve putting the files in the docs folder (actually I’m not sure if this would help either)?