Use of the term has extended to non-religious contexts, where an account or anecdote is said to be apocryphal if its authenticity is questionable (more often when the account's veracity is probably questionable). In recent years it has sometimes been used in the context of fiction.
These may include tie-in merchandise such as video games, novels and comics, which are sometimes termed 'Expanded Universes'.
Often these materials might contradict the continuity that has already been established by 'canon'. Even when no such contradictions occur, such materials may still be deemed apocrypha possibly because they might have been produced largely independently of the creator of the fictional universe. For example Joss Whedon, creator of the Buffyverse, has little involvement with the Buffyverse novels and has never read an entire novel, let alone closely overseen or edited one.
The Star Trek canon consists of the various Star Trek television series and movies. All the other Star Trek stories which have been licensed by Paramount (novels, comics..) are not part of canon, they are instead apocrypha. Fan fiction is classified as fanon.