Skip to content

Commit

Permalink
fixed documentation build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
IvoVellekoop committed Oct 11, 2024
1 parent af0903c commit 67793ef
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions docs/source/acknowledgements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ Acknowledgements

We would like to thank Gerwin Osnabrugge, Bahareh Mastiani, Giulia Sereni, Siebe Meijer, Gijs Hannink, Merle van Gorsel, Michele Gintoli, Karina van Beek, Abhilash Thendiyammal, Lyuba Amitonova, and Tzu-Lun Wang for their contributions to earlier revisions of our wavefront shaping code. This work was supported by the European Research Council under the European Union's Horizon 2020 Programme / ERC Grant Agreement n° [678919], and the Dutch Research Council (NWO) through Vidi grant number 14879.

Conflict of interest statement
------------------------------------------------
The authors declare no conflict of interest.
.. only:: latex

Conflict of interest statement
------------------------------------------------
The authors declare no conflict of interest.

.. bibliography::
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def setup(app):


def source_read(app, docname, source):
# put the acknowledgements at the end of the introduction or at the end of the conclusion,
# depending on the builder
if docname == "readme" or docname == "conclusion":
if (app.builder.name == "latex") == (docname == "conclusion"):
source[0] = source[0].replace("%endmatter%", ".. include:: acknowledgements.rst")
Expand Down
2 changes: 1 addition & 1 deletion docs/source/core.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. _key_concepts:
.. _section-key_concepts:

Key concepts
==================================================
Expand Down
2 changes: 1 addition & 1 deletion docs/source/readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ OpenWFS is a Python package that is primarily designed for performing and for si

.. only:: latex

Here, we first show how to get started using OpenWFS for simulating and controlling wavefront shaping experiments. An in-depth discussion of the core design of OpenWFS is given in :numref:`Key concepts`. Key to any wavefront shaping experiment is the spatial light modulator. The support for advanced options like texture mapping and the use of a software lookup table are explained in :numref:`section-slms`. The tools for realistically simulating experiments, automatic troubleshooting of experiments, and Micro-Manager integration are discussed in :numref:`section-simulations`, :numref:`section-troubleshooting`, and :numref:`section-micromanager`, respectively. Finally, in :numref:`section-development`, we show how to write custom hardware control modules in order to extend the functionality of OpenWFS.
Here, we first show how to get started using OpenWFS for simulating and controlling wavefront shaping experiments. An in-depth discussion of the core design of OpenWFS is given in :numref:`section-key_concepts`. Key to any wavefront shaping experiment is the spatial light modulator. The support for advanced options like texture mapping and the use of a software lookup table are explained in :numref:`section-slms`. The tools for realistically simulating experiments, automatic troubleshooting of experiments, and Micro-Manager integration are discussed in :numref:`section-simulations`, :numref:`section-troubleshooting`, and :numref:`section-micromanager`, respectively. Finally, in :numref:`section-development`, we show how to write custom hardware control modules in order to extend the functionality of OpenWFS.

Note that not all functionality of the package is covered in this document. We refer to the API documentation :cite:`openwfsdocumentation` for a complete overview of most recent version of the package.

Expand Down

0 comments on commit 67793ef

Please sign in to comment.