Very interesting. How did you find projects to contribute to in GitHub for documentation editing? I've always wanted to do this kind of work but haven't been able to find opportunities in it.

For GitHub, I looked at projects that interested me, but not necessarily having the skills to contribute code. So I would pour through the docs and find errors, typos, mistakes. These kinds of things. Cleaning up. Sometimes added documentation that was missing.

Here is a repo of options for freelance technical writing:

https://github.com/malgamves/CommunityWriterPrograms

In the process of doing this type of work, you surely will learn new things and probably will help you figure out exactly what you might want to focus on / become an expert at / etc. You'll come to understand systems from a user's perspective which always good for developers.