[Recently](https://github.com/numpy/numpy/pull/28645), I learned about the sphinx [linkcode extension](https://www.sphinx-doc.org/en/master/usage/extensions/linkcode.html) for adding `[source]` references within docstrings ([example](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html)).