MREYE-LUMC / ZOSPy

Wrapper around the Zemax OpticStudio API. Provides a more pythonic and intuitive way to interact with the ZOS-API through python using a .NET connection.
https://zospy.readthedocs.io
MIT License
43 stars 11 forks source link

Add a documentation website #37

Closed crnh closed 1 year ago

crnh commented 1 year ago

Proposed change

This PR adds documentation (to be hosted on readthedocs) as requested in #35. In its current state, the documentation imports the README and example notebooks. Additionally, compatibility information and the docstrings for the public parts of the API are included. The documentation is generated using Sphinx, and mainly written in markdown using MyST

In the future, we want to split the information in the README over different pages (e.g. "getting started" and multiple pages demonstrating the functionalities of ZOSPy). Furthermore, we would like to add several tutorials explaining how to add new analyses etc.

Other changes that are part of this PR:

Type of change

Additional information

Related issues

Closes #35

Checklist

If you contributed an analysis:

If you contributed an example:

⚠️ ReadTheDocs is currently building the documentation from this branch. Please do not merge it before ReadTheDocs has been instructed to build the documentation from main.

LucVV commented 1 year ago

If we change it to built the docs from main, merging should be fine!