Documentation: Explain how runtime macro evaluation order works.

Fixes #6010
Documentation: Fix DB category requirements.

Fixes #5485