doc: Move internal dev docs to doc/developer/ #23528

pull MarcoFalke wants to merge 4 commits into bitcoin:master from MarcoFalke:2111-docDevel changing 28 files +55 −54
  1. MarcoFalke commented at 5:52 PM on November 16, 2021: member

    It is confusing to mix internal dev docs with end user documentation in the same folder.

    Fix that by moving the dev docs to a new folder.

    Obviously this breaks external links, but since this is internal dev documentation, not many external links should exist.

  2. MarcoFalke force-pushed on Nov 16, 2021
  3. michaelfolkson commented at 6:04 PM on November 16, 2021: contributor

    Concept ACK. Agree on bringing more organization and structure to docs.

    nit: Can we use dev or developer as the directory name? devel seems a bit of a strange shortening to me. Happy to take over this PR if this ends up being bikeshedded to death :)

  4. MarcoFalke commented at 6:08 PM on November 16, 2021: member

    Happy to take over this PR if this ends up being bikeshedded to death :)

    Jup, I'd be glad to have this PR taken over. Feel free to do so at any time.

  5. DrahtBot added the label GUI on Nov 16, 2021
  6. DrahtBot added the label Scripts and tools on Nov 16, 2021
  7. katesalazar commented at 6:55 PM on November 16, 2021: contributor

    Concept ACK.

  8. jamesob commented at 7:14 PM on November 16, 2021: member

    almost-ACK. First change below is optional (dunno whether we want to revise release notes) but the second should be included.

    diff --git a/doc/release-notes/release-notes-22.0.md b/doc/release-notes/release-notes-22.0.md
    index 972c91aa6f..db6176b013 100644
    --- a/doc/release-notes/release-notes-22.0.md
    +++ b/doc/release-notes/release-notes-22.0.md
    @@ -129,7 +129,7 @@ Build System
     ------------
     
     - Release binaries are now produced using the new `guix`-based build system.
    -  The [/doc/release-process.md](/doc/release-process.md) document has been updated accordingly.
    +  The [/doc/devel/release-process.md](/doc/release-process.md) document has been updated accordingly.
     
     Files
     -----
    diff --git a/src/chain.h b/src/chain.h
    index 15ca8f8750..f3e0764de2 100644
    --- a/src/chain.h
    +++ b/src/chain.h
    @@ -132,7 +132,7 @@ enum BlockStatus: uint32_t {
          * If set, this indicates that the block index entry is assumed-valid.
          * Certain diagnostics will be skipped in e.g. CheckBlockIndex().
          * It almost certainly means that the block's full validation is pending
    -     * on a background chainstate. See `doc/assumeutxo.md`.
    +     * on a background chainstate. See `doc/devel/assumeutxo.md`.
          */
         BLOCK_ASSUMED_VALID      =   256,
     };
    
    

    Definitely makes sense to put these docs in a subdir.

  9. MarcoFalke removed the label GUI on Nov 16, 2021
  10. MarcoFalke removed the label Scripts and tools on Nov 16, 2021
  11. MarcoFalke added the label Docs on Nov 16, 2021
  12. MarcoFalke commented at 7:26 PM on November 16, 2021: member

    Thanks for the diff, force pushed.

  13. MarcoFalke force-pushed on Nov 16, 2021
  14. michaelfolkson commented at 7:55 PM on November 16, 2021: contributor

    If this PR is getting review and people are happy with devel I'm certainly not going to NACK this PR. Feel free to direct discussion, nits and bikesheds to this issue though if it helps this PR advance.

  15. fanquake commented at 1:54 AM on November 17, 2021: member

    Concept ACK on cleaning this up.

  16. DrahtBot added the label Needs rebase on Nov 17, 2021
  17. doc: Move internal dev docs to doc/developer bbbb541236
  18. doc: Move internal dev docs to new section in main readme
    Can be reviewed with --color-moved=dimmed-zebra
    fa886aef59
  19. doc: Use internal links where possible 555599a861
  20. MarcoFalke force-pushed on Nov 17, 2021
  21. MarcoFalke commented at 7:41 AM on November 17, 2021: member

    Rebased. Hint:

    git range-diff bitcoin-core/master --word-diff-regex=. fabdae175b 555599a861
    
  22. MarcoFalke renamed this:
    doc: Move internal dev docs to doc/devel/
    doc: Move internal dev docs to doc/developer/
    on Nov 17, 2021
  23. doc: Move doxygen to doc/developer fa4386d800
  24. DrahtBot removed the label Needs rebase on Nov 17, 2021
  25. MarcoFalke commented at 1:46 PM on November 17, 2021: member

    doxygen is documentation for internal developers, so I moved that, too.

  26. w0xlt approved
  27. w0xlt commented at 3:11 PM on November 17, 2021: contributor

    ACK fa4386d

  28. michaelfolkson commented at 4:14 PM on November 17, 2021: contributor

    ACK fa4386d8000bc898468b7664ed44319a635ec599

    (think there are a few docs should probably be in the developer directory too but it is another nit and it is debatable)

  29. ryanofsky commented at 5:31 PM on November 17, 2021: member

    Just IMO, but I think "doc/design" and "doc/contributing/" folders would be more helpful than a "doc/developer/" folder. "Design" folder would hold files like assumeutxo.md, fuzzing.md, multiprocess.md, translation_process.md that tell you about the design and implementation of cross-cutting features in existing code, and can go into the weeds of how things work technically. "Contributing" folder would hold files like translation_policy.md, developer-notes, release-process, which should be less technical and just tell you how to do whatever task you're trying to do.

    Some of our current documents are a little jumbled and might need to be split up to fit this schema perfectly. But I think even just moving current documents to "doc/design" and "doc/contributing/" folders with no changes would be an improvement to at least give each document a clear purpose.

    By comparison, I think adding "doc/developer/" folder could be a step backwards and ingrain bad habits of producing documentation without a clear focus. (I will also admit I have kind of a negative reaction to the word "developer". I feel like if I am looking at a github doc directory, than yes I am a developer. Stop asking me who I am and tell me where to find the information I need.)

    But if other people like doc/developer/ it SGTM. Just wanted to suggest an alternative.

  30. michaelfolkson commented at 12:44 PM on November 22, 2021: contributor

    Added above @ryanofsky comments to #23529. The above isn't a NACK and there is definitely more room for additional doc structure improvements in future PRs. I think this PR is (still) ready for review (and potentially mergeable).

  31. jonatack commented at 1:01 PM on November 22, 2021: member

    I wonder to what extent the current state causes confusion.

    As one data point, this change would break more than a dozen links in the articles on my website, as well as another dozen links in https://github.com/jonatack/bitcoin-development.

    These links would require not only updating but perhaps also adding explanatory notes in each file or post about which links are relevant before and after v23.

  32. michaelfolkson commented at 1:48 PM on November 22, 2021: contributor

    Added above @jonatack comments to #23529. Still not a NACK (I think) but getting dangerously close :)

  33. MarcoFalke closed this on Nov 29, 2021

  34. MarcoFalke deleted the branch on Nov 29, 2021
  35. DrahtBot locked this on Nov 29, 2022

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: 2026-04-17 06:14 UTC

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