Debian Codegraph @

README.rst

raw
1 **************************
2 Read the Docs Sphinx Theme
3 **************************
4
5 .. image:: https://img.shields.io/pypi/v/sphinx_rtd_theme.svg
6 :target: https://pypi.python.org/pypi/sphinx_rtd_theme
7 :alt: Pypi Version
8 .. image:: https://circleci.com/gh/readthedocs/sphinx_rtd_theme.svg?style=svg
9 :alt: Build Status
10 :target: https://circleci.com/gh/readthedocs/sphinx_rtd_theme
11 .. image:: https://img.shields.io/pypi/l/sphinx_rtd_theme.svg
12 :target: https://pypi.python.org/pypi/sphinx_rtd_theme/
13 :alt: License
14 .. image:: https://readthedocs.org/projects/sphinx-rtd-theme/badge/?version=latest
15 :target: http://sphinx-rtd-theme.readthedocs.io/en/latest/?badge=latest
16 :alt: Documentation Status
17
18 This Sphinx_ theme was designed to provide a great reader experience for
19 documentation users on both desktop and mobile devices. This theme is used
20 primarily on `Read the Docs`_ but can work with any Sphinx project. You can find
21 a working demo of the theme in the `theme documentation`_
22
23 .. _Sphinx: http://www.sphinx-doc.org
24 .. _Read the Docs: http://www.readthedocs.org
25 .. _theme documentation: https://sphinx-rtd-theme.readthedocs.io/en/stable/
26
27 Installation
28 ============
29
30 This theme is distributed on PyPI_ and can be installed with ``pip``:
31
32 .. code:: console
33
34 $ pip install sphinx-rtd-theme
35
36 To use the theme in your Sphinx project, you will need to edit
37 your ``conf.py`` file's ``html_theme`` setting:
38
39 .. code:: python
40
41 html_theme = "sphinx_rtd_theme"
42
43 .. admonition:: See also:
44
45 `Supported browsers`_
46 Officially supported and tested browser/operating system combinations
47
48 `Supported dependencies`_
49 Supported versions of Python, Sphinx, and other dependencies.
50
51 `Example documentation`_
52 A full example of this theme output, with localized strings enabled.
53
54 .. _PyPI: https://pypi.python.org/pypi/sphinx_rtd_theme
55 .. _Supported browsers: https://sphinx-rtd-theme.readthedocs.io/en/stable/development.html#supported-browsers
56 .. _Supported dependencies: https://sphinx-rtd-theme.readthedocs.io/en/stable/development.html#supported-dependencies
57 .. _Example documentation: https://sphinx-rtd-theme.readthedocs.io/en/stable/
58
59 Configuration
60 =============
61
62 This theme is highly customizable on both the page level and on a global level.
63 To see all the possible configuration options, read the documentation on
64 `configuring the theme`_.
65
66 .. _configuring the theme: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html
67
68 Contributing
69 ============
70
71 If you would like to help modify or translate the theme, you'll find more
72 information on contributing in our `contributing guide`_.
73
74 .. _contributing guide: https://sphinx-rtd-theme.readthedocs.io/en/stable/contributing.html