From 646cf3a86ba9412f2bd253bb47a385b3c20dbb9c Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Sat, 9 May 2026 07:28:27 -0500 Subject: [PATCH 1/4] doc: include conda install command in installation guide Added conda installation instructions for jax-galsim. --- docs/installation.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/installation.rst b/docs/installation.rst index 98fd95c1..5853ab8f 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -8,6 +8,10 @@ Quick Install pip install jax-galsim +.. code-block:: bash + + conda install -c conda-forge jax-galsim + This installs JAX-GalSim and its dependencies (JAX, NumPy, GalSim, Astropy). GPU Support From 3a1ec7be2a916d123ff569874ce21c1151a9c31d Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Sat, 9 May 2026 07:29:50 -0500 Subject: [PATCH 2/4] feat: add copy button to docs Added 'sphinx-copybutton' to the documentation dependencies. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1a3315f8..2ad2d9aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ dependencies = ["numpy >=1.18.0", "galsim >=2.7.0", "jax >=0.6.0", "astropy > [project.optional-dependencies] dev = ["pytest", "pytest-codspeed"] -docs = ["sphinx>=7.0", "furo>=2024.1.29", "sphinx-design>=0.5"] +docs = ["sphinx>=7.0", "furo>=2024.1.29", "sphinx-design>=0.5", "sphinx-copybutton"] [project.urls] home = "https://github.com/GalSim-developers/JAX-GalSim" From fda3af64bec2d98ac4725b1936ade7244a4dff49 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Sat, 9 May 2026 07:30:32 -0500 Subject: [PATCH 3/4] feat: add sphinx_copybutton extension to conf.py --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/conf.py b/docs/conf.py index 8f7ee2e8..1633e60e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -50,6 +50,7 @@ "sphinx.ext.viewcode", # "View source" links "sphinx.ext.intersphinx", # cross-links to external docs "sphinx_design", # dropdown / collapsible directives + "sphinx_copybutton", # copy button for code blocks ] templates_path = ["_templates"] From 1f47c3c7891b76c4a63228a967e23974dde720a4 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Sat, 9 May 2026 07:37:14 -0500 Subject: [PATCH 4/4] Include conda install command in documentation Add conda installation instructions for jax-galsim. --- docs/index.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 0a458d98..a8d83d48 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -66,6 +66,10 @@ Quick Install pip install jax-galsim +.. code-block:: bash + + conda install -c conda-forge jax-galsim + See :doc:`installation` for GPU support and development setup. Minimal Example