mxcube / mxcubecore

Backend used by MXCuBE
http://mxcube.github.io/mxcube/
GNU Lesser General Public License v3.0
11 stars 51 forks source link

Fix ReadTheDocs configuration #850

Closed fabcor-maxiv closed 5 months ago

fabcor-maxiv commented 5 months ago

Use the --force flag of mamba env create in case environment exists.

Skip poetry run when running sphinx-build since Poetry installs in the conda environment directly.

Remove the workaround for the unwarranted error about "missing conda.environment" configuration setting, because it has been fixed already. See:

fabcor-maxiv commented 5 months ago

For some reason that I can not pinpoint yet, the ReadTheDocs builds complain that the conda environment already exists, like in this one for example: https://readthedocs.org/projects/mxcubecore/builds/23347508/

I hope using the --force flag will smooth things out.

fabcor-maxiv commented 5 months ago

I will probably need to do the same for mxcubeweb.

fabcor-maxiv commented 5 months ago

In this case I will merge myself before external review, because: