Skip to content

[RTD Internal] This is an extension that we install on all Sphinx builds on Read the Docs

License

Notifications You must be signed in to change notification settings

readthedocs/readthedocs-sphinx-ext

Repository files navigation

Read the Docs Sphinx Extensions

PyPI Version 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

  1. Increment the version in setup.py

  2. Tag the release in git: git tag $NEW_VERSION.

  3. Push the tag to GitHub: git push --tags origin main

  4. Upload the package to PyPI:

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

About

[RTD Internal] This is an extension that we install on all Sphinx builds on Read the Docs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages