Commit 5a29a32
AstroAir
feat(demo,docs): expand end-to-end examples and align docs with current APIs
Implement a full demo/documentation refresh focused on core runtime coverage and consistency with src/index.ts exports.
Demo updates (offline-first):
- Add demo:all script to run demo, demo:xisf, demo:ser, demo:hips sequentially.
- Rework demo/index.ts into an overview flow covering FITS, XISF, SER, HiPS, and XISF<->HiPS bridge checks.
- Expand demo/ser-node.ts to cover parseSERBuffer/parseSERBlob, SER.fromBlob/fromNodeBuffer, frame readers, iterator, endiannessPolicy comparisons, and conversion matrix including imageIndex selection.
- Expand demo/xisf-node.ts to cover XISF.fromBlob/fromNodeBuffer, signature policy call paths, distributed IO, direct writer API, and SER/HiPS bridge flows.
- Expand demo/hips-node.ts to cover HiPS readTile/readAllsky/tileFormats, HiPSProperties parse/fromObject/validate/withCompatibilityFields/toString, and XISF bridge outputs.
- Enhance web demos: XISF advanced conversion controls (signature policy + writer options), HiPS in-browser XISF bridge action, and FITS web page guidance text.
Documentation updates:
- Refresh README quick start/conversion sections and demo command docs to match current APIs and output conventions (demo/.out/*).
- Rewrite outdated guide pages (installation, getting-started, project-structure, testing) to remove template remnants and reflect current repository layout.
- Update SER/HiPS guides with parser/conversion strategy details and offline-first bridge examples.
- Fix VitePress config base path for repository docs deployment and include a new documentation standards page in sidebar.
- Correct API reference details (Node buffer-like signatures, BitPix/DataUnitType unions, utility return typing).
- Update standards matrix file references and compression status notes to match current implementation/tests.
Validation performed:
- pnpm demo
- pnpm demo:ser
- pnpm demo:xisf
- pnpm demo:hips
- pnpm demo:all
- pnpm typecheck
- pnpm test -- -t "SER conversions|XISF/FITS conversion|hips-convert"
- pnpm docs:build1 parent 57f13d6 commit 5a29a32
21 files changed
Lines changed: 1341 additions & 671 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| 54 | + | |
50 | 55 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | | - | |
| 66 | + | |
64 | 67 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
82 | 78 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 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 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | | - | |
108 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
359 | 362 | | |
360 | 363 | | |
361 | 364 | | |
| 365 | + | |
362 | 366 | | |
363 | 367 | | |
364 | 368 | | |
365 | 369 | | |
366 | 370 | | |
367 | 371 | | |
368 | 372 | | |
| 373 | + | |
| 374 | + | |
369 | 375 | | |
370 | 376 | | |
371 | 377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
49 | 54 | | |
50 | 55 | | |
51 | 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 | + | |
52 | 88 | | |
53 | 89 | | |
54 | 90 | | |
| |||
61 | 97 | | |
62 | 98 | | |
63 | 99 | | |
64 | | - | |
65 | | - | |
66 | | - | |
| 100 | + | |
67 | 101 | | |
68 | 102 | | |
69 | 103 | | |
70 | 104 | | |
71 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
72 | 119 | | |
73 | 120 | | |
74 | 121 | | |
| |||
80 | 127 | | |
81 | 128 | | |
82 | 129 | | |
83 | | - | |
| 130 | + | |
84 | 131 | | |
85 | 132 | | |
86 | 133 | | |
| |||
93 | 140 | | |
94 | 141 | | |
95 | 142 | | |
96 | | - | |
97 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
98 | 147 | | |
99 | | - | |
| 148 | + | |
100 | 149 | | |
101 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
102 | 154 | | |
103 | 155 | | |
104 | 156 | | |
105 | 157 | | |
106 | | - | |
| 158 | + | |
107 | 159 | | |
108 | 160 | | |
109 | 161 | | |
| |||
127 | 179 | | |
128 | 180 | | |
129 | 181 | | |
130 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
131 | 187 | | |
132 | | - | |
| 188 | + | |
133 | 189 | | |
134 | 190 | | |
135 | | - | |
136 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
137 | 266 | | |
138 | 267 | | |
139 | 268 | | |
| |||
0 commit comments