{"library":"sphinx-rtd-theme","code":"# First, create a Sphinx project if you don't have one:\n# sphinx-quickstart\n\n# In your project's conf.py file:\n# ------------------------------\n# import os\n# import sys\n# sys.path.insert(0, os.path.abspath('.'))\n\nproject = 'My Awesome Project'\ncopyright = '2026, Your Name'\nauthor = 'Your Name'\nrelease = '0.1.0'\n\nextensions = [\n    'sphinx_rtd_theme'\n]\n\nhtml_theme = \"sphinx_rtd_theme\"\n\n# To build the documentation (run from your project root):\n# -------------------------------------------------------\n# make html\n# or\n# sphinx-build -b html . _build","lang":"python","description":"After installing the theme, update your Sphinx project's `conf.py` file to specify `sphinx_rtd_theme` as the `html_theme` and add `sphinx_rtd_theme` to your `extensions` list. Then, build your Sphinx documentation.","tag":null,"tag_description":null,"last_tested":"2026-04-24","results":[{"runtime":"python:3.10-alpine","exit_code":0},{"runtime":"python:3.10-slim","exit_code":0},{"runtime":"python:3.11-alpine","exit_code":0},{"runtime":"python:3.11-slim","exit_code":0},{"runtime":"python:3.12-alpine","exit_code":0},{"runtime":"python:3.12-slim","exit_code":0},{"runtime":"python:3.13-alpine","exit_code":0},{"runtime":"python:3.13-slim","exit_code":0},{"runtime":"python:3.9-alpine","exit_code":0},{"runtime":"python:3.9-slim","exit_code":0}]}