Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to display conda environments and provide environment.yml #517

Open
mmcky opened this issue Apr 29, 2020 · 5 comments
Open

Add support to display conda environments and provide environment.yml #517

mmcky opened this issue Apr 29, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@mmcky
Copy link
Contributor

mmcky commented Apr 29, 2020

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.

@choldgraf
Copy link
Collaborator

choldgraf commented Apr 29, 2020

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

@choldgraf
Copy link
Collaborator

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

@jmason86
Copy link
Contributor

jmason86 commented May 12, 2020

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?

@choldgraf
Copy link
Collaborator

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

@jmason86
Copy link
Contributor

On it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants