BjornFJohansson / pydna

Clone with Python! Data structures for double stranded DNA & simulation of homologous recombination, Gibson assembly, cut & paste cloning.
Other
166 stars 45 forks source link

Deploy docs on release only #305

Closed manulera closed 4 weeks ago

manulera commented 1 month ago

For now, docs get deployed everytime someone pushes to the repository directly. This means that the documentation is not in sync with what the pypi repository contains.

We should deploy to the docs site only when we make a new release, but it would also be good to keep another page with the "development" version docs (pending on what we decide with https://github.com/BjornFJohansson/pydna/issues/302)

Multi-version is supported by sphinx, but I have not checked how to implement that yet.

This is related to #304

manulera commented 1 month ago

For now, I have made it so that the docs are only deployed when pushing / PRing to master. We can see how to do the rest in the future.