Commit Graph

16 Commits

Author SHA1 Message Date
ApsisRS contributors f2810a5c52 chore: resolve the pedantic clippy lints across the workspace 2026-10-02 13:06:16 +08:00
ApsisRS contributors f48c4d9bd7 docs: render formulas as math with a vendored MathJax
The rustdoc in this toolchain does not parse math (its pulldown-cmark options
omit ENABLE_MATH, `--mathjax` and `html_mathjax` are gone, and a `$$...$$`
paragraph is emitted verbatim). Display formulas were therefore written as
```text code blocks, which the request asked to replace with math syntax.

MathJax 3.2.2 (tex-svg-full, Apache-2.0) is vendored under
docs/vendor/mathjax so the rendered pages need no network access.
docs/mathjax.html loads it from the documentation root computed from rustdoc's
own static file prefix; crates/apsis-rs/build.rs copies it into that root, and
scripts/build-docs.sh makes the copy reliable. Each formula is wrapped in a
raw HTML `<div>` so the markdown layer leaves the LaTeX untouched, because
markdown would otherwise consume the backslashes in `\\\\`, `\,`, `\!` and
`\_`.

All 54 formula blocks (27 formulas, English and Chinese) become `$$...$$`;
the 22 command, 2 diagram and 2 scenario-format blocks stay as ```text.
2026-10-02 12:28:20 +08:00
ApsisRS contributors 655e214a5e docs: repair partial translations, sentence splits and duplicated blocks
The bilingual sweep had left some blocks with only their last paragraph
translated, a few with the Chinese inserted inside an English sentence,
and some with a repeated paragraph from a re-applied table. A rewrite of
the coverage checks found them; this fixes every block and restores the
comment separators that a cleanup pass had emptied.
2026-10-02 02:18:15 +08:00
ApsisRS contributors 2fe3fad27a docs: bilingual comments for the rf tests 2026-10-02 01:57:31 +08:00
ApsisRS contributors 800a1b02f8 docs: bilingual module docs for the rf layer 2026-10-02 01:48:55 +08:00
ApsisRS contributors 82a5a418a8 docs: bilingual comments for the validation tools
Also makes the table generators emit the bilingual module docs, so a
regenerated table matches the committed one.
2026-10-02 01:44:36 +08:00
ApsisRS contributors cfe8d72bb2 docs: bilingual comments for the atmosphere attenuation models
The P.838 rain curves, the P.676 gaseous lines, the P.839 isotherm table
and the P.835 layered refraction.
2026-10-02 01:28:58 +08:00
ApsisRS contributors e41e2c77bb docs: extend the bilingual sweep into routing, topology, access and rf
A translation table for the sentences that recur across the error types
and the simple accessors let the same wording be applied everywhere at
once, which both keeps the Chinese consistent and covers a hundred and
twenty-nine sites in a single pass. Routing, topology, access and the radio
frequency crates are now part of the sweep.
2026-10-02 01:10:40 +08:00
ApsisRS contributors 4d45d4cf41 workspace: remove dependencies that are declared but never used
Thirty four crates listed apsis-core or apsis-math without referencing it,
and apsis-kepler listed apsis-time and apsis-tle as well. Each was verified
removable by compiling with it taken out. An unused dependency still costs
build time and makes the dependency graph and the layer check report
relations that do not exist. The layer check now reports 104 edges, down
from 141.
2026-09-26 23:36:38 +08:00
ApsisRS contributors be00a4f088 rf: add the exact P.676 slant path with the P.835 atmosphere 2026-09-26 15:43:12 +08:00
ApsisRS contributors 1ff6c261f1 rf: derive the rain height from P.839 in the path method 2026-09-26 15:35:20 +08:00
ApsisRS contributors 84d1c744f1 rf: add the ITU-R P.839-4 rain height model 2026-09-26 15:34:34 +08:00
ApsisRS contributors 64c78c9dac rf: correct the P.618 elevation units and the pattern citation 2026-09-26 15:18:10 +08:00
ApsisRS contributors 2f342db877 rf: replace gaseous and rain models with ITU-R P.676-12 and P.838-3 2026-09-26 15:13:48 +08:00
ApsisRS contributors 6629969150 rf: add atmospheric gaseous and rain attenuation models 2026-09-26 14:42:47 +08:00
ApsisRS contributors d3afe86dfc workspace: initialize workspace with all layer crates 2026-09-26 12:53:13 +08:00