This repository was archived by the owner on Oct 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 169
Documentation for Public Methods #197
Labels
Comments
Merged
bors bot
added a commit
that referenced
this issue
Sep 23, 2020
392: Refresh docs r=koivunej a=koivunej Adds at least top level documentation for many types, hides some unnecessary re-exports, removes warnings from nightly rustdoc on bad links, and so on. Cc: #197 (this leaves us with 185 errors) Co-authored-by: Joonas Koivunen <joonas@equilibrium.co> Co-authored-by: Joonas Koivunen <joonas.koivunen@gmail.com>
After #392 we are now about 60% documented according to docs.rs. If you are interested in helping out, probably easiest way to find anything to work on is to either:
|
Updated the issue description with the nightly/docs.rs hints, lint recommendations. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Rust documentation can be improved overally, but mainly in two places:
Ipfs
struct, i.e. the main functions that a Rust programmer will use to interact with an IPFS nodeTo find the remaining places, uncomment src/lib.rs
#![warn(missing_docs)]
.When developing docs, the docs are catered towards https://docs.rs/ipfs distribution. This basically means generating the docs with the latest nightly (or what docs.rs is using), then running
cargo +nightly doc --workspace --no-deps --open
. We are still a bit undecided of the#![allow(private_intra_doc_links)]
but possibly leaning towards allowing it when it becomes possible with stable rust. So don't worry aboutcargo +nightly doc
warning aboutprivate_intra_doc_links
.The text was updated successfully, but these errors were encountered: