Metadata-Version: 2.1
Name: readthedocs-sphinx-ext
Version: 2.2.5
Summary: Sphinx extension for Read the Docs overrides
Home-page: http://github.com/readthedocs/readthedocs-sphinx-ext
Author: Read the Docs, Inc
Author-email: dev@readthedocs.com
License: MIT
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: Jinja2>=2.9
Requires-Dist: packaging

Read the Docs Sphinx Extensions
===============================

.. image:: https://img.shields.io/pypi/v/readthedocs-sphinx-ext.svg
   :target: https://pypi.python.org/pypi/readthedocs-sphinx-ext
   :alt: PyPI Version
.. image:: https://circleci.com/gh/readthedocs/readthedocs-sphinx-ext.svg?style=svg
   :target: https://circleci.com/gh/readthedocs/readthedocs-sphinx-ext
   :alt: Build Status

This module adds extensions that make Sphinx easier to use.
Some of them require Read the Docs features,
others are just code that we ship and enable during builds on Read the Docs.

We currently ship:

* An extension for building docs like Read the Docs
* ``template-meta`` - Allows users to specify template overrides in per-page context.


Releasing
---------

#. Increment the version in ``setup.py``
#. Tag the release in git: ``git tag $NEW_VERSION``.
#. Push the tag to GitHub: ``git push --tags origin main``
#. Upload the package to PyPI:

    .. code:: bash

        $ python -m pip install --upgrade pip build twine
        $ rm -rf dist/
        $ python -m build --sdist --wheel
        $ twine upload --username=__token__ --password=$PYPI_TOKEN dist/*
