diff --git a/docs/conf.py b/docs/conf.py index faecb9a9..87502ae6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -46,6 +46,7 @@ extensions = [ 'recommonmark', 'sphinxcontrib_django2', 'sphinx.ext.viewcode', + 'sphinx_copybutton' ] # Add any paths that contain templates here, relative to this directory. diff --git a/docs/requirements.txt b/docs/requirements.txt index 9bc75ebd..fc8d395c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -5,6 +5,7 @@ recommonmark==0.7.1 Jinja2<3.1 docutils==0.16 sphinxcontrib-django2 +sphinx-copybutton # Autodoc dependencies celery>=5.2.0,<6.0.0