optimagic-dev/optimagic

Add copy buttons to documentation

amageh opened this issue · 2 comments

What would you like to enhance and why?

I think it would be nice to add copy buttons like this to the documentation so it is easier to copy code snippets etc.

I would add them to:

Anyone feel free to add points in the documentation where this makes sense, I will open a PR to implement it.

Thanks, Annica! This is a great idea.

For installation we should add a copy button once at the main installation instruction but then also for each optimizer that requires an optional dependency.

Additional places:

  • The command to start the dashboard
  • Self contained examples on how to use constraints that can then be adjusted by users

Outdated.