I think you want this to be `` :doc:`designing` ``, instead of `ref` - `ref` is used to link to specific places/sections, and here you're referring to a whole document.