Commit 44aa3f6
Sphinx documentation (#226)
* chore: add docs optional-dependency group to pyproject.toml
Add sphinx, furo, and sphinx-design as an optional 'docs' extra so the
documentation dependencies are declared alongside the project:
uv sync --extra docs
Co-authored-by: GitHub Copilot <copilot@github.com>
* docs: add Sphinx configuration, custom extension, and static assets
- conf.py: configure furo theme, autodoc, napoleon (Google style), and
sphinx-design; extension load order ensures galsim_docstring runs
before napoleon so the injected Parameters block is handled correctly
- Makefile: 'make html' and 'make clean' targets using 'uv run'
- requirements.txt: standalone pip-installable docs deps
- _ext/galsim_docstring.py: autodoc-process-docstring hook that splits
docstrings produced by the @implements decorator. It:
* extracts the GalSim Parameters block and re-injects it in Google
style so napoleon renders it as an explicit parameter table
* wraps the remaining original GalSim narrative in a sphinx-design
dropdown so it is collapsible in the HTML output
- _static/custom.css: visual tweaks for the dropdown and parameter lists
Co-authored-by: GitHub Copilot <copilot@github.com>
* docs: add index page and API reference RST sources
- index.rst: landing page with a grid linking to the API reference and
the upstream GalSim docs
- api/index.rst: top-level API table of contents
- api/gsobjects.rst: GSObject base class and all analytic profiles
(Gaussian, Moffat, Exponential, Spergel, Box, Pixel, DeltaFunction,
Sum, Convolution, Deconvolution, Transform, Shear)
- api/image.rst: Image variants, Bounds, and Position classes
- api/noise.rst: random deviates, noise models, PhotonArray, Sensor
- api/wcs.rst: WCS classes, CelestialCoord, Angle, FitsHeader
- api/interpolation.rst: interpolant classes and InterpolatedImage
- api/core.rst: internal utility modules (utils, math, integrate,
interpolate, draw)
Co-authored-by: GitHub Copilot <copilot@github.com>
* style: format pyproject toml
* docs: fix docstrings so they follow rst syntax and galsim style
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: GitHub Copilot <copilot@github.com>
* docs: add sharp bits block to emphasize classes that have a LAX description which is usually very important
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: GitHub Copilot <copilot@github.com>
* ci: add make docs workflow
Co-authored-by: GitHub Copilot <copilot@github.com>
* docs: interpolated image before interpolatns
* docs: small clarification
* docs: not needed
* style: formatting
* docs: add user-facing guide pages (installation, quickstart, notable-differences, api-coverage)
- installation.rst: pip/GPU/dev install instructions, test and lint commands
- quickstart.rst: complete simulation walkthrough with jit, grad, and vmap examples
- notable-differences.rst: covers immutability, array views, PRNG, PyTrees,
tracing restrictions, profile limitations, numerical precision, and @implements
- api-coverage.rst: current 22.5% coverage summary with collapsible full API list
--trailer "Co-authored-by: GitHub Copilot <copilot@github.com>"
* docs: expand index page and reorganise core API page
- index.rst: merged content from mkdown/index.md — added CI/Ruff/pre-commit
badges, early-dev warning admonition, Why JAX-GalSim feature grid, quick
install block, minimal JIT+grad example, and expanded navigation card grid;
toctree now includes the four new guide pages
- core.rst: split into labelled sections (Math, Drawing, Utilities) and moved
core.utils to the bottom so implementation details appear after higher-level
modules
--trailer "Co-authored-by: GitHub Copilot <copilot@github.com>"
* docs: rst fix indentation
* docs: fix rst indentation
* docs: add Read the Docs configuration file
Co-authored-by: GitHub Copilot <copilot@github.com>
* Trigger RTD Build
* docs: fix some rst synxtax errors (single ticks, bullet indentation)
Co-authored-by: GitHub Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
* docs: github action not needed since we are using RTD now
* docs: use sharp bits instead of notable-difefrences
* docs: use sharp bits
* docs: note about core not intended for public usage
* docs: changes suggested by Matt to align more with GalSim
* docs: add documentation link to readme
Co-authored-by: Copilot <copilot@github.com>
* docs: small correction
* Apply suggestion from @beckermr
* Apply suggestion from @beckermr
* docs: added versioning and API policy
* docs: title underlin too short
* docs: forgot this note
* Apply suggestion from @beckermr
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestion from @beckermr
---------
Co-authored-by: GitHub Copilot <copilot@github.com>
Co-authored-by: Matthew R. Becker <beckermr@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent f04b831 commit 44aa3f6
32 files changed
Lines changed: 1870 additions & 396 deletions
File tree
- docs
- _ext
- _static
- api
- jax_galsim
- core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
44 | 47 | | |
45 | 48 | | |
46 | 49 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 50 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments