The scene:
- wrote my own python package
- used sphinx to create documentation for said package
- I'm now trying to upload said documentation to readthedocs
The problem:
When I try to build the documentation, I end up with an error ModuleNotFoundError: No module named 'matplotlib'
. I spent about two hours trying to figure out how to fix this, and I've added my .readthedocs.yaml
and requirements.txt
files, but I just copied what was on the readthedocs website, I can't find anything about how to add additional Python packages to these files (specifically what text I use to do so). I mean, everything says you can, and that you can add via the config or the yaml or through conda, but no example text. I really just need a simple example: "to add matplotlib module, add foo text to requirements.txt" or something like it
I'm sure it's a really simple obvious answer to people who work with this all the time, but this is my first time trying to publish documentation. Can anyone help?