def setDoc(self, docs):
        """Sets the documentation to display

        :param docs: a list of the stimuli doc, which are dicts
        :type docs: list<dict>
        """
        # sort stim by start time
        docs = sorted(docs, key=lambda k: k['start_s'])

        for doc in docs:
            stim_type = doc['stim_type']
            if not stim_type in self.displayTable:
                continue
            if not stim_type in self.displayTable[stim_type]:
                continue
            display_attributes = self.displayTable.get(stim_type, self.defaultAttributes)
            
            self.lyt.addWidget(ComponentDetailFrame(doc, display_attributes))
Sets the documentation to display

        :param docs: a list of the stimuli doc, which are dicts
        :type docs: list<dict>