N-Wouda / ALNS

Adaptive large neighbourhood search (and more!) in Python.
https://alns.readthedocs.io/en/latest/
MIT License
447 stars 124 forks source link

Improve documentation #105

Closed N-Wouda closed 1 year ago

N-Wouda commented 1 year ago

Into two parts:

examples/
api/

Then we only have a top-level index.rst file, that lists everything in these folders.

N-Wouda commented 1 year ago

Add more math to docs: we have a lot of places where we historically did math as code (e.g., how stuff is updated in SA and RRT). We have docs that support actual math now, so let's use that instead.

N-Wouda commented 1 year ago

We should perhaps have a dedicated installation page, both with "install using pip" and "install from source".

Edit: this should also mention something about running the tests/example notebooks.

N-Wouda commented 1 year ago

The API reference is mostly complete, but it isn't really clear what some (mostly underused) features are supposed to do. E.g. kwargs to iterate(), op_coupling in selection schemes, and the autofit methods. I think we should highlight this more somehow, perhaps by adding a "short tutorial" and an "advanced topics" page.

leonlan commented 1 year ago

The API reference is mostly complete, but it isn't really clear what some (mostly underused) features are supposed to do. E.g. kwargs to iterate(), op_coupling in selection schemes, and the autofit methods. I think we should highlight this more somehow, perhaps by adding a "short tutorial" and an "advanced topics" page.

I think I can include some of the more advanced features in #106.

N-Wouda commented 1 year ago

We're currently hosting our docs on RTD, but I eventually want to move that to a dedicated Github pages location. We then have to build everything in a new workflow, but that's pretty easy to set up.

N-Wouda commented 1 year ago

We should also allow running the notebooks on Google Colab or Binder, directly from the documentation. This will make it much easier for people to start using our code.