Sphinx theme for readthedocs.org
Go to file
Maxim Martynov a6ed75f0d5
Do not overflow object cross references (#1369)
* Do not overflow object cross references

* Rebuild theme for https://github.com/readthedocs/sphinx_rtd_theme/pull/1369

* Adds a demo for the regression

* Mock sphinx-automodapi for now, but we can use it soon

* we can replace sphinx-automodapi demo entirely with autosummary since it uses this under the hood

* We need a python 2.7 compliant test module. Add a short-term workaround until this is removed in 2.0.

* Add comment about the terrible tox workaround

* Use a less hacky way of conditional autosummary in demo API docs

- Use `only` directive for conditional reST instead
- Drops 1.6 from our text matrix, it was deprecated in 1.0 release.
  There were issues with the conditional directive only on 1.6 for some
  reason.

Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-authored-by: Anthony Johnson <aj@ohess.org>
2022-11-04 11:59:17 -07:00
.circleci Do not overflow object cross references (#1369) 2022-11-04 11:59:17 -07:00
.github Trying out codeowners 2021-08-18 14:10:03 -06:00
.tx Translation updates: Pull translations from transifex, push new sources (#1354) 2022-10-07 21:53:22 +02:00
bin Add a bit more error logging to preinstall check 2019-07-26 09:35:10 -06:00
docs Do not overflow object cross references (#1369) 2022-11-04 11:59:17 -07:00
sphinx_rtd_theme Do not overflow object cross references (#1369) 2022-11-04 11:59:17 -07:00
src Do not overflow object cross references (#1369) 2022-11-04 11:59:17 -07:00
tests Fix tests, missing theme extension 2021-07-13 22:45:43 -06:00
.gitattributes Fix line endings (#709) 2018-12-18 14:45:19 -05:00
.gitignore Wrapping up the Docker work, using docker cp again in order to copy assets out of containers 2022-08-24 16:49:29 +02:00
.readthedocs.yml Don't require npm to build from source (#1039) 2021-03-15 10:12:50 -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
docker-compose.yaml Wrapping up the Docker work, using docker cp again in order to copy assets out of containers 2022-08-24 16:49:29 +02:00
docker-entrypoint.sh Release 1.1.0b3 (#1361) 2022-10-14 21:03:53 +02:00
Dockerfile Release 1.1.0b3 (#1361) 2022-10-14 21:03:53 +02:00
LICENSE Replace the name 'Dave Snider' with RTD (#572) 2018-03-19 07:56:34 -04:00
Makefile Wrapping up the Docker work, using docker cp again in order to copy assets out of containers 2022-08-24 16:49:29 +02:00
MANIFEST.in Packaging: include bin/preinstall.js 2020-10-07 16:29:11 -05:00
OFL-License.txt Change Lato font to webfont (version 2.015) (#639) 2018-05-24 11:49:40 -04:00
package-lock.json Release 1.1.0b3 (#1361) 2022-10-14 21:03:53 +02:00
package.json Bump to version 1.1.0 (#1367) 2022-11-01 21:08:22 +01:00
README.rst Replace sphinx reST with native reST 2021-09-13 13:51:40 -06:00
setup.cfg Bump to version 1.1.0 (#1367) 2022-11-01 21:08:22 +01:00
setup.py Bump to version 1.1.0 (#1367) 2022-11-01 21:08:22 +01:00
tox.ini Do not overflow object cross references (#1369) 2022-11-04 11:59:17 -07:00
webpack.common.js Remove Modernizr, keep html5shiv (Webpack edition) 2019-10-25 14:54:52 +02:00
webpack.dev.js Make webpack dev server config to be more useful 2020-05-01 20:38:10 -06:00
webpack.prod.js Run webpack js through Prettier JS formatter 2019-07-26 15:35:35 -06: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://circleci.com/gh/readthedocs/sphinx_rtd_theme.svg?style=svg
   :alt: Build Status
   :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/
   :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/stable/

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

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

.. code:: console

   $ pip install sphinx-rtd-theme

To use the theme in your Sphinx project, you will need to edit
your ``conf.py`` file's ``html_theme`` setting:

.. code:: python

    html_theme = "sphinx_rtd_theme"

.. admonition:: See also:

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

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/stable/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/stable/contributing.html