From 1a84611d8cf2a3af4d829c740c865b1ec43884d8 Mon Sep 17 00:00:00 2001 From: shudson Date: Fri, 24 Oct 2025 14:53:15 -0500 Subject: [PATCH 1/4] Latex cannot build with url logos --- doc/source/index.rst | 67 +++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 29 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 6beee6b8..26794c93 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -66,45 +66,54 @@ built on top of To the reference guide -Contributing institutions -~~~~~~~~~~~~~~~~~~~~~~~~~ +.. only:: html -.. rst-class:: text-center + Contributing institutions + ~~~~~~~~~~~~~~~~~~~~~~~~~ - |pic1| |pic1b| |nbsp| |nbsp| |nbsp| |pic2| |pic2b| |nbsp| |nbsp| |nbsp| |pic3| |pic3b| + .. rst-class:: text-center + + .. |nbsp| unicode:: U+00A0 .. NO-BREAK SPACE + + .. |pic1| image:: _static/Desy_logo_3c_web.svg + :height: 40px + :target: https://www.desy.de/ + :class: only-light + .. |pic1b| image:: _static/DESY_logo_white_web.png + :height: 40px + :target: https://www.desy.de/ + :class: only-dark -.. |nbsp| unicode:: U+00A0 .. NO-BREAK SPACE + .. |pic2| image:: https://github.com/optimas-org/optimas/assets/20479420/203e3eb8-1bd2-49a3-a22f-139409919558 + :height: 50px + :target: https://www.lbl.gov/ + :class: only-light -.. |pic1| image:: https://upload.wikimedia.org/wikipedia/commons/5/55/Desy_logo_3c_web.svg - :height: 40px - :target: https://www.desy.de/ - :class: only-light + .. |pic2b| image:: https://github.com/optimas-org/optimas/assets/20479420/e4a3b2d2-5178-48ca-9d71-0f13f90e763c + :height: 50px + :target: https://www.lbl.gov/ + :class: only-dark -.. |pic1b| image:: https://images.squarespace-cdn.com/content/v1/56ebbc46746fb9377676109c/071bcfa5-f535-4d69-a1ca-a8212c85ac91/DESY_logo_white_web.png - :height: 40px - :target: https://www.desy.de/ - :class: only-dark + .. |pic3| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_cmyk_black.png?itok=-df89dHw + :height: 30px + :target: https://www.anl.gov/ + :class: only-light + + .. |pic3b| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_wireframe_white_vector.png?itok=mXUvxazY + :height: 30px + :target: https://www.anl.gov/ + :class: only-dark + + |pic1| |pic1b| |nbsp| |nbsp| |nbsp| |pic2| |pic2b| |nbsp| |nbsp| |nbsp| |pic3| |pic3b| -.. |pic2| image:: https://github.com/optimas-org/optimas/assets/20479420/203e3eb8-1bd2-49a3-a22f-139409919558 - :height: 50px - :target: https://www.lbl.gov/ - :class: only-light +.. only:: latex -.. |pic2b| image:: https://github.com/optimas-org/optimas/assets/20479420/e4a3b2d2-5178-48ca-9d71-0f13f90e763c - :height: 50px - :target: https://www.lbl.gov/ - :class: only-dark + Contributing institutions + ~~~~~~~~~~~~~~~~~~~~~~~~~ -.. |pic3| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_cmyk_black.png?itok=-df89dHw - :height: 30px - :target: https://www.anl.gov/ - :class: only-light + DESY · Lawrence Berkeley National Laboratory · Argonne National Laboratory -.. |pic3b| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_wireframe_white_vector.png?itok=mXUvxazY - :height: 30px - :target: https://www.anl.gov/ - :class: only-dark .. toctree:: From 67dcaf5b8a91162d8c32100cec4f25e065f076de Mon Sep 17 00:00:00 2001 From: shudson Date: Fri, 24 Oct 2025 14:56:02 -0500 Subject: [PATCH 2/4] Use latex compatible symbols --- doc/source/user_guide/dependencies.rst | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/source/user_guide/dependencies.rst b/doc/source/user_guide/dependencies.rst index 636f75be..cf71ed89 100644 --- a/doc/source/user_guide/dependencies.rst +++ b/doc/source/user_guide/dependencies.rst @@ -24,23 +24,23 @@ See table below for a summary. - ``pip install optimas`` - ``pip install 'optimas[all]'`` * - :class:`~optimas.generators.LineSamplingGenerator` - - ✅ - - ✅ + - :math:`\checkmark` + - :math:`\checkmark` * - :class:`~optimas.generators.GridSamplingGenerator` - - ✅ - - ✅ + - :math:`\checkmark` + - :math:`\checkmark` * - :class:`~optimas.generators.RandomSamplingGenerator` - - ✅ - - ✅ + - :math:`\checkmark` + - :math:`\checkmark` * - :class:`~optimas.generators.AxSingleFidelityGenerator` - - ❌ - - ✅ + - :math:`\times` + - :math:`\checkmark` * - :class:`~optimas.generators.AxMultiFidelityGenerator` - - ❌ - - ✅ + - :math:`\times` + - :math:`\checkmark` * - :class:`~optimas.generators.AxMultitaskGenerator` - - ❌ - - ✅ + - :math:`\times` + - :math:`\checkmark` * - :class:`~optimas.generators.AxClientGenerator` - - ❌ - - ✅ + - :math:`\times` + - :math:`\checkmark` From 8dc6596f0f1db03f611138bebe6cb72c0df407ba Mon Sep 17 00:00:00 2001 From: shudson Date: Fri, 24 Oct 2025 15:17:36 -0500 Subject: [PATCH 3/4] Fix links --- doc/source/index.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 26794c93..60a983e4 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -73,14 +73,16 @@ built on top of .. rst-class:: text-center + |pic1| |pic1b| |nbsp| |nbsp| |nbsp| |pic2| |pic2b| |nbsp| |nbsp| |nbsp| |pic3| |pic3b| + .. |nbsp| unicode:: U+00A0 .. NO-BREAK SPACE - .. |pic1| image:: _static/Desy_logo_3c_web.svg + .. |pic1| image:: https://upload.wikimedia.org/wikipedia/commons/5/55/Desy_logo_3c_web.svg :height: 40px :target: https://www.desy.de/ :class: only-light - .. |pic1b| image:: _static/DESY_logo_white_web.png + .. |pic1b| image:: https://images.squarespace-cdn.com/content/v1/56ebbc46746fb9377676109c/071bcfa5-f535-4d69-a1ca-a8212c85ac91/DESY_logo_white_web.png :height: 40px :target: https://www.desy.de/ :class: only-dark @@ -105,8 +107,6 @@ built on top of :target: https://www.anl.gov/ :class: only-dark - |pic1| |pic1b| |nbsp| |nbsp| |nbsp| |pic2| |pic2b| |nbsp| |nbsp| |nbsp| |pic3| |pic3b| - .. only:: latex Contributing institutions @@ -115,7 +115,6 @@ built on top of DESY · Lawrence Berkeley National Laboratory · Argonne National Laboratory - .. toctree:: :hidden: :maxdepth: 4 From 5e7a7bae41d44b0321af26b17e21d6fc8b2266c7 Mon Sep 17 00:00:00 2001 From: shudson Date: Fri, 24 Oct 2025 16:29:12 -0500 Subject: [PATCH 4/4] Revert and access image as png asset --- doc/source/index.rst | 66 +++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 37 deletions(-) diff --git a/doc/source/index.rst b/doc/source/index.rst index 60a983e4..7459e84d 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -66,53 +66,45 @@ built on top of To the reference guide -.. only:: html +Contributing institutions +~~~~~~~~~~~~~~~~~~~~~~~~~ - Contributing institutions - ~~~~~~~~~~~~~~~~~~~~~~~~~ +.. rst-class:: text-center - .. rst-class:: text-center + |pic1| |pic1b| |nbsp| |nbsp| |nbsp| |pic2| |pic2b| |nbsp| |nbsp| |nbsp| |pic3| |pic3b| - |pic1| |pic1b| |nbsp| |nbsp| |nbsp| |pic2| |pic2b| |nbsp| |nbsp| |nbsp| |pic3| |pic3b| - .. |nbsp| unicode:: U+00A0 .. NO-BREAK SPACE +.. |nbsp| unicode:: U+00A0 .. NO-BREAK SPACE - .. |pic1| image:: https://upload.wikimedia.org/wikipedia/commons/5/55/Desy_logo_3c_web.svg - :height: 40px - :target: https://www.desy.de/ - :class: only-light +.. |pic1| image:: https://github.com/user-attachments/assets/13ff9afa-abcf-4602-bb59-5de5841bcb0e + :height: 40px + :target: https://www.desy.de/ + :class: only-light - .. |pic1b| image:: https://images.squarespace-cdn.com/content/v1/56ebbc46746fb9377676109c/071bcfa5-f535-4d69-a1ca-a8212c85ac91/DESY_logo_white_web.png - :height: 40px - :target: https://www.desy.de/ - :class: only-dark +.. |pic1b| image:: https://images.squarespace-cdn.com/content/v1/56ebbc46746fb9377676109c/071bcfa5-f535-4d69-a1ca-a8212c85ac91/DESY_logo_white_web.png + :height: 40px + :target: https://www.desy.de/ + :class: only-dark - .. |pic2| image:: https://github.com/optimas-org/optimas/assets/20479420/203e3eb8-1bd2-49a3-a22f-139409919558 - :height: 50px - :target: https://www.lbl.gov/ - :class: only-light +.. |pic2| image:: https://github.com/optimas-org/optimas/assets/20479420/203e3eb8-1bd2-49a3-a22f-139409919558 + :height: 50px + :target: https://www.lbl.gov/ + :class: only-light - .. |pic2b| image:: https://github.com/optimas-org/optimas/assets/20479420/e4a3b2d2-5178-48ca-9d71-0f13f90e763c - :height: 50px - :target: https://www.lbl.gov/ - :class: only-dark +.. |pic2b| image:: https://github.com/optimas-org/optimas/assets/20479420/e4a3b2d2-5178-48ca-9d71-0f13f90e763c + :height: 50px + :target: https://www.lbl.gov/ + :class: only-dark - .. |pic3| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_cmyk_black.png?itok=-df89dHw - :height: 30px - :target: https://www.anl.gov/ - :class: only-light +.. |pic3| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_cmyk_black.png?itok=-df89dHw + :height: 30px + :target: https://www.anl.gov/ + :class: only-light - .. |pic3b| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_wireframe_white_vector.png?itok=mXUvxazY - :height: 30px - :target: https://www.anl.gov/ - :class: only-dark - -.. only:: latex - - Contributing institutions - ~~~~~~~~~~~~~~~~~~~~~~~~~ - - DESY · Lawrence Berkeley National Laboratory · Argonne National Laboratory +.. |pic3b| image:: https://www.alcf.anl.gov/sites/default/files/styles/large/public/2020-01/Argonne_wireframe_white_vector.png?itok=mXUvxazY + :height: 30px + :target: https://www.anl.gov/ + :class: only-dark .. toctree::