irena-flextool / flextool

IRENA FlexTool is an energy and power systems model for understanding the role of variable power generation in future energy systems.
https://www.irena.org/energytransition/Energy-System-Models-and-Data/IRENA-FlexTool
Other
21 stars 5 forks source link

Copy button in FlexTool Documentation #137

Closed e-zaline closed 6 months ago

e-zaline commented 7 months ago

In the Installation section of the documentation it would be great to have a copy button, like we had in GitHub. I have installed FlexTool dozens of times, and this would definitely save time.

image

Apparently it's possible to have this button with this extension: https://sphinx-copybutton.readthedocs.io/en/latest/

jkiviluo commented 6 months ago

Would be very nice. It's bit of work though. We're currently using mkdocs default to make the docs and it appears there is no support for a copy button. We would need to switch to another version of mk-docs, e.g. mkdocs-material.

jkiviluo commented 6 months ago

Has been added (and changed to mkdocs-material, so looks bit different in other ways too).