소스 검색

Merge pull request #51 from Miksus/docs/copy-clipboard

docs: add copy clipboard button to code blocks
Mikael Koli 3 년 전
부모
커밋
07bb750a92
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      docs/conf.py
  2. 2 1
      requirements/docs.txt

+ 1 - 0
docs/conf.py

@@ -35,6 +35,7 @@ extensions = [
     'sphinx.ext.napoleon',
     'sphinx_book_theme',
     'sphinx.ext.extlinks',
+    'sphinx_copybutton',
 ]
 rst_prolog = """
 .. include:: <s5defs.txt>

+ 2 - 1
requirements/docs.txt

@@ -1,3 +1,4 @@
 sphinx >= 1.7.5
 pydata-sphinx-theme
-sphinx_book_theme
+sphinx_book_theme
+sphinx-copybutton