0

In the top right of each documentation page, I would like an option for users to download the current file that they are currently viewing.

Are there any extensions or conf options that achieve this?


EDIT: as seen in JupyterBook

enter image description here

Kermit
  • 4,922
  • 4
  • 42
  • 74
  • 1
    In every web browser, File > Save Page As..., or something similar. – Steve Piercy Nov 30 '20 at 07:58
  • @StevePiercy that pulls down all of the html like the sidebar. I just want the markdown page to download – Kermit Nov 30 '20 at 13:23
  • 1
    Right-click on "View page source" and choose "Save Link As..."? – mzjn Nov 30 '20 at 17:34
  • @mzjn yes, that works. just looking to get feature parity with jupyterbook as seen in edit to op. – Kermit Nov 30 '20 at 17:45
  • @HashRocketSyntax feature parity in this case is between *"Jupyter Notebook"* and whatever browser you are using. The way to implement this would be to include a link in the header and generate both single file HTML's and PDF making them available at the link. So it's possible out-of-the-box. – bad_coder Dec 01 '20 at 12:29

0 Answers0