Skip to content

Commit

Permalink
<doc>(conf): fix copybutton.
Browse files Browse the repository at this point in the history
  • Loading branch information
kyonRay committed Jul 6, 2022
1 parent 17ccda3 commit 4626d41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions 3.x/zh_CN/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,14 @@
'Miscellaneous'),
]

copybutton_image_svg = """
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-clipboard" width="44" height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="#000000" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M9 5h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2h-2" />
<rect x="9" y="3" width="6" height="4" rx="2" />
</svg>
"""

# Documents to append as an appendix to all manuals.
#texinfo_appendices = []

Expand Down

0 comments on commit 4626d41

Please sign in to comment.