Skip to content

Commit aa32194

Browse files
committed
attempt to add sphinx_copybutton
1 parent ff6ae1c commit aa32194

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ pyro-api>=0.1.1
1212
tqdm>=4.36
1313
funsor[torch]
1414
setuptools
15+
sphinx_copybutton

docs/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"sphinx.ext.autodoc",
4949
"sphinx.ext.doctest",
5050
'sphinx.ext.napoleon',
51+
"sphinx_copybutton",
5152
]
5253

5354
# Disable documentation inheritance so as to avoid inheriting

0 commit comments

Comments
 (0)