Move metadata documentation to metadata method

This allows the documentation to show up in the correct place in the API
and guides sites.
Update History with 2.0.12 release