Sphinx theme for readthedocs.org
Go to file
Anthony Johnson caa3373297 Continuation of adding translations to theme
This builds on top of #405, addressing the outstanding review feedback. It:

* Moves workflow to our standard Transifex workflow, drops recommendation for
  running babel commands by hand
* Configures Transifex
* Moves all of the commands needed to maintain translations into Grunt
* Sets up docs for translation testing
* Covers installation in docs better
* Drops recommendation for installation through submodules
* Drops superfluous translation documentation
* Cleans up some of the code
* Updates a lot of related documentation
* Updates files at Transifex and brings in full translations back to the
  translation files in the repository
2019-07-16 20:31:31 -06:00
.github Create CODE_OF_CONDUCT.md (#562) 2018-02-02 18:43:18 -05:00
.tx Continuation of adding translations to theme 2019-07-16 20:31:31 -06:00
docs Continuation of adding translations to theme 2019-07-16 20:31:31 -06:00
fonts Change Lato font to webfont (version 2.015) (#639) 2018-05-24 11:49:40 -04:00
js Fix scrolling to active item in sidebar on load (#214) (#688) 2018-12-04 20:53:16 -05:00
sass Fix accessibility of sidebar nav (#734) 2019-02-28 17:42:43 -05:00
sphinx_rtd_theme Continuation of adding translations to theme 2019-07-16 20:31:31 -06:00
tests Adds testing and hopefully a final fix for the empty toctree issue 2017-03-06 14:45:58 -08:00
.gitattributes Fix line endings (#709) 2018-12-18 14:45:19 -05:00
.gitignore Continuation of adding translations to theme 2019-07-16 20:31:31 -06:00
.readthedocs.yml Add readthedocs.yml for per-tag/branch configuration 2018-04-05 13:40:04 -06:00
.travis.yml Update .travis.yml 2019-03-07 09:46:56 -05:00
Apache-License-2.0.txt Bundle Roboto Slab as a real web font (not just ttf) (#642) 2018-05-24 11:33:57 -04:00
babel.cfg Updated Babel configurations 2018-04-17 00:48:40 -04:00
bower.json Release 0.4.3 2019-02-12 16:31:39 -03:00
Gruntfile.js Continuation of adding translations to theme 2019-07-16 20:31:31 -06:00
LICENSE Replace the name 'Dave Snider' with RTD (#572) 2018-03-19 07:56:34 -04:00
MANIFEST.in Merge branch 'master' into master 2019-03-07 09:39:35 -05:00
OFL-License.txt Change Lato font to webfont (version 2.015) (#639) 2018-05-24 11:49:40 -04:00
package.json Release 0.4.3 2019-02-12 16:31:39 -03:00
README.rst Continuation of adding translations to theme 2019-07-16 20:31:31 -06:00
setup.cfg Continuation of adding translations to theme 2019-07-16 20:31:31 -06:00
setup.py Setup.py references fonts dir plural (#721) 2019-02-13 14:54:51 -05:00
tox.ini Tests: Update to new sphinx & python 2018-10-01 11:05:35 -04:00

**************************
Read the Docs Sphinx Theme
**************************

.. image:: https://img.shields.io/pypi/v/sphinx_rtd_theme.svg
   :target: https://pypi.python.org/pypi/sphinx_rtd_theme
   :alt: Pypi Version
.. image:: https://travis-ci.org/readthedocs/sphinx_rtd_theme.svg?branch=master
   :target: https://travis-ci.org/readthedocs/sphinx_rtd_theme
   :alt: Build Status
.. image:: https://img.shields.io/pypi/l/sphinx_rtd_theme.svg
   :target: https://pypi.python.org/pypi/sphinx_rtd_theme/
   :alt: License
.. 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`_

.. _Sphinx: http://www.sphinx-doc.org
.. _Read the Docs: http://www.readthedocs.org
.. _theme documentation: https://sphinx-rtd-theme.readthedocs.io/en/latest/

Installation
============

This theme is distributed on PyPI_ and can be installed with ``pip``:

.. code:: bash

   pip install sphinx_rtd_theme

To use the theme in your Sphinx project, you will need to add the following to
your ``conf.py`` file:

.. code:: python

    import sphinx_rtd_theme

    extensions = [
        ...
        "sphinx_rtd_theme",
    ]

    html_theme = "sphinx_rtd_theme"

For more information read the full documentation on `installing the theme`_

.. _PyPI: https://pypi.python.org/pypi/sphinx_rtd_theme
.. _installing the theme: https://sphinx-rtd-theme.readthedocs.io/en/latest/installing.html

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`_.

.. _configuring the theme: https://sphinx-rtd-theme.readthedocs.io/en/latest/configuring.html

Contributing
============

If you would like to help modify or translate the theme, you'll find more
information on contributing in our `contributing guide`_.

.. _contributing guide: https://sphinx-rtd-theme.readthedocs.io/en/latest/contributing.html