Default versions of dependencies
Read the Docs supports two tools to build your documentation: Sphinx and MkDocs. In order to provide several features, Read the Docs injects or modifies some content while building your docs.
In the past we used to install several dependencies to a specific version and update them after some time, but doing so would break some builds and make it more difficult for new projects to use new versions. For this reason, we are now installing just the minimal required dependencies using their latest version by default. You can see the full list of historical dependencies and advice for migrating in our blog post announcing this change.
Note
In order to keep your builds reproducible, it’s highly recommended declaring its dependencies and versions explicitly. See How to create reproducible builds.
External dependencies
Python
These are the dependencies that are installed by default when using a Python environment:
- Sphinx:
Latest version by default.
- Mkdocs:
Latest version by default.
- pip:
Latest version by default.
- setuptools:
Latest version by default.
Conda
These are the dependencies that are installed by default when using a Conda environment:
- Conda:
Miniconda2
4.6.14
(could be updated in the future to use the latest version by default).- Mkdocs:
Latest version by default installed via
conda
.- Sphinx:
Latest version by default installed via
conda
.- sphinx-rtd-theme:
Latest version by default installed via
conda
. Projects created after August 7, 2023 won’t install this dependency by default.- mock:
Latest version by default installed via
pip
. Projects created after August 7, 2023 won’t install this dependency by default.- pillow:
Latest version by default installed via
pip
. Projects created after August 7, 2023 won’t install this dependency by default.- recommonmark:
Latest version by default installed via
conda
. Projects created after August 7, 2023 won’t install this dependency by default.
Internal dependencies
Internal dependencies are needed to integrate your docs with Read the Docs. We guarantee that these dependencies will work with all current supported versions of our tools, you don’t need to specify them in your requirements.