Export the structural element a doc tag refers to

Fixes #35