Fix typo in docs
Add library querying example and improve section naming macro