Often, what we spend time on most, are the things we need to get done, and our true reference "library" is just Google.
I would argue that a pure personal "library" is actually just the archive of past projects. In that context, searchability is more important that good organizing.
I have that sort of hybrid approach. My "main" doc is a TODO Journal where I list my todos for that day (often copied from the prior day). The journal maintains a record of what I've done every day since I started two years ago - each new day is set at the top of the doc. Many of the line items are themselves links to other documents (all in markdown), which are themselves a mix of project notes and TODO lists.
I use Typora to edit, and WinSCP to encrypt on a remote drive that's backed up each night.
https://notes.andymatuschak.org/z6cFzJWgj9vZpnrQsjrZ8yCNREzC...