The text for doc-footnote says it is only for use outside of doc-endnotes, but that was true prior to deprecating doc-endnote. It should be updated to allow anywhere, but note to see the doc-endnotes role for lists of notes.