{"library":"python-docs-theme","title":"Python Docs Theme","description":"The Sphinx theme for the CPython docs and related projects. It provides a clean, responsive design and includes features like a dark mode, code copy buttons, and internationalization support. The library is actively maintained with frequent releases, typically on a monthly or bi-monthly cadence. The current version is 2026.3.","language":"python","status":"active","last_verified":"Thu Apr 16","install":{"commands":["pip install python-docs-theme"],"cli":null},"imports":["html_theme = 'python_docs_theme'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"mkdir my_docs\ncd my_docs\nsphinx-quickstart  # Follow prompts, choose 'y' for separate source/build, 'y' for autodoc\n\n# Edit source/conf.py (or conf.py directly if not using separate source/build)\n# Add or modify the following line:\n# html_theme = 'python_docs_theme'\n\n# Create a simple reStructuredText file (e.g., source/index.rst)\n# .. toctree::\n#    :maxdepth: 2\n#    :caption: Contents:\n#\n#    intro\n\n# Create source/intro.rst\n# My First Page\n# ============\n#\n# Hello, world! This is my first page using the Python Docs Theme.\n\nmake html  # or sphinx-build -b html source build\n","lang":"bash","description":"A basic Sphinx project setup, demonstrating how to enable the `python-docs-theme`. After running `sphinx-quickstart` to create your project structure, edit `conf.py` to set the `html_theme`.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}