ReadTheDocs not compiling docs correctly with furo #737
-
OK, so I installed furo as instructed by the quickstart, and while my docs compile fine locally, I can't fathom for the life of me why ReadTheDocs does NOT compile it as well and throws an error in my face... Here's the conf.py file I use : # Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'PyZora'
copyright = '2023, fortwoone'
author = 'fortwoone'
release = '1.0.0'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = []
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
# html_theme_path = ["_themes"]
html_theme = 'furo'
html_logo = "pyzora.svg"
html_theme_options = {
'logo_only': True,
'display_version': False,
}
html_static_path = ['_static'] |
Beta Was this translation helpful? Give feedback.
Answered by
dgw
Dec 1, 2023
Replies: 1 comment 8 replies
-
Saying RTD throws an error without including that error message won't help anyone troubleshoot. But there's an obvious problem in your conf.py: |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sounds like the theme isn't getting installed before the build. Have you made sure RTD is configured to install the relevant
requirements.txt
file? https://docs.readthedocs.io/en/stable/config-file/v2.html#requirements-file(Sorry if there was a double notification; GH had my reply post at the top-level at first, somehow.)