I'm trying to retrieve documentation of a slot and can't find how.
For a simple class:
(defclass class1 () ((slot1 :documentation "doc")))
(describe 'class1) is able to get the "doc" string, but (documentation 'class1 t) or (documentation (find-class 'class1) t) or any other argument for document function I tried from hyperspec can't find the same doc. I checked sbcl's code for describe function, which calls (describe-object) at some point. And calling (describe-object 'class1 nil) gives the correct information as well.
Is there a standard defined way to get the documentation defined for classes or slots?
For example, if I want to search for a text in every documentation in some package will I be using implementation specific functions?