Open AMDphreak opened 4 years ago
The tutorial says to install sphinx without specifying a version of python and a version of sphinx. Installing with latest library invalidates the rtd theme. I have tested and successfully generated an HTML using the up to date sphinx library that uses the new theme. I will submit a PR. Please review my solution. The new theme doesn't have the green code blocks (which I think was intentionally selected for Mint). At the very least, the new docs will generate properly for developers.
Hello, @AMDphreak.
A couple of observations.
python-sphinx
package (which is the Python 2 implementation of Sphinx). I think that it should instruct to install the python3-sphinx
package.python3-sphinx-rtd-theme
package. I think that this documentation was initially written around Linux Mint 18.x. At that time the python3-sphinx-rtd-theme
package was a dependency of the python3-sphinx
package.pip
. The use of a Python module installed from the repositories that depends on a Python module installed from pip
is a recipe for disaster.python-sphinx
package (the Python 2 implementation) might or might not be available in Ubuntu 20.04 in which Linux Mint 20 will be based.
From https://github.com/AMDphreak/doc-developer-guide
It does not tell me which version of python this
make
is using, so I installed sphinx_rtd_theme on both python 2.7.x and 3.x viapip
andpip3
. This resolved nothing.No work-around available (afaik)