Files
sphinx_rtd_theme/README.rst
T

74 lines
2.7 KiB
ReStructuredText
Raw Normal View History

2018-01-24 15:44:42 +01:00
**************************
Read the Docs Sphinx Theme
**************************
2013-10-17 13:29:09 -07:00
.. image:: https://img.shields.io/pypi/v/sphinx_rtd_theme.svg
:target: https://pypi.python.org/pypi/sphinx_rtd_theme
:alt: Pypi Version
2020-11-25 18:51:19 -05:00
.. image:: https://circleci.com/gh/readthedocs/sphinx_rtd_theme.svg?style=svg
2018-01-29 20:44:03 -05:00
:alt: Build Status
2020-11-25 18:51:19 -05:00
:target: https://circleci.com/gh/readthedocs/sphinx_rtd_theme
.. image:: https://img.shields.io/pypi/l/sphinx_rtd_theme.svg
:target: https://pypi.python.org/pypi/sphinx_rtd_theme/
2018-01-29 20:44:03 -05:00
:alt: License
2017-12-20 20:31:48 -08:00
.. image:: https://readthedocs.org/projects/sphinx-rtd-theme/badge/?version=latest
:target: http://sphinx-rtd-theme.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
This Sphinx_ theme was designed to provide a great reader experience for
documentation users on both desktop and mobile devices. This theme is used
primarily on `Read the Docs`_ but can work with any Sphinx project. You can find
a working demo of the theme in the `theme documentation`_
2013-11-03 11:26:36 +08:00
.. _Sphinx: http://www.sphinx-doc.org
.. _Read the Docs: http://www.readthedocs.org
2021-08-17 14:31:03 -06:00
.. _theme documentation: https://sphinx-rtd-theme.readthedocs.io/en/stable/
2013-11-03 11:26:36 +08:00
Installation
============
2017-05-30 13:41:29 +03:00
This theme is distributed on PyPI_ and can be installed with ``pip``:
2017-05-30 13:41:29 +03:00
2019-07-19 11:35:12 -06:00
.. code:: console
2017-05-30 13:41:29 +03:00
2019-10-23 11:08:08 -04:00
$ pip install sphinx-rtd-theme
2013-11-03 11:26:36 +08:00
2021-06-10 23:26:13 +02:00
To use the theme in your Sphinx project, you will need to edit
your ``conf.py`` file's ``html_theme`` setting:
2013-10-17 13:29:09 -07:00
.. code:: python
html_theme = "sphinx_rtd_theme"
2021-09-13 13:48:40 -06:00
.. admonition:: See also:
2021-08-17 14:31:03 -06:00
`Supported browsers`_
Officially supported and tested browser/operating system combinations
`Supported dependencies`_
Supported versions of Python, Sphinx, and other dependencies.
`Example documentation`_
A full example of this theme output, with localized strings enabled.
.. _PyPI: https://pypi.python.org/pypi/sphinx_rtd_theme
2021-08-17 14:31:03 -06:00
.. _Supported browsers: https://sphinx-rtd-theme.readthedocs.io/en/stable/development.html#supported-browsers
.. _Supported dependencies: https://sphinx-rtd-theme.readthedocs.io/en/stable/development.html#supported-dependencies
.. _Example documentation: https://sphinx-rtd-theme.readthedocs.io/en/stable/
2013-10-17 13:29:09 -07:00
2016-06-03 16:15:08 -07:00
Configuration
=============
This theme is highly customizable on both the page level and on a global level.
To see all the possible configuration options, read the documentation on
`configuring the theme`_.
2017-12-12 12:33:51 -08:00
2021-08-17 14:31:03 -06:00
.. _configuring the theme: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html
2017-12-12 12:33:51 -08:00
2018-02-20 19:42:39 +01:00
Contributing
============
2016-06-03 16:15:08 -07:00
If you would like to help modify or translate the theme, you'll find more
information on contributing in our `contributing guide`_.
2021-08-17 14:31:03 -06:00
.. _contributing guide: https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html