brightway-lca / brightway-documentation

📚🌿 readthedocs.org Sphinx Documentation for Brightway
https://docs.brightway.dev
BSD 3-Clause "New" or "Revised" License
10 stars 45 forks source link

Evaluate Utility of `sphinx-prompt` #168

Closed michaelweinold closed 1 month ago

michaelweinold commented 1 month ago

...perhaps following up on the conversation here:

After all, it is not clear if this extension is still needed:

michaelweinold commented 1 month ago

We actually don't need sphinx-prompt. Sphinx itself recognizes prompt characters >>> and I have now configured sphinx-copybutton to do the same.

These code cells:

Screenshot 2024-09-18 at 07 55 12

when copied will now yield:

from pandas import DataFrame
df = sp.statistics()
sp.statistics()

@cmutel, please just use >>> instead of >.