Jupyter-book: Add support to display conda environments and provide environment.yml

Created on 29 Apr 2020  路  5Comments  路  Source: executablebooks/jupyter-book

It would be nice to be able to have a page environment.html that publishes the conda versions used to compile a website / book. Perhaps we can write a simple sphinx extension to do this work.

.. conda-environment:: <environment.yml>
   :show-versions:

and myst

```{conda-environment} <environment.yml> :show-versions: ```

This would enable a user to download a support environment.yml file and would build a support page with details of versions of software used with :show-versions option.

enhancement

All 5 comments

I really like this idea! We should do the same for requirements.txt if provided

This would be a nice addition as a separate sphinx package - maybe sphinx-dependencies?

I found this issue when looking to see if it's possible to include the environment.yml as a download for readers right alongside the .ipynb and .pdf under the download mouseover button at the top of notebook pages. Would that be a part of this issue too or should I open a new one with this enhancement request? Or is this possible already?

interesting - I think it could be its own issue as it'd probably be more tightly-scoped than this one.

On it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spring-haru picture spring-haru  路  5Comments

akhmerov picture akhmerov  路  5Comments

Cyb3rWard0g picture Cyb3rWard0g  路  5Comments

utterances-bot picture utterances-bot  路  3Comments

firasm picture firasm  路  5Comments