Gallopsled / pwntools

CTF framework and exploit development library
http://pwntools.com
Other
11.69k stars 1.67k forks source link

[docs bug] Many "links to the source" in the docs just link to the file (and not the line) #2401

Open k4lizen opened 2 months ago

k4lizen commented 2 months ago

Some examples: https://docs.pwntools.com/en/dev/elf/elf.html#pwnlib.elf.elf.ELF.library https://docs.pwntools.com/en/dev/elf/elf.html#pwnlib.elf.elf.ELF.linker https://docs.pwntools.com/en/dev/elf/elf.html#pwnlib.elf.elf.ELF.maps Click/hover the [source] button and see that they all link to: https://github.com/Gallopsled/pwntools/blob/fe560c9835/pwnlib/elf/elf.py This is true for both dev as well as stable.

Expected

For example, I would expect .maps to link to: https://github.com/Gallopsled/pwntools/blob/fe560c9835/pwnlib/elf/elf.py#L714