doc: update headers and remove manual TOCs #33040

pull l0rinc wants to merge 3 commits into bitcoin:master from l0rinc:l0rinc/32572-follow-ups changing 3 files +41 −166
  1. DrahtBot added the label Docs on Jul 22, 2025
  2. DrahtBot commented at 11:02 pm on July 22, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33040.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK maflcko, janb84, yuvicc

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #30361 (doc: Drop description of LogError messages as fatal by ryanofsky)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  3. yuvicc commented at 4:34 am on July 23, 2025: contributor

    I think we can also add

    0- [Interface Naming Style]([Internal interface
    1    naming style](#internal-interface-naming-style))
    
  4. l0rinc renamed this:
    doc: remove dangling toc entries from `developer-notes.md`
    doc: update toc entries in `developer-notes.md`
    on Jul 23, 2025
  5. maflcko commented at 6:11 am on July 23, 2025: member

    For reference, GitHub already generates those: https://github.blog/changelog/2021-04-13-table-of-contents-support-in-markdown-files/

    So I guess this is for local usage? Seems fine, but instead of manually updating and reviewing it, it would be better to do with a script. There are many tools (https://github.com/search?q=markdown%20toc&type=repositories) or standalone scripts, such as https://github.com/openai/codex/blob/d6c4083f98094dbd8d86f70992729924d93f73c4/scripts/readme_toc.py#L1.

  6. l0rinc commented at 6:15 am on July 23, 2025: contributor
    We can also just delete the whole TOC - but keeping it half-updated seems counter-productive to me
  7. in doc/developer-notes.md:1331 in 559ba540e6 outdated
    1327@@ -1322,7 +1328,7 @@ Release notes should be added to a PR-specific release note file at
    1328 All `release-notes*` files are merged into a single `release-notes-<version>.md` file prior to the release.
    1329 
    1330 RPC interface guidelines
    1331---------------------------
    1332+------------------------
    


    maflcko commented at 6:34 am on July 23, 2025:
    Updating those also seems busy-work and inconsistent with the other headings (#). My preference would be to just use # consistently and not switch between =, -, and # in the same file.

    l0rinc commented at 7:02 am on July 23, 2025:
    Done
  8. l0rinc force-pushed on Jul 23, 2025
  9. maflcko commented at 7:06 am on July 23, 2025: member
    Seems fine to squash and call it “doc: regenerate toc”?
  10. l0rinc force-pushed on Jul 23, 2025
  11. l0rinc renamed this:
    doc: update toc entries in `developer-notes.md`
    doc: update headers and TOC in `developer-notes.md`
    on Jul 23, 2025
  12. maflcko commented at 10:15 am on July 23, 2025: member
    lgtm ACK f314f01fb833a873c8c75c0d8a21023cf733de9a
  13. yuvicc commented at 11:38 am on July 23, 2025: contributor

    ACK f314f01fb833a873c8c75c0d8a21023cf733de9a

    Thanks!

  14. janb84 commented at 11:40 am on July 23, 2025: contributor
    lgtm ACK f314f01fb833a873c8c75c0d8a21023cf733de9a
  15. achow101 commented at 10:01 pm on July 23, 2025: member

    I would prefer to drop the table of contents entirely.

    I pretty much only ever read .md files on GitHub or with mdcat. On GitHub, the table of contents will be automatically generated, and with mdcat, the links don’t work anyways.

  16. l0rinc commented at 10:22 pm on July 23, 2025: contributor

    I’m fine with that option as well, though it’s not the only doc with a TOC:

    The first two are also missing headers from the TOC - the last one seems up-to-date. So I agree - we either update them all or delete the TOC in all 3 docs.

    Edit: removed the manual TOCs.

  17. doc: unify `developer-notes` and `productivity` header styles 26a3730711
  18. doc: remove manual TOCs ddab466e0d
  19. l0rinc force-pushed on Jul 24, 2025
  20. l0rinc renamed this:
    doc: update headers and TOC in `developer-notes.md`
    doc: update headers and remove manual TOCs
    on Jul 24, 2025
  21. doc: fix a few obvious typos in the affected files ca38cf701d
  22. maflcko commented at 7:03 am on July 24, 2025: member

    lgtm ACK ca38cf701dc635d39db987105c5b2ccc87fd9815 🌔

    Signature:

    0untrusted comment: signature from minisign secret key on empty file; verify via: minisign -Vm "${path_to_any_empty_file}" -P RWTRmVTMeKV5noAMqVlsMugDDCyyTSbA3Re5AkUrhvLVln0tSaFWglOw -x "${path_to_this_whole_four_line_signature_blob}"
    1RUTRmVTMeKV5npGrKx1nqXCw5zeVHdtdYURB/KlyA/LMFgpNCs+SkW9a8N95d+U4AP1RJMi+krxU1A3Yux4bpwZNLvVBKy0wLgM=
    2trusted comment: lgtm ACK ca38cf701dc635d39db987105c5b2ccc87fd9815 🌔
    336ziaowwX9V4b1Jk9vvmqL9RHt/b2G/C/X/i1U/saomVm0xsBNOJcGaEDItgZ5x1G3WzZKoQJyaLO1uVS0cbDw==
    
  23. DrahtBot requested review from janb84 on Jul 24, 2025
  24. DrahtBot requested review from yuvicc on Jul 24, 2025
  25. janb84 commented at 9:26 am on July 24, 2025: contributor

    ACK ca38cf701dc635d39db987105c5b2ccc87fd9815

    changes since last ACK:

    • Removed manual TOCs
  26. yuvicc commented at 10:07 am on July 24, 2025: contributor
    re-ACK ca38cf701dc635d39db987105c5b2ccc87fd9815
  27. fanquake merged this on Jul 24, 2025
  28. fanquake closed this on Jul 24, 2025

  29. l0rinc deleted the branch on Jul 24, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-08-02 12:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me