The breakthrough on this for me is just using plaintext files. Talk about liberation. You can get as simple or as complicated as you want with those and also sync them anywhere, to basically anything, now and in the indefinite future.
I use Obsidian with links set to "path from current file" and disabled wikilinks. I then sync the files to a git repo (selfhosted forgejo) and with these settings, the links keep working even when looked at through forgejo's web-interface.