jupyter-book icon indicating copy to clipboard operation
jupyter-book copied to clipboard

Removing download button

Open hyunyulhenry opened this issue 2 years ago • 1 comments

Context

Is there a setting to remove the download button (for .ipynb, .md, .pdf) from the html output?

Proposal

No response

Tasks and updates

No response

hyunyulhenry avatar Aug 04 '22 06:08 hyunyulhenry

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Aug 04 '22 06:08 welcome[bot]

+1 for this feature

olbapjose avatar Oct 03 '22 22:10 olbapjose

+1

if its possible to add this as part of the _config.yml file that would be great. like in my case i wish to make the repo private, publish a .ipynb as an output only format hiding the code and happy to allow .pdf downloads. in the same book, there might be certain .ipynb that i do not mind being downloaded and showing code etc.

riyashdeenr avatar Dec 05 '22 06:12 riyashdeenr

sphinx: config: html_theme_options: use_download_button: false

@hyunyulhenry @olbapjose Go to _config.yml file add the lines above. read these 2 pages. jupyterbook advanced sphinx usage and sphinx theme download button

riyashdeenr avatar Dec 06 '22 21:12 riyashdeenr