diff options
| author | Jeff Petkau <jpetkau@users.noreply.github.com> | 2021-07-26 09:33:48 -0700 |
|---|---|---|
| committer | Sébastien Crozet <sebastien@crozet.re> | 2021-07-27 10:46:29 +0200 |
| commit | 5eb5398a7e39d3cfdf0f0266db90bafdc4308936 (patch) | |
| tree | 76568a3f7c1b68cca85c4ab9d553a486c5ba4c72 /src/lib.rs | |
| parent | 92b858076182f156774916aabbf52647eebfb155 (diff) | |
| download | rapier-5eb5398a7e39d3cfdf0f0266db90bafdc4308936.tar.gz rapier-5eb5398a7e39d3cfdf0f0266db90bafdc4308936.tar.bz2 rapier-5eb5398a7e39d3cfdf0f0266db90bafdc4308936.zip | |
Add a pointer from `docs.rs` docs to rapier docs
Added a pointer from the module-level cargo docs to the actual docs on `rapier.rs` so other people won't be lost like I was.
(Searches for documentation often end up on `docs.rs`, which is not where most of Rapier's docs live. The README has a pointer to the docs, but it isn't as visible once you're on `docs.rs`.)
This is the same change as pr89 for `bevy_rapier`. This one is less important less likely to overlook `rapier.rs`, but I think it doesn't hurt.
Ideally you'd be able to just include the `README.md` into the lib documentation, but I think that's still a nightly-only feature in cargo doc.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,6 +7,8 @@ //! - The ability to snapshot the state of the physics engine, and restore it later. //! - The ability to run a perfectly deterministic simulation on different machine, as long as they //! are compliant with the IEEE 754-2008 floating point standard. +//! +//! User documentation for Rapier is on [the official Rapier site](https://rapier.rs/docs/). #![deny(bare_trait_objects)] #![warn(missing_docs)] |
