-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Missing sphinx_rtd_theme
required by default when appending docs/conf.py
#10626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I added "sphinx_rtd_theme" in requirements.txt and it solved the issue. Please also mind that you need to add reference to requirements.txt in .readthedocs.yaml as follows (it is commented out by default):
|
Indeed but we should not have to maintain the dependencies of the default theme.conf. |
seeing this as well... |
|
ok, followed the above hint... and it gets further after adding the sphinx_rtd_theme to
|
Hi, for new projects we aren't installing the RTD nor other libs by default, see https://blog.readthedocs.com/python-core-requirements-changed/. We recommend that your project installs the proper dependencies explicitly. |
But the default conf.py is using sphinx_rtd_theme so it should be installed by default. |
@cedk the default conf.py file is deprecated as well and it will be removed soon. See https://blog.readthedocs.com/doctool-without-configuration-file/ This issue is a temporal inconsistency, but I'll be removed once the date arrives 😊 |
1 similar comment
@cedk the default conf.py file is deprecated as well and it will be removed soon. See https://blog.readthedocs.com/doctool-without-configuration-file/ This issue is a temporal inconsistency, but I'll be removed once the date arrives 😊 |
I mean the part that is added automatically to the |
Hrm... that's a good point. I will re-open this issue for now.
If you define the |
sphinx_rtd_theme
required by default when appending docs/conf.py
Agree but if I do not, what is the |
I opened a PR that removes this auto-configure the Read the Docs theme already at #10638. We need to coordinate how to deploy it now to avoid breaking existing projects. |
The tutorial template is failing the first build with this error for me |
- `.readthedocs.yaml` config file is now required - `sphinx-rtd-theme` is a required dependency and has to be installed via `python.install.requirements` - remove invalid options from "Import Project" page - comment out section about "Show warning banner" Related #10626 (comment)
- `.readthedocs.yaml` config file is now required - `sphinx-rtd-theme` is a required dependency and has to be installed via `python.install.requirements` - remove invalid options from "Import Project" page - comment out section about "Show warning banner" * Related: #10626 (comment) * Requires: readthedocs/tutorial-template#52
- `.readthedocs.yaml` config file is now required - `sphinx-rtd-theme` is a required dependency and has to be installed via `python.install.requirements` - remove invalid options from "Import Project" page - comment out section about "Show warning banner" * Related: #10626 (comment) * Requires: readthedocs/tutorial-template#52
* Docs: update tutorial with the latest required changes - `.readthedocs.yaml` config file is now required - `sphinx-rtd-theme` is a required dependency and has to be installed via `python.install.requirements` - remove invalid options from "Import Project" page - comment out section about "Show warning banner" * Related: #10626 (comment) * Requires: readthedocs/tutorial-template#52 * Docs: update screenshot * Docs: the page is called Admin * Docs: remove note about requiring a YAML file
#10638 introduced a bug, that I reported in that PR. |
- Doc building at readthedocs have been failing for a few months due to their change in configuration: readthedocs/readthedocs.org#10626 Now trying to set up readthedocs building similar to: https://github.com/readthedocs/tutorial-template
- Readthedocs building has been failing due to their change: readthedocs/readthedocs.org#10626 Committing readthedocs setup similar to tutorial example: https://github.com/readthedocs/tutorial-template
Details
Expected Result
As auto-created readthedocs.org specific configuration define 'sphinx_rtd_theme' as
html_theme
, it is expected that it install the required dependencies.It was doing it until few days.
Actual Result
The build fails because of:
The text was updated successfully, but these errors were encountered: