.. The variables beginning with $ are replaced in the prepare-themes.py script. ============================ Python Documentation Sample ============================ This is a simple demonstration of the `Python Documentation`__ Sphinx_ theme, last updated on 8 April 2025. __ https://github.com/python/python-docs-theme/ Usage ===== #. Install this theme: .. code-block:: console $ pip install python-docs-theme #. Add the following to your :file:`conf.py` file: .. literalinclude:: conf.py.inc :language: python :force: #. Run Sphinx! Documentation ============= Please find further resources and documentation for the Python Documentation theme at https://github.com/python/python-docs-theme/. .. _Sphinx: https://sphinx-doc.org/