mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-13 14:13:52 +02:00
d5adb9d09bdoc: fix doxygen links to threads in developer-notes.md (Matthew Zipkin) Pull request description: The "threads" section of `developer-notes.md` has links to anchor tags in the code generated by doxygen. As far as I can tell this was introduced in #18645 and changes to this section of this document have continued the pattern. The problem is, the content at `https://doxygen.bitcoincore.org` gets re-rendered daily and those anchor tags are generated internally by doxygen, so they are all broken now. This PR adds doxygen syntax `\anchor XXXX` comments in the code where functions that run in these threads are defined, and then those stable, human-readable anchor tags are applied to the links in the doc. I have generated the doxygen output from this branch, hosted it on my own web server, and created a modified `developer-notes.md` with these anchor tags and my server as host for demonstration: https://gist.github.com/pinheadmz/ed3dda7d3c8d589e3989040519190b84#threads Just note when looking at this: - `main` is at the bottom of the html page so it might not look right at first - `initload` is a lambda inside `AppInitMain` so thats where doxygen renders the anchor ACKs for top commit: fanquake: ACKd5adb9d09brkrux: lgtm ACKd5adb9dTree-SHA512: c5517823a2d668b01318b3dae3d76fdd9db8a74d8c721aeb748e4f4a6cb56cb4d24e34b2590a41f8553992005cab368fca4ce322a4f204cec16ce338337ae9ee
6.1 KiB
6.1 KiB