Replacing Mediawiki

One of the things I want to build with my time is a knowledge-base website with links and such. I’ve used mediawiki in the past a lot, but I think I’m done with it as it’s too much work just to keep it running. (https://learn.realphysics.info/)
I’m looking at alternatives. Right now I am considering Sphinx. It’s written in Python, I am OK at Python, and it supports a math extension to render LaTeX as PNGs.
Do any of you have suggestions?