From 3dc0a8388b04dfc5722dd6eb9c7c7835670b37af Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Wed, 26 Sep 2018 18:34:51 -0400 Subject: [PATCH] copy button --- docs/environment.yml | 1 + docs/source/conf.py | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/environment.yml b/docs/environment.yml index 7ecc0062..59bfc599 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -20,3 +20,4 @@ dependencies: - async_generator - prometheus_client - attrs>=17.4.0 + - sphinx-copybutton diff --git a/docs/source/conf.py b/docs/source/conf.py index 389aa138..9f3bb4b6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,6 +21,7 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinx.ext.napoleon', 'autodoc_traits', + 'sphinx_copybutton' ] templates_path = ['_templates']