conditional data and doc links