ExDocs: referencing hidden or deleted modules in CHANGELOG without "but it is hidden" warning?

I know I saw a post about this a while ago, but for the life of me I cannot find it. The annoying problem I have is when my CHANGELOG is included in the docs, but it includes references to modules that either no longer exist or which have @moduledoc false set. Running mix docs generates warnings like

warning: documentation references module "Foo" but it is hidden

What is the trick to fix this? Thanks in advance!

Found it in my notes! Add the following to your mix.exs’s docs() section:

skip_undefined_reference_warnings_on: ["CHANGELOG.md"]