IronCoreLabs / ironoxide

Rust SDK for IronCore Privacy Platform
https://docs.rs/ironoxide
GNU Affero General Public License v3.0
10 stars 3 forks source link

Update DocumentOps docs #139

Closed giarc3 closed 4 years ago

giarc3 commented 4 years ago

Trying to make ironoxide more easily understood from the docs alone. This PR focuses on the document functions and things related to them.

I added examples for every DocumentOps function, which are compiled (but not run, because of async issues) when running cargo test, helping prove that they don't become out-of-date.

I need feedback on how the landing page of the docs site should flow. My current thought is that each section (Users, Groups, Documents), as well as a higher level (like Initialization) will provide a bare-bones example of the most important functions to get you up and running. A reader could start at the top and see how to initialize, create a user, create a group, and encrypt/decrypt a document right from that page. There will also be links to important functions for each section.